On Fri, Apr 10, 2020 at 4:59 PM Tong Sun <[email protected]> wrote: > > Hi, > > I'm working on my varcaser, which I just notice that its build failed -- > https://salsa.debian.org/go-team/packages/golang-github-danverbraganza-varcaser/-/jobs/114561 > > however, I've messed up my salsa repo that I think it is beyond repair. > > ----------------------------- > $ gbp import-orig --uscan > gbp:info: Launching uscan... > Cloning into bare repository > '../golang-github-danverbraganza-varcaser-temporary.27339.git'... > remote: Enumerating objects: 12, done. > remote: Counting objects: 100% (12/12), done. > remote: Compressing objects: 100% (11/11), done. > remote: Total 12 (delta 0), reused 4 (delta 0), pack-reused 0 > Unpacking objects: 100% (12/12), 8.10 KiB | 2.70 MiB/s, done. > uscan warn: No files matched excluded pattern as the last matching > glob: Godeps/_workspace > gbp:info: Using uscan downloaded tarball > ../golang-github-danverbraganza-varcaser_0.0~git20190207.e3fb03e.orig.tar.xz > gbp:info: Importing > '../golang-github-danverbraganza-varcaser_0.0~git20190207.e3fb03e.orig.tar.xz' > to branch 'upstream'... > gbp:info: Source package is golang-github-danverbraganza-varcaser > gbp:info: Upstream version is 0.0~git20190207.e3fb03e > Branch 'pristine-tar' set up to track remote branch 'pristine-tar' > from 'origin' by rebasing. > gbp:info: Replacing upstream source on 'master' > gbp:error: Import of > ../golang-github-danverbraganza-varcaser_0.0~git20190207.e3fb03e.orig.tar.xz > failed: Failed to ls-tree 'master^{tree}': 'fatal: Not a valid object > name master^{tree}' > gbp:error: Error detected, Will roll back changes. > gbp:info: Rolling back branch upstream by resetting it to > 7e452e0ced3e2c423262868ab3c9edcd6fd44015 > gbp:info: Rolling back branch 'pristine-tar' by deleting it > gbp:info: Rolling back tag 'upstream/0.0_git20190207.e3fb03e' by deleting it > gbp:info: Rolling back branch 'master' by deleting it > gbp:error: Rolled back changes after import error. > ----------------------------- > > > Even pushing my simple change of > > ----------------------------- > $ git log --oneline --decorate > 1adc785 (HEAD -> debian/sid) - [*] fixing d/watch for uscan direct git > downloading > 97225e3 (tag: debian/0.0_git20151108.ce61ec4-1, origin/master) - [!] > fix changelog, from sid to unstable > 7e452e0 (tag: 0.0_git20151108.ce61ec4, origin/upstream, upstream) - > [+] Initial packaging > 84512d7 Ignore quilt dir .pc via .gitignore > ----------------------------- > > I got > > ----------------------------- > To salsa.debian.org:go-team/packages/golang-github-danverbraganza-varcaser.git > ! [rejected] debian/sid -> debian/sid (non-fast-forward) > error: failed to push some refs to > '[email protected]:go-team/packages/golang-github-danverbraganza-varcaser.git' > hint: Updates were rejected because the tip of your current branch is behind > hint: its remote counterpart. Integrate the remote changes (e.g. > hint: 'git pull ...') before pushing again. > hint: See the 'Note about fast-forwards' in 'git push --help' for details. > ----------------------------- > > That being said, I managed to push a "corrected" one to my own place: > > https://salsa.debian.org/suntong-guest/golang-github-danverbraganza-varcaser/-/commits/debian/sid > > > What I'm asking is that, please take a look at my local repo, see if > there is any problem with it, and see if it is OK that I force push it > to the official repo.
Forgot to stress that, for now, it is only me that uses this golang-github-danverbraganza-varcaser package. > Thanks for your help!
