Re: Still unable to push to nautilus gitlab



This is solved.
The reason for the problem is in the origin remote.
Thus far I have used different push to fetch url since my machine is quite slow.
origin    git://git.gnome.org/nautilus (fetch)
origin    ssh://al_shopov git gnome org/git/nautilus (push)
It seems that when the fetch url is not working you cannot push which on hind sight seems logical as you need to resync in order to have proper history.
I just did:
git remote set-url origin ssh://al_shopov git gnome org/git/nautilus
And I could push just fine.

Kind regards:
al_shopov


На ср, 6.09.2017 г. в 18:17 Carlos Soriano <csoriano gnome org> написа:
Hey Alexander,

Not sure why this happened to you, you don't need any changes to continue contributing to Nautilus since the repos are redirected. I can see in your output you have a mix of remotes and some bad set up ones.

If you need help, join #sysadmin in irc.gnome.org and we can help there to set up your remotes properly.

Best
--
Carlos Soriano
Treasurer, Board of Directors

On Wed, Sep 6, 2017 at 5:09 PM, Alexander Shopov <lists kambanaria org> wrote:
Hi all,
I am still not able to merge the updated Bulgarian translation of nautilus.

cd GNOME/nautilus; git remote -vv
https    https://gitlab.gnome.org/GNOME/nautilus.git (fetch)
https    https://gitlab.gnome.org/GNOME/nautilus.git (push)
origin    git://git.gnome.org/nautilus (fetch)
origin    ssh://al_shopov git gnome org/git/nautilus (push)
ssh    git gitlab gnome org:GNOME/
nautilus.git (fetch)
ssh    git gitlab gnome org:GNOME/
nautilus.git (push)

git push origin
says the repo does not exist

git push ssh
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.


git push https
Username for 'https://gitlab.gnome.org': al_shopov
Password for 'https://al_shopov gitlab gnome org':    # Paste the https://gitlab.gnome.org/profile/personal_access_tokens token here
remote: You are not allowed to push code to this project.
fatal: unable to access 'https://gitlab.gnome.org/GNOME/nautilus.git/': The requested URL returned error: 403


What am I missing to get rights to push?

Kind regards:
al_shopov



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]