Project

General

Profile

Actions

Feature #5331

closed

redmine doesn't automatically process changelogs

Added by laforge 11 days ago. Updated 6 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
redmine
Target version:
-
Start date:
11/25/2021
Due date:
% Done:

100%

Spec Reference:

Description

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 ?

Actions #1

Updated by osmith 7 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
Actions #3

Updated by osmith 6 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)