From: Martin Burnicki <martin.burnicki@meinberg.de>
To: Mateja Maric <mail@matejamaric.com>
Cc: cgit@lists.zx2c4.com
Subject: Re: Download links for HEAD?
Date: Thu, 27 Aug 2020 14:40:51 +0200 [thread overview]
Message-ID: <c95176f0-bdb3-bf77-1338-71411393239c@meinberg.de> (raw)
In-Reply-To: <737c21f8-fb28-c041-fd3d-8e5964c21582@matejamaric.com>
Mateja Maric wrote:
> You also have download links at your commit page
> (https://git.meinbergglobal.com/example-code/gpsxmple.git/commit/):
>
> https://git.meinbergglobal.com/example-code/gpsxmple.git/snapshot/gpsxmple-master.zip
> https://git.meinbergglobal.com/example-code/gpsxmple.git/snapshot/gpsxmple-master.tar.gz
Ah, I wasn't aware of those links.
Thanks for your hint!
Martin
> On 8/27/20 1:23 PM, Martin Burnicki wrote:
>> Mateja Maric wrote:
>>> Checkout "snapshots" option in cgitrc manpage. You can have both .zip
>>> and .tar.gz. archives.
>> My cgitrc file already has a line
>>
>> snapshots=tar.gz zip
>>
>> and in fact, download links are available at the project page:
>> https://git.meinbergglobal.com/example-code/gpsxmple.git/
>>
>> However, download links are ONLY available for versions that have a tag
>> assigned. My question was if it was possible to have a download link
>> e.g. for the current HEAD revision, even if NO tag has been assigned.
>>
>> Martin
>>
>>
>>> 27 Aug 2020 12:44:50 Martin Burnicki <martin.burnicki@meinberg.de>:
>>>
>>>> Hi,
>>>>
>>>> I've recently started to use cgit, and there are a few projects on our
>>>> web page:
>>>> https://git.meinbergglobal.com/
>>>>
>>>> Beside the possibility that users can clone the repos, I'd
>>>> appreciate if
>>>> there was an easy way to download e.g. the current HEAD (or a specific
>>>> version ) as .zip or .tar.gz file, even if a version has no tag.
>>>>
>>>> This would make it much easier for users that aren't familiar with git
>>>> to download the latest code.
>>>>
>>>> For example, in this repo
>>>> https://git.meinbergglobal.com/example-code/gpsxmple.git/
>>>>
>>>> I've explicitly assigned a tag 'gpsxmple-current' to the latest commit
>>>> to make sure download links are listed. But of course, after a future
>>>> commit the tag had to be deleted and assign to the new commit.
>>>>
>>>> Is it not possible to download current HEAD as archive, or am I missing
>>>> something?
>>>>
>>>> Thanks for any suggestions,
>>>>
>>>> Martin
>>>> --
>>>> Martin Burnicki
>>>>
>>>> Senior Software Engineer
>>>>
>>>> MEINBERG Funkuhren GmbH & Co. KG
>>>> Email: martin.burnicki@meinberg.de
>>>> Phone: +49 5281 9309-414
>>>> Linkedin: https://www.linkedin.com/in/martinburnicki/
>>>>
>>>> Lange Wand 9, 31812 Bad Pyrmont, Germany
>>>> Amtsgericht Hannover 17HRA 100322
>>>> Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg,
>>>> Andre Hartmann, Heiko Gerstung
>>>> Websites: https://www.meinberg.de https://www.meinbergglobal.com
>>>> Training: https://www.meinberg.academy
>>>>
>>
--
Martin Burnicki
Senior Software Engineer
MEINBERG Funkuhren GmbH & Co. KG
Email: martin.burnicki@meinberg.de
Phone: +49 5281 9309-414
Linkedin: https://www.linkedin.com/in/martinburnicki/
Lange Wand 9, 31812 Bad Pyrmont, Germany
Amtsgericht Hannover 17HRA 100322
Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg,
Andre Hartmann, Heiko Gerstung
Websites: https://www.meinberg.de https://www.meinbergglobal.com
Training: https://www.meinberg.academy
prev parent reply other threads:[~2020-08-27 12:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 10:44 Martin Burnicki
2020-08-27 10:49 ` Mateja Maric
2020-08-27 11:23 ` Martin Burnicki
2020-08-27 11:51 ` Mateja Maric
2020-08-27 12:40 ` Martin Burnicki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c95176f0-bdb3-bf77-1338-71411393239c@meinberg.de \
--to=martin.burnicki@meinberg.de \
--cc=cgit@lists.zx2c4.com \
--cc=mail@matejamaric.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).