Project

General

Profile

Feature #24346

Easy to use mechanism to verify if a ticket code has been merged

Added by Marco Mambelli 5 months ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
04/23/2020
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

The code resolving a ticket was not merged in a release
It would be nice to have an automated mechanism to check if the branches from all the tickets have been merged. Should be:
  • low or no overhead for the developers
  • easy for the librarian

History

#1 Updated by Marco Mambelli 5 months ago

  • Assignee changed from Marco Mambelli to Dennis Box
  • Status changed from New to Feedback

New script in v36/24346:
- developers must use the already agreed schema with branch names including the issue ID
- librarian can verify the branches flagged by the script

Adding some reference links:
https://www.redmine.org/projects/redmine/wiki/Rest_api
https://www.redmine.org/projects/redmine/wiki/Rest_api_with_curl
https://www.redmine.org/projects/redmine/wiki/Rest_Issues
There are also Python API (I used curl):
https://www.redmine.org/projects/redmine/wiki/Rest_api_with_python
https://python-redmine.com/resources/issue.html
The access key is needed only to write, anyway:
https://www.redmine.org/boards/2/topics/16474?r=16734
https://www.redmine.org/boards/2/topics/54459

#2 Updated by Marco Mambelli 5 months ago

  • Subject changed from Simple mechanism to verify if a ticket code has been merged to Easy to use mechanism to verify if a ticket code has been merged

#3 Updated by Marco Mambelli about 1 month ago

changes are in v36/24346
There are 2 scripts in build/ReleaseManager:
check_branches.sh, check_merged.sh

Use -h to get the help message

#4 Updated by Marco Mambelli about 1 month ago

  • Target version changed from v3_6_3 to v3_6_4

#5 Updated by Marco Mambelli 10 days ago

  • Assignee changed from Dennis Box to Marco Mambelli
  • Status changed from Feedback to Closed

merged



Also available in: Atom PDF