Re: Unable to push to f2cl or merge requests

Erik Huelsmann <[email protected]>
Newsgroups gmane.lisp.common-lisp-net.devel
Message-ID <CACOoB6hqW6vSmSMJeYAsbDaZuGOFBCH39_cZ1FYw3US7rCqyvA@mail.gmail.com>
Hi Raymond,

On Sat, May 20, 2017 at 1:20 AM, Raymond Toy <[email protected]> wrote:

>
>
> On Fri, May 19, 2017 at 4:15 PM, Raymond Toy <[email protected]>
> wrote:
>
>> Yes, I'm sure making master no longer be a protected branch would work
>> (but not yet tested).
>>
>> However, I was more concerned by that fact that as Owner, I couldn't
>> commit to master. And why, as Owner, I couldn't even approve my own merge
>> request to master.
>>
>
> ​Maybe that's the problem. I'm owner and don't have Master (or Developer)
> permissions.  Can't seem to find anyway to give myself such permissions.  I
> do see that Fare has Developer access and there's a pulldown menu to allow
> me to change it (and set an  expiration date).​
>

This document (
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/permissions.md)
says that an owner should be able to do everything a developer can...

So, if you can't push or merge to your master branch, then I'd say that's a
bug.

Or maybe I'm misunderstanding your use-case or their documentation...


Regards,


Erik.


> I do see, now that Erik has made master no longer protected, I can now
>> merge my merge request.
>>
>> On Fri, May 19, 2017 at 11:32 AM, Erik Huelsmann <[email protected]>
>> wrote:
>>
>>>  Fri, May 19, 2017 at 8:30 PM, Erik Huelsmann <[email protected]> wrote:
>>>
>>>> Hi Raymond,
>>>>
>>>> For some reason 'master' was a protected branch. I've removed the
>>>> branch protection through the project
>>>>
>>> 's "Settings > Repository" page. There was a "Protect branch" heading,
>>> with a listing of currently protected branches below it.
>>>
>>>
>>> For any other projects with protected branches, doing the same should be
>>> the solution.
>>>
>>>
>>> Regards,
>>>
>>>
>>> Erik.
>>>
>>>
>>>
>>>
>>>>
>>>> On Fri, May 19, 2017 at 5:11 PM, Raymond Toy <[email protected]>
>>>> wrote:
>>>>
>>>>> I used to be able to push commits to the master branch all the time.
>>>>> But in the last month or two something has changed and when I try to push a
>>>>> change to master, I get the message:
>>>>>
>>>>> remote: GitLab: You are not allowed to push code to protected branches
>>>>> on this project.
>>>>> To common-lisp.net:f2cl/f2cl.git
>>>>>  ! [remote rejected] master -> master (pre-receive hook declined)
>>>>>
>>>>> ​I see that master is a protected branch. (I don't remember changing
>>>>> that or if it was always protected.)
>>>>>
>>>>> So I created a merge request
>>>>> <https://gitlab.common-lisp.net/f2cl/f2cl/merge_requests/3>​
>>>>> <https://gitlab.common-lisp.net/f2cl/f2cl/merge_requests/3> Now it
>>>>> says I have to go find someone with write access to merge the request.
>>>>> Oddly, just a month ago, I successfully merged the requests
>>>>> https://gitlab.common-lisp.net/f2cl/f2cl/merge_requests/2 and
>>>>> https://gitlab.common-lisp.net/f2cl/f2cl/merge_requests/1.
>>>>>
>>>>> As the owner, I would think I have enough rights both to push to the
>>>>> protected branch and to merge my own merge requests.
>>>>>
>>>>> Any ideas?
>>>>> <https://gitlab.common-lisp.net/f2cl/f2cl/merge_requests/3>
>>>>>
>>>>> --
>>>>> Ray
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Bye,
>>>>
>>>> Erik.
>>>>
>>>> http://efficito.com -- Hosted accounting and ERP.
>>>> Robust and Flexible. No vendor lock-in.
>>>>
>>>
>>>
>>>
>>> --
>>> Bye,
>>>
>>> Erik.
>>>
>>> http://efficito.com -- Hosted accounting and ERP.
>>> Robust and Flexible. No vendor lock-in.
>>>
>>
>>
>>
>> --
>> Ray
>>
>
>
>
> --
> Ray
>



-- 
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.