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

Re: DEP-14: Default branch name 'debian/latest' objections?



Hi,

Am 25.01.25 um 19:33 schrieb Gioele Barabucci:
On 25/01/25 16:23, Rene Engelhard wrote:
I am maintaining a package which does only have debian/ in git, so gbp stuff does not really apply, but still.
Hi,

just for the record: gbp supports debian/-only repositories.

Just for the record, it does not.


> Just set `overlay = True` and `export_dir = ../build-area/` in debian/gbp.conf and gbp will work as expected.

rene@frodo:~/rene@frodo:~/Debian/Pakete/LibreOffice/libreoffice/libreoffice-25.2.0.3$ gbp buildpackage

gbp:error: /home/rene/Debian/Pakete/LibreOffice/libreoffice/libreoffice-25.2.0.3 is not a git repository


doing it in debian/:


rene@frodo:~/Debian/Pakete/LibreOffice/libreoffice/libreoffice-25.2.0.3/debian$ gbp buildpackage --git-ignore-new
gbp:error: Can't determine package type: Failed to read changelog: [Errno 2] No such file or directory: './debian/changelog'


See, for example: https://salsa.debian.org/debian/findutils
That is not a debian/-only repository, it has a README.md in  there and then a debian/ subdir.

debian/ only-repository here means that the content in debian/ is in git and debian is the git checkout.

(upstreams tarballs extracted + git checkout ... debian)


Here the example is (obviously) https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice


Regards,


Rene


Reply to: