Help with a merge request on invent.kde.org

Hi everybody! I’m trying to get a merge request in that would add holidays file for Philippines to the project. I have an account there already but apparently I don’t have permissions to post merge requests.

Unfortunately, your email message to GitLab could not be processed.

You are not allowed to perform this action. If you believe this is in error, contact a staff member.

I’ve also opened a bug report 487468. I would appreciate any help with this.
Thanks in advance.

How have you been trying to open the merge request?
Usually you would fork the repository, push a new branch with git and then create a merge request for it on GitLab.

1 Like

Through the “Email a new merge request to the project” found on invent. kde. org/frameworks/kholidays/-/merge_requests

I’ll see what I can do about forking the repository, thanks for the pointer.

There is a guide for this in case you need some help:
https://community.kde.org/Infrastructure/GitLab#Submitting_a_merge_request

1 Like

Excellent, just the kind of resource I was looking for. Much appreciated.

I’ve tried following the provided guide, but I’m getting an error when I try to ‘push’ my ‘fork’ (whoever came up with these names?)

~/Projects/kholidays ▶ git push fork Philippines-2024
Username for 'https://invent.kde.org': pmargeti
Password for 'https://pmargeti@invent.kde.org': 
remote: You are not allowed to push code to this project.
fatal: unable to access 'https://invent.kde.org/frameworks/kholidays.git/': The requested URL returned error: 403

My understanding of error 403 is access to the requested resource is forbidden so I guess I really don’t have a way to do this on my own.
If there is anybody with merge access, please take a look at bug 487468.
Thanks

For some reason you are pushing to the main repository instead of your fork, maybe you added the wrong remote URL?

2 Likes

Probably. Fix it with git remote set-url fork [the URL of your fork, not the main repo]

2 Likes

That was it, thanks so much. I’ve managed to open a merge request now.

1 Like