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

    Unable to fork the Box project in git.cloudron.io

    Discuss
    source git
    5
    22
    391
    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 girish

      Hello,

      I was wanting to fork the Box project to be able to offer contributions, but the "fork" button that's normally in the upper left corner of the project is not there, but appears for other projects. Is the Box project protected possibly? How might I be able to offer contributions to the project?

      Dustin.

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        Good question, no clue why it's hidden for the box code alone.

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          Ah, I see why. This is because Merge Requests and Forks was disabled. In the past, we had few people submit big PRs and get upset when we it didn't align with what we wanted. It's best to let us know first if you are making big changes. I have enabled it now in any case.

          1 Reply Last reply Reply Quote 1
          • d19dotca
            d19dotca last edited by

            Thanks @girish! I forked it now successfully. Was going to change that text for the reboot message like was mentioned in the other thread, but I cannot for the life of me find that text anywhere in the Box project. Not sure why. I'll keep hunting tomorrow.

            --
            Dustin Dauncey
            www.d19.ca

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

              @d19dotca If you are on Linux working with the code, install ack-grep then do:

              cd /to/code/root/dir
              ack "Some Reboot Text Here For You"
              

              And it will spit out the file AND line it's in.

              --
              https://urgero.org
              ~ Professional Nerd. Freelance Programmer. ~

              d19dotca 1 Reply Last reply Reply Quote 1
              • d19dotca
                d19dotca @murgero last edited by

                @murgero I was just searching directly in the repository on the cloudron git app. I thought that’d be enough. I am relatively new to using git, so maybe searching that in GitLab isn’t enough. I’ll try downloading the repository and trying that. Thank you for that suggestion. 🙂

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply Reply Quote 1
                • girish
                  girish Staff last edited by

                  @d19dotca The box code is only the backend code. The frontend code is at https://git.cloudron.io/cloudron/dashboard

                  d19dotca 2 Replies Last reply Reply Quote 2
                  • d19dotca
                    d19dotca @girish last edited by

                    @girish oh I had no idea, nice to know now! Haha okay thank you, I appreciate that clarification. I’ll check it out.

                    --
                    Dustin Dauncey
                    www.d19.ca

                    1 Reply Last reply Reply Quote 1
                    • d19dotca
                      d19dotca @girish last edited by

                      @girish wait... is that correct? I get a 404 on that link.

                      --
                      Dustin Dauncey
                      www.d19.ca

                      d19dotca 1 Reply Last reply Reply Quote 0
                      • d19dotca
                        d19dotca @d19dotca last edited by

                        @girish That link still leads me to a 404, just FYI.

                        --
                        Dustin Dauncey
                        www.d19.ca

                        d19dotca 1 Reply Last reply Reply Quote 0
                        • d19dotca
                          d19dotca @d19dotca last edited by

                          @girish - Still looking to see if that Dashboard project is hidden or something because I get a 404 to it. Would love to be able to offer some work in it, but can't do it if I can't fork (or even find) it. 😉

                          --
                          Dustin Dauncey
                          www.d19.ca

                          1 Reply Last reply Reply Quote 0
                          • girish
                            girish Staff last edited by

                            @d19dotca Can you try again? AFAICT, the permissions are correct, I restarted gitlab now.

                            3cd17fcb-90f6-408a-a0ce-f9542d4dbdc2-image.png

                            1 Reply Last reply Reply Quote 0
                            • girish
                              girish Staff last edited by girish

                              Also, please sign the CLA if you haven't done so already before submitting any patches - https://cla.cloudron.io/

                              d19dotca 1 Reply Last reply Reply Quote 1
                              • d19dotca
                                d19dotca last edited by d19dotca

                                @girish No dice. 😞

                                4f461dc1-4406-4aef-9fae-f5aa93c2f9ee-image.png

                                --
                                Dustin Dauncey
                                www.d19.ca

                                d19dotca 1 Reply Last reply Reply Quote 0
                                • d19dotca
                                  d19dotca @d19dotca last edited by

                                  @girish - I think it's because the project visibility is set to "Internal", that's my guess anyways.

                                  --
                                  Dustin Dauncey
                                  www.d19.ca

                                  1 Reply Last reply Reply Quote 0
                                  • d19dotca
                                    d19dotca @girish last edited by

                                    @girish said in Unable to fork the Box project in git.cloudron.io:

                                    Also, please sign the CLA if you haven't done so already before submitting any patches - https://cla.cloudron.io/

                                    Just signed. 🙂

                                    --
                                    Dustin Dauncey
                                    www.d19.ca

                                    1 Reply Last reply Reply Quote 2
                                    • girish
                                      girish Staff last edited by girish

                                      @d19dotca I created a test user and tried to see the repo and I can see it. I made it Public instead of Internal now (my understanding is that Internal means if you are logged in you can see it). Maybe rel-login even?

                                      47e84e41-63bb-4bec-8fde-0f674fafea8f-image.png

                                      d19dotca 1 Reply Last reply Reply Quote 0
                                      • d19dotca
                                        d19dotca @girish last edited by

                                        @girish Ah I see it now! I suspect that internal thing was it. How does it look for Box if you compare, for example?

                                        --
                                        Dustin Dauncey
                                        www.d19.ca

                                        1 Reply Last reply Reply Quote 0
                                        • girish
                                          girish Staff last edited by

                                          Yeah, the box is set to Public. Not sure why the discrepancy but this was set a few years ago and has seen 100s of GitLab updates in the meantime. Anyway, thanks in advance for any contribution 🙂

                                          We don't have proper instruction for testing the UI but you can do this:

                                          • npm install
                                          • gulp develop --api-origin=https://my.domain.com

                                          This then runs a local dev server at localhost:4000 which you can use for testing.

                                          1 Reply Last reply Reply Quote 1
                                          • C
                                            cbeams last edited by

                                            I too am unable to fork either the box or dashboard projects. The fork button is available on both repositories, but unclickable. When I attempt to directly edit a file within the dashboard project, I am taken into the fork workflow, but then see the following error when actually trying to fork the project:

                                            b39c46a4-d376-4a4d-97bf-f41a8651983c-image.png

                                            When clicking "Try to fork again", I see:

                                            f44774f7-de30-4314-bc56-60fc10bd9756-image.png

                                            It appears that as a new user, I am unable to create any projects at all, and this is why I cannot fork. Indeed, if I return to the main GitLab dashboard and try to click "Create project", it is also unclickable:

                                            a895b76f-c3f9-448e-87c9-259ac7a37b59-image.png

                                            Could you see about tweaking the quotas for new users to make this possible? Note that I've just signed the CLA as well.

                                            The changes I'm going to propose are very minor, just some typo fixes. Thanks.

                                            nebulon 1 Reply Last reply Reply Quote 1
                                            • nebulon
                                              nebulon Staff @cbeams last edited by

                                              @cbeams welcome! I have adjusted the project limit for your account now.

                                              C 1 Reply Last reply Reply Quote 0
                                              • C
                                                cbeams @nebulon last edited by

                                                @nebulon Thanks, I've successfully submitted a merge request at https://git.cloudron.io/cloudron/dashboard/-/merge_requests/2.

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