UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How do I submit a fix for an issue to gitlab?

    Scheduled Pinned Locked Moved New Contributors
    4 Posts 3 Posters 25 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • J Offline
        janmp
        last edited by

        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.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @janmp
          last edited by

          @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!

          1 Reply Last reply Reply Quote 1
          • ikozI Offline
            ikoz
            last edited by

            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.

            May the source be with you

            1 Reply Last reply Reply Quote 1
            • J Offline
              janmp
              last edited by

              Wow, thanks a lot for the quick help! The merge request is up now.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post