Re: New here, NatTable repository push to master
Le 18/08/2019 à 20:56, Geert Stappers a écrit : > On Sun, Aug 18, 2019 at 11:12:43AM -0700, tony mancill wrote: >> On Sun, Aug 18, 2019 at 09:16:51AM +0200, Geert Stappers wrote: >>> On Sat, Aug 17, 2019 at 02:31:45PM +0200, Vincent Prat wrote: Le 17/08/2019 à 13:52, Geert Stappers a écrit : > On Sat, Aug 17, 2019 at 01:34:43PM +0200, Vincent Prat wrote: ... Now I get the following error when I try to push to master: remote: GitLab: You are not allowed to push code to protected branches on this project. >>> >>> Strange. According >>> https://salsa.debian.org/java-team/nattable/-/project_members?page=3 >>> has vivi-guest the developer privilege. >>> >>> I don't know how to fix this properly. >>> Here I need help from a team member. >>> >>> Pushes to other branches work. >>> >>> >>> That allows to create a branch like "helpneeded" or "vivimaster". >>> And work with that branch for the time being. >> Looking at the settings for Protected Branches [1], we have: >> >>> By default, protected branches are designed to: >>> >>> * prevent their creation, if not already created, from everybody except >>> Maintainers >>> * prevent pushes from everybody except Maintainers >>> * prevent anyone from force pushing to the branch >>> * prevent anyone from deleting the branch >> And for the master branch of nattable, on Maintainers are allowed to >> merge and push. >> >> Looking at the hierarchy of user permissions for gitlab [2,3], the issue >> is that Developer is not the same as Maintainer, and vivi-guest is >> configured as a Developer (as are others). >> >> As Geert suggests, pushing another branch and opening a merge request >> should work fine for now. >> >> The team can discuss what the default access level should be. > Current default access level are fine. > Fine for most cases. > > This case, vivi-guest requested the nattable repository, > he should be able work with it without the hurdle of merge requests. > > I have granted vivi-guest the maintainer role for nattable. It now works. Thanks. Best regards, Vincent
Re: New here, NatTable repository push to master
On Sun, Aug 18, 2019 at 11:12:43AM -0700, tony mancill wrote: > On Sun, Aug 18, 2019 at 09:16:51AM +0200, Geert Stappers wrote: > > On Sat, Aug 17, 2019 at 02:31:45PM +0200, Vincent Prat wrote: > > > Le 17/08/2019 à 13:52, Geert Stappers a écrit : > > > > On Sat, Aug 17, 2019 at 01:34:43PM +0200, Vincent Prat wrote: > > > ... > > > > > > Now I get the following error when I try to push to master: > > > > > > remote: GitLab: You are not allowed to push code to protected branches > > > on this project. > > > > > > > Strange. According > > https://salsa.debian.org/java-team/nattable/-/project_members?page=3 > > has vivi-guest the developer privilege. > > > > I don't know how to fix this properly. > > Here I need help from a team member. > > > > > > > Pushes to other branches work. > > > > > > That allows to create a branch like "helpneeded" or "vivimaster". > > And work with that branch for the time being. > > Looking at the settings for Protected Branches [1], we have: > > > By default, protected branches are designed to: > > > > * prevent their creation, if not already created, from everybody except > > Maintainers > > * prevent pushes from everybody except Maintainers > > * prevent anyone from force pushing to the branch > > * prevent anyone from deleting the branch > > And for the master branch of nattable, on Maintainers are allowed to > merge and push. > > Looking at the hierarchy of user permissions for gitlab [2,3], the issue > is that Developer is not the same as Maintainer, and vivi-guest is > configured as a Developer (as are others). > > As Geert suggests, pushing another branch and opening a merge request > should work fine for now. > > The team can discuss what the default access level should be. Current default access level are fine. Fine for most cases. This case, vivi-guest requested the nattable repository, he should be able work with it without the hurdle of merge requests. I have granted vivi-guest the maintainer role for nattable. Groeten Geert Stappers [1] https://salsa.debian.org/java-team/nattable/-/settings/repository [2] https://docs.gitlab.com/ee/development/permissions.html#members [3] https://docs.gitlab.com/ee/user/permissions.html -- Leven en laten leven
Re: New here, NatTable repository push to master
On Sun, Aug 18, 2019 at 09:16:51AM +0200, Geert Stappers wrote: > On Sat, Aug 17, 2019 at 02:31:45PM +0200, Vincent Prat wrote: > > Le 17/08/2019 à 13:52, Geert Stappers a écrit : > > > On Sat, Aug 17, 2019 at 01:34:43PM +0200, Vincent Prat wrote: > > ... > > > > Now I get the following error when I try to push to master: > > > > remote: GitLab: You are not allowed to push code to protected branches > > on this project. > > > > Strange. According > https://salsa.debian.org/java-team/nattable/-/project_members?page=3 > has vivi-guest the developer privilege. > > I don't know how to fix this properly. > Here I need help from a team member. > > > > Pushes to other branches work. > > > That allows to create a branch like "helpneeded" or "vivimaster". > And work with that branch for the time being. Looking at the settings for Protected Branches [1], we have: > By default, protected branches are designed to: > > * prevent their creation, if not already created, from everybody except > Maintainers > * prevent pushes from everybody except Maintainers > * prevent anyone from force pushing to the branch > * prevent anyone from deleting the branch And for the master branch of nattable, on Maintainers are allowed to merge and push. Looking at the hierarchy of user permissions for gitlab [2,3], the issue is that Developer is not the same as Maintainer, and vivi-guest is configured as a Developer (as are others). As Geert suggests, pushing another branch and opening a merge request should work fine for now. The team can discuss what the default access level should be. Cheers, tony [1] https://salsa.debian.org/java-team/nattable/-/settings/repository [2] https://docs.gitlab.com/ee/development/permissions.html#members [3] https://docs.gitlab.com/ee/user/permissions.html signature.asc Description: PGP signature
Re: New here, NatTable repository push to master
On Sat, Aug 17, 2019 at 02:31:45PM +0200, Vincent Prat wrote: > Le 17/08/2019 à 13:52, Geert Stappers a écrit : > > On Sat, Aug 17, 2019 at 01:34:43PM +0200, Vincent Prat wrote: > >> `git clone g...@salsa.debian.org:java-team/nattable.git` works, but > >> `git push` fails with the error > >> > >> remote: A default branch (e.g. master) does not yet exist for > >> java-team/nattable > >> remote: Ask a project Owner or Maintainer to create a default branch: > >> remote: > >> remote: https://salsa.debian.org/java-team/nattable/-/project_members > >> remote: > >> To salsa.debian.org:java-team/nattable.git > >> ! [remote rejected] master -> master (pre-receive hook declined) > >> > >> > > Added a README.md, Please retry. > > > > > > /me > > Currently on the road ( away from keyboard ) > > > > Now I get the following error when I try to push to master: > > remote: GitLab: You are not allowed to push code to protected branches > on this project. > Strange. According https://salsa.debian.org/java-team/nattable/-/project_members?page=3 has vivi-guest the developer privilege. I don't know how to fix this properly. Here I need help from a team member. > Pushes to other branches work. That allows to create a branch like "helpneeded" or "vivimaster". And work with that branch for the time being. Groeten Geert Stappers -- Leven en laten leven
Re: New here, NatTable repository push
Now I get the following error when I try to push to master: remote: GitLab: You are not allowed to push code to protected branches on this project. Pushes to other branches work. Le 17/08/2019 à 13:52, Geert Stappers a écrit : > On Sat, Aug 17, 2019 at 01:34:43PM +0200, Vincent Prat wrote: >> Hi, >>> You are welcome. >>> And very welcome to report write permission errors. >>> >> `git clone g...@salsa.debian.org:java-team/nattable.git` works, but >> `git push` fails with the error >> >> remote: A default branch (e.g. master) does not yet exist for >> java-team/nattable >> remote: Ask a project Owner or Maintainer to create a default branch: >> remote: >> remote: https://salsa.debian.org/java-team/nattable/-/project_members >> remote: >> To salsa.debian.org:java-team/nattable.git >> ! [remote rejected] master -> master (pre-receive hook declined) >> >> > Added a README.md, Please retry. > > > /me > Currently on the road ( away from keyboard ) > >
Re: New here, NatTable repository push
On Sat, Aug 17, 2019 at 01:34:43PM +0200, Vincent Prat wrote: > Hi, > > You are welcome. > > And very welcome to report write permission errors. > > > `git clone g...@salsa.debian.org:java-team/nattable.git` works, but > `git push` fails with the error > > remote: A default branch (e.g. master) does not yet exist for > java-team/nattable > remote: Ask a project Owner or Maintainer to create a default branch: > remote: > remote: https://salsa.debian.org/java-team/nattable/-/project_members > remote: > To salsa.debian.org:java-team/nattable.git > ! [remote rejected] master -> master (pre-receive hook declined) > > Added a README.md, Please retry. /me Currently on the road ( away from keyboard )
Re: New here, NatTable repository
Hi, > You are welcome. > And very welcome to report write permission errors. > > Just post something like > > | doing `git clone ..URL` went fine > | with `git push [...]` I get this error > | ... Indeed: `git clone g...@salsa.debian.org:java-team/nattable.git` works, but `git push` fails with the error remote: A default branch (e.g. master) does not yet exist for java-team/nattable remote: Ask a project Owner or Maintainer to create a default branch: remote: remote: https://salsa.debian.org/java-team/nattable/-/project_members remote: To salsa.debian.org:java-team/nattable.git ! [remote rejected] master -> master (pre-receive hook declined) Best regards, Vincent
Re: New here, NatTable repository
On Sat, Aug 17, 2019 at 11:27:50AM +0200, Vincent Prat wrote: > Le 16/08/2019 à 00:42, Geert Stappers a écrit : > > On Fri, Aug 16, 2019 at 12:29:18AM +0200, Vincent Prat wrote: > >> The piece of software I want to package is NatTable, which is needed for > >> the newest version of HDFView. > >> Is anyone willing to create the repository for me? > >> For information, you can find the ITP at > >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934793. > > > > There is now https://salsa.debian.org/java-team/nattable > > > > Hi Geert, Hi Mailinglist :-) > Thank you for the repository. You are welcome. And very welcome to report write permission errors. Just post something like | doing `git clone ..URL` went fine | with `git push [...]` I get this error | ... It is for preventing time lost on figuring out if the error is at your side or error at my side. Groeten Geert Stappers -- Leven en laten leven
Re: New here, NatTable
Hi Geert, Thank you for the repository. Best regards, Vincent Le 16/08/2019 à 00:42, Geert Stappers a écrit : > On Fri, Aug 16, 2019 at 12:29:18AM +0200, Vincent Prat wrote: >> Le 15/08/2019 à 14:31, Markus Koschany a écrit : >>> Welcome on board! I have granted you developer permissions >>> on salsa.debian.org. You should be able to modify any existing >>> packages but your future sponsor must create the repository for the >>> new dependency. >>> Cheers, >>> Markus >> The piece of software I want to package is NatTable, which is needed for >> the newest version of HDFView. >> Is anyone willing to create the repository for me? >> For information, you can find the ITP at >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934793. > > There is now https://salsa.debian.org/java-team/nattable > > > > > Groeten > Geert Stappers > In UTC+2, going to sleep > > P.S. > Happy Birthday
Re: New here, NatTable
On Fri, Aug 16, 2019 at 12:29:18AM +0200, Vincent Prat wrote: > Le 15/08/2019 à 14:31, Markus Koschany a écrit : > > Welcome on board! I have granted you developer permissions > > on salsa.debian.org. You should be able to modify any existing > > packages but your future sponsor must create the repository for the > > new dependency. > > Cheers, > > Markus > > The piece of software I want to package is NatTable, which is needed for > the newest version of HDFView. > Is anyone willing to create the repository for me? > For information, you can find the ITP at > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934793. There is now https://salsa.debian.org/java-team/nattable Groeten Geert Stappers In UTC+2, going to sleep P.S. Happy Birthday -- Leven en laten leven