Am 13.10.25 um 14:10 schrieb Colin Watson:
A fresh clone now _almost_ works, but you may have to argue with
.gitattributes; I couldn't think of anything I could do about that. I
found that the following procedure worked, though:
$ git clone
https://salsa.debian.org/python-team/packages/python-odmantic.git
Cloning into 'python-odmantic'...
remote: Enumerating objects: 360, done.
remote: Counting objects: 100% (360/360), done.
remote: Compressing objects: 100% (292/292), done.
remote: Total 360 (delta 76), reused 306 (delta 44), pack-reused 0 (from 0)
Receiving objects: 100% (360/360), 259.07 KiB | 470.00 KiB/s, done.
Resolving deltas: 100% (76/76), done.
Encountered 1 file that should have been a pointer, but wasn't:
docs/img/usage_fastapi_swagger.png
$ cd python-odmantic/
$ dgit setup-gitattributes
$ git restore .
The repository has a file debian/README.source that explains how the
whole thing is handled. Kathara and I followed the suggested way to work
with gbp within the DPT and it works always flawless.
Kathara and I always did start with archives from GitHub based on the
tags, so no, it's not was made by some git checkout. Never.
I haven't any special setup to handle a file .gitattributes and I also
don't encounter the problems you try to solve.
Here is and always was that file a "normal" file.
It seems also to me you mixing up two potential issues, one is the bug
report was about and another is the problems you see around git usage.
I also don't understand really why now a hectically work on this package
is needed. Rom wasn't build in a day!
Why not talk to the people first that did the previous work?
--
Regards
Carsten