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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

applying the patch

Scheduled Pinned Locked Moved Redmine
6 Posts 3 Posters 353 Views
    • 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 Offline
    A Offline
    admyun
    wrote on last edited by
    #1

    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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #2

    @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
    0
  • A Offline
    A Offline
    admyun
    replied to girish on last edited by
    #3

    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
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #4

    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 sky tech

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to robi on last edited by
    #5

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

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to girish on last edited by
    #6

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

    Life of sky tech

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.