redmine doesn't automatically process changelogs
We do have redmine configured to automatically add commits (once they are in git.osmocom.org master) to tickets based on the "Related: OS#..." and also to resolve any issues if it "Closes" or "Fixes" an OS#. This works fine.
However, redmine doesn't automatically scan/poll the git repository in question, but processes it only when for the first time somebody accesses https://osmocom.org/projects/osmobts/repository after the commit hit the git repo
So for example, https://osmocom.org/issues/5325#change-23109 wasn't closed untik one day later I manually clicked on the "repository" tab triggering the mechanism.
To resolve that, Isuggest we install some kind of cron job that performs a http GET on all the various projects /repository URL every 10 minutes or so. Maybe even a jenkins job? Of course ideally it would automatically discover all the projects and iterate over them without having to manually list them somewhere. Maybe this can be done via the redmine API https://www.redmine.org/projects/redmine/wiki/Rest_Projects says that a list of projects in XML format can be obtained from https://osmocom.org/projects.xml and indeed that seems to work. So that can be used to obtain the list of projects and then iterate over them to issue the GET ?
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Applied in changeset core-testing-infra:docker-playground|440e62b9aa1c97847e23bb39d90dc542176867b0.