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

Re: Why "New upstream version ..." commits in the upstream branch?



On Mon, Jun 13, 2022 at 5:11 AM Domenico Andreoli <cavok@debian.org> wrote:
>
> Dear DGPT,
>
> I see that dh-make-golang creates the `upstream` branch and an empty
> commit "New upstream version..." on it, eg. [0].
>
> What's the purpose of such empty commit? I can't find anything related
> in DEP-14 [1].
>
> I would expect that the upstream branch tracked the upstream repo
> without any change.

dh-make-golang just calls git-buildpackage[1], which is

gbp import-orig ../<source>_<ver>.tar.gz --upstream-vcs-tag=<ver>

[1] https://github.com/Debian/dh-make-golang/blob/52983fc8eecb1ab488d7efa28d0298b65317060a/make.go#L511

-- 
Shengjing Zhu


Reply to: