Re: large files in git and Debian (Re: Bug#1127616: developers-reference: should document using git-debpush to upload)

2026-02-12 Thread Sean Whitton
Holger Levsen [12/Feb 11:29am GMT] wrote:
> dropping 23 people from cc: and the devref bug too...
>
> On Thu, Feb 12, 2026 at 10:53:37AM +, Ian Jackson wrote:
>> PICCA Frederic-Emmanuel writes ("Bug#1127616: developers-reference: should
>> document using git-debpush to upload"):
>> > Do we have a solution in order to deal with big files in the git history
>> > on salsa or dgit ?
>> > I think about science data set used for unit test programmes, 3D model,
>> > games assets etc...
>> With Salsa you can use git-annex or git-lfs.  Neither of those are
>> supported by dgit or tag2upload.  So, the short answer is "not
>> really, at the moment".
>
> that's true for dgit (and tag2upload) but Fred asked "on salsa *or* dgit",
> and surely it's possible with salsa and (git-annex or git-lfs) and well
> established upload tools like (dput, dput-ng or dupload).
>
> so yes, dealing with big files in git is entirely possible with Debian's
> tools. just not with some, uhem, newer ones.

(Fred has been using dgit for everything he can for maybe ten years, so
that's probably why Ian responded with the focus he did.)

-- 
Sean Whitton


signature.asc
Description: PGP signature


RE: large files in git and Debian (Re: Bug#1127616: developers-reference: should document using git-debpush to upload)

2026-02-12 Thread PICCA Frederic-Emmanuel
> that's true for dgit (and tag2upload) but Fred asked "on salsa *or* dgit",
> and surely it's possible with salsa and (git-annex or git-lfs) and well
> established upload tools like (dput, dput-ng or dupload).

My point is how do I know which file need to go  into git-annex or git-lfs when 
I just do a
Gbp import-orig --uscan or in my case

Gbp import-orig 

I do not know if this is an hypothetical case, but for now I use the 
autopkgtest and internet connection in order to download these big files during 
the tests.

I am not that happy with the fact that these test files are not  on the Debian 
infra...

> so yes, dealing with big files in git is entirely possible with Debian's
> tools. just not with some, uhem, newer ones.

What is considere a big file in the git world ?

Fred