Commit Graph

18 Commits

Author SHA1 Message Date
Harald Welte 151cd681f2 redmine: run 'apt upgrade' in Dockerfile to get glibc fix from Debian
https://lwn.net/ml/oss-security/20231003175031.GA16924@localhost.localdomain/

Change-Id: Ice5c5e86cd519446fc59c09d64b20836f998d384
2023-11-06 17:16:01 +01:00
Oliver Smith 1a47384d81 redmine: fix auto-scan of repositories
While inspecting the running docker container I found that the script
already runs as redmine user. I had assumed that it runs as root
earlier. Running 'su' as redmine user fails, therefore it currently does
not run the fetch_changesets command.

Related: OS#6083
Change-Id: I195311b93868eb5fd73ad6e3c165d48f3b7b53ce
2023-07-05 12:11:02 +02:00
Oliver Smith 38f7fcb265 */.release: remove
These files are in .gitignore and get generated at the end of running
'make'. Remove them to have less cluttered 'git grep' output.

Change-Id: Ie5bf05220359ac0941f62cc86ed843363548784a
2022-07-06 12:36:26 +02:00
Oliver Smith 440e62b9aa redmine: process changelogs every 10 minutes
Wrap the original entrypoint script with a custom one that also runs a
loop in the background, which periodically lets redmine fetch git
repositories. When repositories are fetched, redmine interpretes
"closes" etc. in commit messages to mark issues as resolved.

Closes: OS#5331
Change-Id: I2a65fd6be22ae541a93c08c71cf286e4b5ad370f
2021-11-30 16:23:44 +01:00
Harald Welte c18597226c redmine: upgrade to 4.2
Change-Id: I38b3ee8c47f22c601c3a26c5c7238ac8bebe33a8
2021-10-27 19:09:27 +02:00
Harald Welte a07f803328 upgrade to redmine 4.1
this requires a local patch to ruby-openid, as it apparently doesn't
suppor rails 5.x (Paramters are not a hash anymore, hence lenth
method cannot be used)

Change-Id: I028d6d72757abf5d990ca2e8327e5f0a9fe3d333
2021-10-27 18:49:16 +02:00
Harald Welte 57b6011e28 redmine: Make changeset keywords work with OS# annotation
In Osmocom we annotate osmocom issues as OS#1234 and not just as #1234,
in order to distinguish them from redmine or coverity issues.

Change-Id: I04a97434433a022f47a759a8219458e8772ae71e
Related: OS#5005, OS#3291
2021-02-10 16:57:26 +01:00
Harald Welte 8e2329e2ec redmine: We no longer need the hmac diff
The upstream redmine container/image has meanwhile upgraded to a more
recent version of the ruby base modules which don't require to be
patched anymore.

Change-Id: I0fd7684bdab55eece889a7d9e524ec2a25b30a3b
2020-02-16 10:47:10 +01:00
Harald Welte 26ad849722 redmine: migrate from 3.4 to 3.4-passenger
This provides much more reasonable performance on our high-end server

Change-Id: Idaa19566d1d5ac4ea0ff0296d57d1f9ca2bd599b
2019-06-24 14:50:29 +02:00
Harald Welte a02280fa77 redmine: Fix openid
For some reason, redmine:3.4 ships with ancient (2014) ruby-openid,
which is no longer compatible with the way how ruby handles HMAC.

Change-Id: I60f6f1ede059accf6b29891abcfe3b2529744e8a
2018-10-07 11:15:00 +02:00
Harald Welte 911fbafbf7 Makefile support for our production infrastructure containers
Change-Id: I901e340d2c5c1e002ecc7efa4570d58ccb7b9229
2018-06-03 16:11:26 +00:00
Harald Welte 28a4e8e589 redmine: add .release file
Change-Id: I229fab6fa12f68e590f3bae6d5542bc4a5517f0b
2018-06-03 15:54:34 +00:00
Harald Welte 0f0fd8c41e redmine: Migrate from 3.2 to 3.4
Change-Id: I8bfd387c71477c4dfdea2eb8520415ce129a3b32
2018-05-30 14:28:25 +00:00
Harald Welte d5a1ed1a85 redmine: Change content-disposition of image attachments to 'inline'
Closes: OS#3264
Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
2018-05-15 18:45:19 +00:00
Harald Welte cb3ccb149b redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"
Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
2018-05-15 18:37:39 +00:00
Harald Welte 51fe6da411 redmine: Add OpenID Digest::HMAC fix
From Holger:
Digest: This seems a bit of the magic of ruby but I vaguely remember having seen this before. I have
either patched or backported a fix. In newer Ruby versions "Digest" has been deprecated. The diff to
"stock" openid 2.3.0 is:

Change-Id: Idaca479140846481372ad0e1bff741bb09010847
Related: OS#3081
2018-05-14 12:18:46 +02:00
Harald Welte 196206b159 redmine: add patch for SVG support
Change-Id: I3bacdd4100c717ad702bc08851a8b32170610ca4
2018-05-14 12:12:31 +02:00
Harald Welte aa1ccdabb7 Add Dockerfile for osmocom redmine:3.2 container
this container has mscgen + dot/graphviz, as we need it.

Change-Id: I8950f74da4d2ed10f15bcbe7596f6e9c13474e58
2018-05-13 21:21:50 +02:00