Hi,
I am packaging some of your software for Arch Linux. For that, I need to fetch the source tree I want to build. The problem is that there's no need to fetch the whole git repository to build a specific tag. As a solution, I propose that compressed files from every tag would be available, like GitHub releases. Please let me know if this is something you would consider doing.
Thanks, Filipe Laíns (FFY00) https://github.com/FFY00 3DCE 51D6 0930 EBA4 7858 BA41 46F6 33CB B0EB 4BF2
Sent via Migadu.com, world's easiest email hosting
You could use the git option to not download the whole history. (Can’t remember it’s name.)
William.
On May 26, 2018, at 2:47 PM, Filipe Laíns osmocom@lains.me wrote:
Hi,
I am packaging some of your software for Arch Linux. For that, I need to fetch the source tree I want to build. The problem is that there's no need to fetch the whole git repository to build a specific tag. As a solution, I propose that compressed files from every tag would be available, like GitHub releases. Please let me know if this is something you would consider doing.
Thanks, Filipe Laíns (FFY00) https://github.com/FFY00 3DCE 51D6 0930 EBA4 7858 BA41 46F6 33CB B0EB 4BF2 Sent via Migadu.com, world's easiest email hosting
It's called a shallow clone. You use `git clone --depth 1 <repository>`. If you need to "unshallow" the clone afterwards to get all the history, you can use `git pull --unshallow`
Hi Filipe,
please be a bit careful not to inadvertedly DDOS the OSMOCOM cgit server in case a lot of people want to build your recipe, but:
https://git.osmocom.org/osmo-fl2k/snapshot/osmo-fl2k-%%7Bgit_commit%7D.tar. gz
Best regards, Marcus
On Sat, 2018-05-26 at 19:47 +0100, Filipe Laíns wrote:
Hi,
I am packaging some of your software for Arch Linux. For that, I need to fetch the source tree I want to build. The problem is that there's no need to fetch the whole git repository to build a specific tag. As a solution, I propose that compressed files from every tag would be available, like GitHub releases. Please let me know if this is something you would consider doing.
Thanks, Filipe Laíns (FFY00) https://github.com/FFY00 3DCE 51D6 0930 EBA4 7858 BA41 46F6 33CB B0EB 4BF2 Sent via Migadu.com, world's easiest email hosting