Issue with Salsa [ dh-runit ]

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with Salsa [ dh-runit ]

Lorenzo Puliti-2
Dear mentors,

Recently I've been given the access to Debian/dh-runit repository:
the version in git (2.8.14) lags behind compared to the package in the
archive (2.8.15),
but it looks that I can't push to the master branch 

> $ git push --follow-tags origin master:master
> Username for 'https://salsa.debian.org': Lorenzo.ru.g-guest
> Password for 'https://Lorenzo.ru.g-guest@...':
> Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
> remote: GitLab: You are not allowed to push code to protected branches
on this project.
> To https://salsa.debian.org/debian/dh-runit.git
> ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to
'https://salsa.debian.org/debian/dh-runit.git'

However I can push to a separate new branch
https://salsa.debian.org/debian/dh-runit/-/tree/release-2.8.15
Can Some DD pull from branch 'release-2.8.15' and push to the master
branch ?

Lorenzo

Reply | Threaded
Open this post in threaded view
|

Re: Issue with Salsa [ dh-runit ]

Kyle Robbertze-3
Hi,

On 2020/03/19 02:20, Lorenzo wrote:

> Dear mentors,
>
> Recently I've been given the access to Debian/dh-runit repository:
> the version in git (2.8.14) lags behind compared to the package in the
> archive (2.8.15),
> but it looks that I can't push to the master branch 
>
>> $ git push --follow-tags origin master:master
>> Username for 'https://salsa.debian.org': Lorenzo.ru.g-guest
>> Password for 'https://Lorenzo.ru.g-guest@...':
>> Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
>> remote: GitLab: You are not allowed to push code to protected branches
> on this project.
>> To https://salsa.debian.org/debian/dh-runit.git
>> ! [remote rejected] master -> master (pre-receive hook declined)
>> error: failed to push some refs to
> 'https://salsa.debian.org/debian/dh-runit.git'
>
> However I can push to a separate new branch
> https://salsa.debian.org/debian/dh-runit/-/tree/release-2.8.15
> Can Some DD pull from branch 'release-2.8.15' and push to the master
> branch ?

I have updated the branch protections. The default branch protections
limit pushing to master to maintainers, which doesn't make sense in this
case. I have updated it to allow pushing from maintainers and
developers. You should be able to push your changes now.

Cheers
Kyle

--

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Kyle Robbertze
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
⠈⠳⣄⠀⠀⠀⠀ https://wiki.debian.org/KyleRobbertze

Reply | Threaded
Open this post in threaded view
|

Re: Issue with Salsa [ dh-runit ]

Lorenzo Puliti-2

On 3/19/20 8:26 AM, Kyle Robbertze wrote:
> I have updated the branch protections. The default branch protections
> limit pushing to master to maintainers, which doesn't make sense in
> this case. I have updated it to allow pushing from maintainers and
> developers. You should be able to push your changes now.

Works now, thanks a lot
Lorenzo