* Download links for HEAD?
@ 2020-08-27 10:44 Martin Burnicki
2020-08-27 10:49 ` Mateja Maric
0 siblings, 1 reply; 5+ messages in thread
From: Martin Burnicki @ 2020-08-27 10:44 UTC (permalink / raw)
To: cgit
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Download links for HEAD?
2020-08-27 10:44 Download links for HEAD? Martin Burnicki
@ 2020-08-27 10:49 ` Mateja Maric
2020-08-27 11:23 ` Martin Burnicki
0 siblings, 1 reply; 5+ messages in thread
From: Mateja Maric @ 2020-08-27 10:49 UTC (permalink / raw)
To: Martin Burnicki; +Cc: cgit
Checkout "snapshots" option in cgitrc manpage. You can have both .zip and .tar.gz. archives.
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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Download links for HEAD?
2020-08-27 10:49 ` Mateja Maric
@ 2020-08-27 11:23 ` Martin Burnicki
2020-08-27 11:51 ` Mateja Maric
0 siblings, 1 reply; 5+ messages in thread
From: Martin Burnicki @ 2020-08-27 11:23 UTC (permalink / raw)
To: Mateja Maric; +Cc: cgit
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Download links for HEAD?
2020-08-27 11:23 ` Martin Burnicki
@ 2020-08-27 11:51 ` Mateja Maric
2020-08-27 12:40 ` Martin Burnicki
0 siblings, 1 reply; 5+ messages in thread
From: Mateja Maric @ 2020-08-27 11:51 UTC (permalink / raw)
To: Martin Burnicki; +Cc: cgit
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
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
>>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Download links for HEAD?
2020-08-27 11:51 ` Mateja Maric
@ 2020-08-27 12:40 ` Martin Burnicki
0 siblings, 0 replies; 5+ messages in thread
From: Martin Burnicki @ 2020-08-27 12:40 UTC (permalink / raw)
To: Mateja Maric; +Cc: cgit
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-08-27 12:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 10:44 Download links for HEAD? 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 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).