[gdal-dev] Trac to GitHub

Even Rouault even.rouault at spatialys.com
Thu Mar 22 09:17:28 PDT 2018


Hi,

I've prototyped what should be the new repository (baring any new commits in the meantime) and
put it temporarily at https://github.com/rouault/gdal_wip

You can check if branches, tags etc look good. I've removed a few useless branches and tags.
Branches are named release/{major}.{minor} and tags v{major}.{minor}.{micro}

The procedure I applied:

git clone --mirror git://github.com/OSGeo/gdal.git gdal/.git
cd gdal
git config --unset core.bare
git config receive.denyCurrentBranch updateInstead
git branch -D asi-20021114-branch
git branch -D asi-20030922-branch 
git branch -D asi-rel-1-6-patches 
git branch -D SRRefCount 
git branch -D tags/asi-rel-1-6
git branch -D tags/asi-rel-1-82
git branch -D tags/1.11.0beta1
git branch -D tags/1.11.1 at 27202
git branch -D tags/1.11.1 at 27733
git branch -D tags/1.11.4 at 27202
git branch -D tags/1.11.4 at 33077
git branch -D tags/1.11beta1
git branch -m trunk master
git reset --hard HEAD
git checkout master
git filter-branch --msg-filter 'python /home/even/gdal/historyrewrite/rewrite.py' -- --all
for i in `git branch | grep tags | grep gdal_ | sed "s/  tags\///"`; do j=`echo v$i | sed "s/gdal_//" | sed "s/_/./g"`; git checkout tags/$i; git tag -a $j -m "Create tag $j"; done
git checkout master
for i in `git branch | grep tags | grep -v gdal_ | sed "s/  tags\///"`; do j="v$i"; git checkout tags/$i; git tag -a $j -m "Create tag $j"; done
git checkout master
for i in `git branch | grep tags | sed "s/  tags\///"`; do git branch -D tags/$i; done
for i in `git branch | grep "\." | sed "s/  //"`; do git branch -m $i "release/$i"; done
git branch -m "release/1.4-esri" "vendor/1.4-esri"


git push gdal_wip --all
git push gdal_wip --tags

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list