Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How to update my project on git.cloudron.io with master it was forked from

    App Packaging & Development
    2
    3
    150
    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.
    • d19dotca
      d19dotca last edited by d19dotca

      Hello,

      Stupid question, I'm not used to GitLab UI, but trying to find a way to keep my project/fork from the official Cloudron project updated to the latest changes in the CLoudron version, but can't find a way to do that for some reason. I can see how to make merge requests for Cloudron team to pull into their package which has been done before, but can't find a way to go in the opposite direction to keep mine in sync with the upstream project.

      Am I just totally missing it? Is there a permission needed on my account to do that? Is the only way for me to delete my fork and make a new fork from the original project? Tried searching online for an answer but couldn't find one either for some reason.

      I guess git commands on the command line will work okay though?

      In my example, had made some changes to the WordPress Managed app a while back in a fork I made (just a simple text change that @girish then approved in the official app), but trying to get mine back up to date with the Cloudron-maintained one and can't seem to.

      Would appreciate some help for my newbie question. haha.

      --
      Dustin Dauncey
      www.d19.ca

      fbartels 1 Reply Last reply Reply Quote 1
      • fbartels
        fbartels App Dev @d19dotca last edited by

        One of the (few) benefits of Bitbucket is that it offers an option for (for syncing) where it automatically pulls in changes from the master branch. Maybe there is something similar in Gitlab as well?

        @d19dotca said in How to update my project on git.cloudron.io with master it was forked from:

        I guess git commands on the command line will work okay though?

        That would be my recommendation. Add the original repo as a remote and then pull in changes from that. e.g.

        cd your-wordpress-checkout
        git remote add upstream https://git.cloudron.io/cloudron/wordpress-app.git
        git pull --rebase upstream master
        d19dotca 1 Reply Last reply Reply Quote 4
        • d19dotca
          d19dotca @fbartels last edited by

          @fbartels Okay I'll try that then, thanks man.

          Disappointed that GitLab doesn't seem to have a way to do that as other Git servers do, but oh well.

          I'll try with the CLI part then. Thanks again. 🙂

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB