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

    applying the patch

    Redmine
    3
    6
    328
    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.
    • A
      admyun last edited by

      Hello, many small changes to redmine system are distributed via so called patches.
      is it possible to apply such a patch to Cloudron instance?

      the patch is usually applied by running patch command in the folder which is located in app/code/ - which is unfortunately a read-only area for us.
      can we have maybe a folder, same way like we have for plugins, where these patch files could be copied into and applied somehow?

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

        @admyun Interesting, I wasn't aware of such a system. Are these usually bugs/features/tweaks that will come in a future release or never will be merged upstream?

        The /app/code is readonly at runtime, so one cannot apply patches at runtime either. So, we have to think of some other solution.

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

          Hello, im not so aware of ruby and way how things are processed in redmine db so I cannot really correctly reply, but you can easily get details when googling the redmine forum. To my understanding the patches are some sort of code pieces which allows to change how db data are processed for redmine frontend, it can add things on-the-fly, and allow to modify and customize or even provide additional function without need to ad more DB tables. I see them like an alternative to classic database view tables definitions.
          It would be great if you could look into it and see how to make it applicable in cloudron as well

          1 Reply Last reply Reply Quote 0
          • robi
            robi last edited by

            perhaps if it can be triggered at every start to check an /app/data/... location for such patches and apply them during start?

            Life of Advanced Technology

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

              @robi the code is readonly at runtime, so not sure how we cannot apply patches on startup.

              I think we have to investigate more on what these patches are before fixing the package. If this is just arbitrary user patches, I am afraid we cannot support it since such things don't work well with our update model. Obviously, one can build their own custom redmine package if they desire such patches.

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

                @girish patches to me sound like live updates while running, hence reading from elsewhere and updating the running stack in memory.

                Life of Advanced Technology

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