Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8294

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.4.0
    • 3.11.1
    • API - REST
    • None
    • Stash standalone server on Ubuntu Linux. Postgres backend DB.

    Description

      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.

      Attachments

        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

        Issue Links

          Activity

            People

              crolf Christian
              c4e367d8-e891-4679-a28d-475048fa375e Deleted Account (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: