[pkg-go] You are not allowed to push code to this project

Tong Sun pkgoyq.xpt at neverbox.com
Fri Jun 15 04:49:57 BST 2018


> > Overall, I know it is not hard for all your experienced go maintainers,
> > but some might have forgot how hard it was for the newcomers to pick
> > up. Well, I must stop complaining, and give up my "look before leap"
> > motto, and start cracking...
> Hope this helps a bit. Feel free to share notes: we could use this as a
> way to improve our documentation, at least.


Thank you Clément for your kind help.

After some extensive reading, I'm starting to build a very small package,
https://alioth-lists.debian.net/pipermail/pkg-go-maintainers/Week-of-Mon-20180611/021798.html
to get ready to pack my github.com/go-easygen/easygen.

Once thing I want to confirm first of all, is the package and git name.

- dh-make-golang calls my package golang-github-danverbraganza-varcaser,
but since it is only a lib, should I call it
golang-github-danverbraganza-varcaser-dev instead?
- if so, should the git name have that `-dev` as well?

I put `-dev` into my ITP message, but did not add `-dev` to git name. Was
that correct?

Now, When I try to do `gbp push`, I get `You are not allowed to push code
to this project` error:

---------------------------------
$ gbp push --verbose --debian-branch=debian/sid --dry-run
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/debian/sid']
gbp:debug: ['git', 'config', 'branch.debian/sid.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:info: Dry-run: Pushing upstream/0.0_git20151108.ce61ec4 to origin
gbp:debug: ['git', 'push', 'origin', 'tag',
'upstream/0.0_git20151108.ce61ec4', '--dry-run']
gbp:error: Error running git push: GitLab: You are not allowed to push code
to this project.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
gbp:info: Dry-run: Pushing refs/heads/upstream to origin:refs/heads/upstream
gbp:debug: ['git', 'push', 'origin', '--dry-run',
'refs/heads/upstream:refs/heads/upstream']
gbp:error: Error running git push: GitLab: You are not allowed to push code
to this project.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
gbp:error: Failed to push some refs.
---------------------------------

I check that the repository exists (I was able to create it beforehand) at
https://salsa.debian.org/go-team/packages/golang-github-danverbraganza-varcaser

So now it seems to me that my salsa account (suntong-guest) need to be
added to go-team, right? thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180614/e1e8fc02/attachment.html>


More information about the Pkg-go-maintainers mailing list