[postgis-devel] Duplicate tags appearing in postgis git repo

Sandro Santilli strk at kbt.io
Thu May 18 13:00:41 PDT 2017


On Wed, May 17, 2017 at 04:29:37PM -0400, John Harvey wrote:

> Every tag seems to be duplicated, but with single-quotes around them.
> Example:
> 22140385fe341da6c7df020abc245efc00dba3c2 refs/tags/'2.3.2'
> 22140385fe341da6c7df020abc245efc00dba3c2 refs/tags/2.3.2

Thanks for the report. Problem fixed with this change:

    https://git.osgeo.org/gogs/postgis/repository-sync-scripts/commit/ae8f95154311e9a5e6df8a7517f33615a032117d

And mess cleaned up with this:

  git remote | while read remote; do
    git ls-remote --tags $remote | grep "'" |
        awk '{print $2}' | sed 's/^/:/' | tr -s '\n' '\0' |
        xargs -0 git push $remote;
  done

Let me know if you find any other issue with the
[CodeMirrors](http://trac.osgeo.org/postgis/wiki/CodeMirrors)

--strk;



More information about the postgis-devel mailing list