File name when downloading a tag

Jérôme Berger avatarJérôme Berger created an issue

When downloading a tag as a .tar.gz, .tar.bz2 or .zip archive, the file is named: "user-repository-hash.*", same as when downloading a snapshot referred by hash. It would be nice if the archive (and the included folder) was named "user-repository-tag.*".

For example, when downloading https://bitbucket.org/jmb/cseh/get/1.2.0.tar.gz the file is named "jmb-cseh-ad591c014a9e.tar.gz" but I would prefer to get "jmb-cseh-1.2.0.tar.gz".

Comments (1)

  1. Erik van Zijst

    Hi Jérôme,

    What you're describing is how Bitbucket worked up until about a month ago, when we inadvertently changed it (and broke people's scripts that relied on that filename pattern).

    We now find ourselves in a difficult situation. Changing it back will once more break it for people en so for now we're going to stick with what we have. Should we decide to change it again in the future, we'll properly announce it.

    Erik

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.