{"thread":{"id":"42486","subject":"Gitweb: Persistant download URLs for snapshots?","startedAt":"2016-05-30T14:12:53Z","lastAt":"2016-05-30T14:12:53Z","messageCount":1,"participants":["Timo Sigurdsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"287822","messageId":"20160530141253.AB7586C80ABB@dd34104.kasserver.com","threadId":"42486","inReplyTo":null,"subject":"Gitweb: Persistant download URLs for snapshots?","fromName":"Timo Sigurdsson","fromEmail":"public_timo.s@silentcreek.de","sentAt":"2016-05-30T14:12:53Z","receivedAt":"2016-05-30T14:12:53Z","isPatch":false,"sender":{"key":"public_timo.s@silentcreek.de","avatar":null},"body":"Hi,\n\nI hope this is the right place to ask this, but I wanted to know whether it is possible to have a persistant URL to obtain a snapshot of the latest master of a repository through Gitweb.\n\nI set up a gitweb instance and it works nicely. I can click on the snapshot link to get a tgz archive of a specific commit hash to quickly receive or distribute files of a repository exposed by Gitweb. However, I have two problems with these links:\n\n1) The link seems to depend on a commit hash. I haven't found a shorter or persitant link that would e.g. always give me the latest master snapshot.\n\n2) Another issue which is actually more problematic: The links only seem to work interactively in my desktop browser. If I right click the link \"snapshot\", copy the URL and then try to download that link from another (headless) machine using wget, I end up getting a html file instead of a tgz archive.\n\nIs it possible to generate such links that conssitantly work for the latest commit of a repository and that work non-interactively from a command line? Am I doing something wrong (well aside fromt he possibility that I'm trying to use gitweb for something which it might not have been designed for...)?\n\nThank you!\n\nKind regards,\n\nTimo\n"}]}