[pkg-go] Fwd: Code review: golang-github-danverbraganza-varcaser

Tong Sun pkgoyq.xpt at neverbox.com
Sun Jul 1 14:40:49 BST 2018


Hi,

Can anyone delete the
https://salsa.debian.org/go-team/packages/golang-github-danverbraganza-varcaser
repo for me please?

I'm repacking it using the suggested workflow afresh. Details enclosed
below. Thx.

---------- Forwarded message ---------
From: Tong Sun
Date: Sat, Jun 30, 2018 at 3:24 PM
Subject: Re: Code review: golang-github-danverbraganza-varcaser
To: Anthony Fok <foka at debian.org>


On Mon, Jun 25, 2018 at 1:28 PM Anthony Fok wrote:

>
> > Moreover, I'm thinking to repack this module from scratch again as
> > well, following the old workflow only too, after my second package.
> > Do you think it'll be a big deal if I **force** push my git, so that
> >
> https://salsa.debian.org/go-team/packages/golang-github-danverbraganza-varcaser
> > contains *only* a *clean* history of old workflow?
>
> I knew you'd have to do a force push sooner or later, so I already
> made the necessary changes on Salsa a few days ago.  ;-)
>
> The various branches on Debian Salsa are normally protected from
> forced push, but I have already unprotected the upstream and debian/*
> branches at
> https://salsa.debian.org/go-team/packages/golang-github-danverbraganza-varcaser
> ,
> so feel free to re-push them as necessary.
>

So I repack it from scratch again as I can't make the new workflow works
(ref the previous email).
However, when it comes to force pushing, here is what I get:

$ gbp push --verbose
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/master']
gbp:debug: ['git', 'config', 'branch.master.remote']
gbp:debug: ['git', 'tag', '-l', 'debian/0.0_git20151108.ce61ec4-1']
gbp:debug: ['git', 'tag', '-l', 'upstream/0.0_git20151108.ce61ec4']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
'upstream/0.0_git20151108.ce61ec4^{commit}']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
'refs/heads/upstream']
gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar']
gbp:debug: ['git', 'log', '--pretty=format:%H', '--grep=pristine-tar .*
golang-github-danverbraganza-varcaser_0.0~git20151108.ce61ec4.orig.tar.*',
'pristine-tar', '--']
gbp:debug: Found pristine-tar commit at
'd7a6fcc6da39967be98fafef483870f0c8210ca3'
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
'd7a6fcc6da39967be98fafef483870f0c8210ca3^{commit}']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify',
'refs/heads/pristine-tar']
gbp:info: Pushing upstream/0.0_git20151108.ce61ec4 to origin
gbp:debug: ['git', 'push', 'origin', 'tag',
'upstream/0.0_git20151108.ce61ec4']
gbp:error: Error running git push: To salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git
 ! [rejected]        upstream/0.0_git20151108.ce61ec4 ->
upstream/0.0_git20151108.ce61ec4 (already exists)
error: failed to push some refs to 'git at salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git'
hint: Updates were rejected because the tag already exists in the remote.
gbp:info: Pushing refs/heads/upstream to origin:refs/heads/upstream
gbp:debug: ['git', 'push', 'origin',
'refs/heads/upstream:refs/heads/upstream']
gbp:error: Error running git push: To salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git
 ! [rejected]        upstream -> upstream (fetch first)
error: failed to push some refs to 'git at salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
gbp:info: Pushing refs/heads/pristine-tar to origin:refs/heads/pristine-tar
gbp:debug: ['git', 'push', 'origin',
'refs/heads/pristine-tar:refs/heads/pristine-tar']
gbp:error: Failed to push some refs.

$  git push -u --all -v --force
Pushing to git at salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git
Counting objects: 30, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (22/22), done.
Writing objects: 100% (30/30), 10.85 KiB | 0 bytes/s, done.
Total 30 (delta 1), reused 0 (delta 0)
remote: GitLab: You are not allowed to force push code to a protected
branch on this project.
To salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git
 = [up to date]      pristine-tar -> pristine-tar
 ! [remote rejected] upstream -> upstream (pre-receive hook declined)
 ! [remote rejected] master -> master (pre-receive hook declined)
Branch pristine-tar set up to track remote branch pristine-tar from origin
by rebasing.
error: failed to push some refs to 'git at salsa.debian.org:
go-team/packages/golang-github-danverbraganza-varcaser.git'

Can you just simply remove that salsa.debian repo, and I'll redo

*dh-make-golang create-salsa-project golang-github-danverbraganza-varcaser*
I think that might be the simplest solution.

thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180701/808bcf3d/attachment.html>


More information about the Pkg-go-maintainers mailing list