#1077890 clone: allow to track upstream metainfo for overlay style packages too

Package:
git-buildpackage
Source:
git-buildpackage
Submitter:
Evangelos Ribeiro Tzaras
Date:
2024-08-04 06:54:05 UTC
Severity:
normal
Tags:
#1077890#5
Date:
2024-08-04 04:28:39 UTC
From:
To:
Dear Maintainer,

when trying to clone libreoffice no upstream metadata was found,
because it lives in upstream/metadata (not debian/upstream/metadata).

$ gbp clone --add-upstream-vcs vcs-git:libreoffice
gbp:info: Cloning from
'https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git'
gbp:warning: No upstream metadata, can't track upstream repo


I've attached a small patch that would make gbp look for the metadata
in this other location.

Thanks for maintaining git-buildpackage!

#1077890#10
Date:
2024-08-04 06:49:03 UTC
From:
To:
control: retitle -1 clone: allow to track upstream metainfo for overlay style packages too

Thanks. That's because LO tracks only debian/ so it's kind of standard
for debian/ only packaging.

Could you make it that this only happens when there's a no `debian/`
folder? Also feel free to use `path.Path`.

Cheers,
 -- Guido