Git tags created in API not visible until _after_ another tag is pushed from a git client.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 4.4.0
    • Affects Version/s: 3.11.1
    • Component/s: API - REST
    • None
    • Environment:

      Stash standalone server on Ubuntu Linux. Postgres backend DB.

      Hi!

      So, I'm pushing tags to Stash using the REST API, and I'm running into a little problem.

      Let's say I have a repository with a bunch of commits (see screenshot 1) and I run my script repeatedly to create tags (see screenshot 2). The tags will show in the git log, and appear in the branch/tag dropdown, as well as the "network" plugin we use for branching history visualization, but do not appear in the commit history (see screenshot 3.)

      However, if I then create another tag and push it (see screenshot 4) all the previously created tags will become visible immediately. (see screenshot 5.)

      I have also determined that the "magic button" is ONLY a git tag push - just pushing any old commit to the repository will not refresh the tags the same way.

      I couldn't find any similar bugs in your jira db... so... um... sorry if this is a duplicate and/or has been fixed in a newer version.

        1. 1.PNG
          1.PNG
          64 kB
        2. 2.PNG
          2.PNG
          33 kB
        3. 3.PNG
          3.PNG
          63 kB
        4. 4.PNG
          4.PNG
          14 kB
        5. 5.PNG
          5.PNG
          62 kB

            Assignee:
            Christian
            Reporter:
            Deleted Account (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: