Le jeudi 05 février 2015 23:18:30, Leif Gruenwoldt a écrit : > I happened to be playing around with this more today and I'm fairly certain > this isn't just a GitHub UI thing. I'm betting it's svn migration related. > After cloning a copy of the git repo I noticed the tags don't appear as > normal tags even from the command line. > > $ git clone https://github.com/OSGeo/gdal.git > > $ git tag > > Returns nothing, but I would expect to see the list of all tags. > > $ git branch -r | grep 1.4.1 > origin/tags/1.4.1 > > Ok so the "tag" for the 1.4.1 release as well as all other tags are showing > up as remote branches, weird. > > $ git checkout 1.4.1 > error: pathspec '1.4.1' did not match any file(s) known to git. > > That's what I expected, it doesn't see it as a normal tag, I wonder if I > can check it out with the remote branch name. > > $ git checkout origin/tags/1.4.1 > > Yup! > > $ git rev-parse HEAD > 184230238828f0f31aed7335e4c8443963437b66
The firefox thing was just a UI problem. It seems that tags are created as git branches and not as git tags and the name is "tags/1.4.1". Must come from the git-svn import configuration used. Looking at mapserver, I don't see a similar issue, so yes must be something with how git-svn was configured. Something to perhaps reconsider if we officially transition to git some day. > > > So at least I can work around this and checkout the tag using the remote > branch name instead. The SHA1 matches up with what I was expecting so > that's comforting. Something is definitely fishy though with the tags. I've > migrated CVS -> git but never svn -> git so I'm not sure if this is a known > issue. > > On Mon Oct 06 2014 at 1:20:35 PM Leif Gruenwoldt <lei...@gmail.com> wrote: > > Oh weird. > > > > I decided to go ahead and clone the gdal repo locally, but I don't see > > the tags there either. Maybe it's something to do with the svn -> git > > migration... > > > > Worst case I will use the git SHA1 > > (184230238828f0f31aed7335e4c8443963437b66) from the 1.4.1 github URL > > you shared for configuring my git submodule. > > > > On Mon, Oct 6, 2014 at 12:20 PM, Even Rouault > > > > <even.roua...@spatialys.com> wrote: > > > Le lundi 06 octobre 2014 18:08:22, Leif Gruenwoldt a écrit : > > >> I'm trying to add the gdal repo as a git submodule to one > > >> of my projects. My project requires a specific older revision of gdal > > >> (1.4.1) so I want to set the git submodule to that point in time, but > > > > it's > > > > >> hard to do that without the tags in the GitHub mirror. > > >> > > >> Can someone push the git tags to the gdal github mirror? > > > > > > It is already there (but it seems there's a UI problem with the github > > > > with > > > > > Firefox, at least my version. had to use Chrome to display > > > branches/tags) > > > > > > https://github.com/OSGeo/gdal/tree/tags/1.4.1 > > > > > >> https://github.com/OSGeo/gdal > > >> > > >> Cheers > > >> _______________________________________________ > > >> gdal-dev mailing list > > >> gdal-dev@lists.osgeo.org > > >> http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > > -- > > > Spatialys - Geospatial professional services > > > http://www.spatialys.com -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev