[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Include git commit id and git tree id in *.changes files when uploading?



On Fri, Dec 19, 2025 at 01:01:35PM +0100, Guillem Jover wrote:
>...
> Hmm, I think the code would also need to track the status/hashes of
> debian/patches/ and then check that these have not been modified
> between --before-build and --build, which might be a bit annoying.
>...

There are basically 3 options:
1. don't do it
2. if git is installed blindly add whatever it returns, knowing that it 
   will often be crap
3. give higher-level tools like git-buildpackage the ability to add it

I do not think dpkg trying to reverse-engineer the workflow and status 
of a git repository would be a sane option.

> Thanks,
> Guillem

cu
Adrian


Reply to: