How do I submit a fix for an issue to gitlab?
-
Sorry if I missed it somewhere, but I wanted to start contributing and tried to look for easy to start issues and got stuck on sending it to gitlab.
The issue is this one from the calculator app: https://gitlab.com/ubports/development/apps/lomiri-calculator-app/-/issues/25
I have a commit locally. I tried to publish branch from git, push the commit and mail through the link in 'merge requests' section in gitlab. I can't find what I should do to send this change for review. If you have a moment please help.
-
@janmp You can probably find an article or documentation on the basics of this with git in general or in sites/platforms like GitHub and GitLab.
But basically what you need to do is to go to the repo of the one you want to contribute to and click the
Fork
button. That copies the whole repo to your own account and that's where you need to do the changes you need. You can either setup SSH so you can work locally or use the web IDE they offer so you can do the changes in the browser. Once you commit your changes, you'll be automatically offered to create a new PR/MR and that should target the original repo you're contributing to.There's a lot more nuances in the process so it's better you read some docs about this. It's not specific to Ubports or Ubuntu Touch so there's plenty our there
Good luck!
-
Did you fork the repo? If yes, you can push your commit to your copy. Then go to the gitlab ui and make a merge request (there should be a blue button to do that right after you push your commit).
You can also search for how to open a merge request in gitlab documentation and your favourite search engine. -
Wow, thanks a lot for the quick help! The merge request is up now.