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

Re: Help to confirm the workflow for updating golang-github-zyedidia-pty



On Wed, Mar 15, 2023 at 5:59 PM Shengjing Zhu <zhsj@debian.org> wrote:
>
> On Wed, Mar 15, 2023 at 5:55 PM Bo YU <tsu.yubo@gmail.com> wrote:
> > How to understand this?
> > "“upstream” branch should contain upstream git history"
> >
> > But from my observation, both ways(upstream branch contains upstrream
> > git history
> > and it does not contain upstream git history) was accepted for go team.
>
> Which part confuses you? Do you try the `--upstream-vcs-tag` option
> and see its behavior?
>
First I fixed the d/watch[0] and then I try this but failed:
```
vimer@dev:~/build/rfs/packages/go/for_upload/new-pty$ gbp import-orig
--uscan --upstream-vcs-tag=v1.1.20
gbp:info: Launching uscan...
Newest version of golang-github-zyedidia-pty on remote site is 1.1.20,
local version is 1.1.1+git20180126.3036466
 => Newer package available from:
        => https://github.com/zyedidia/pty/archive/refs/tags/v1.1.20.tar.gz
Leaving ../golang-github-zyedidia-pty_1.1.20.orig.tar.gz where it
isgbp:info: Using uscan downloaded tarball
../golang-github-zyedidia-pty_1.1.20.orig.tar.gz
What is the upstream version? [1.1.20]
gbp:info: Importing '../golang-github-zyedidia-pty_1.1.20.orig.tar.gz'
to branch 'upstream'...
gbp:info: Source package is golang-github-zyedidia-pty
gbp:info: Upstream version is 1.1.20
gbp:error: Import of ../golang-github-zyedidia-pty_1.1.20.orig.tar.gz
failed: Can't find upstream vcs tag at 'v1.1.20'
```
>From man manual[1], the  `--upstream-vcs-tag` option should enable
upstream branch contains all upstream git history.
So the result without he options.is different.

[0]: https://salsa.debian.org/go-team/packages/golang-github-zyedidia-pty/-/blob/debian/sid/debian/watch
[1]: https://manpages.debian.org/testing/git-buildpackage/gbp-import-orig.1.en.html#upstream~3
> --
> Shengjing Zhu


Reply to: