Project

General

Profile

Actions

Feature #11978

closed

Tool that updates git-notes for backports

Added by Loïc Dachary almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The bot would create a json structure in the git notes of the ceph repository to be the authoritative state of the backport for a given commit. It would cross reference issues and pull requests. It should be the only central piece of information a script or a developer needs to find all there is to know regarding the backport history of a given commit.

Actions #1

Updated by Nathan Cutler almost 9 years ago

  • Assignee set to Nathan Cutler
Actions #2

Updated by Loïc Dachary almost 9 years ago

A first step could be a script that:

  • look for all commit with a Backport: field
  • look for an issue in the commit message
  • add { "issue": "http....", "backports": ["firefly","hammer"] } in the git notes of the commit, using the field from the issue

The script could list all commit that have no associated issue, as a link to the github commit.

After manually figuring out which issue it belongs to, the script would allow manual update of the json with something like

backportnotes --commit SHA --issue 2039

Actions #3

Updated by Nathan Cutler almost 9 years ago

  • Subject changed from bot that updates git-notes for backports to Tool that updates git-notes for backports

The tool would need to operate on a single mirror of ceph.git, all members of the backports team would need to have write access to that repo, and whether the git notes from the mirror would ever be synced to ceph.git (and how that would be done) remains an open question.

Actions #4

Updated by Nathan Cutler over 8 years ago

  • Status changed from New to 4
  • Assignee changed from Nathan Cutler to Loïc Dachary
  • Source changed from other to Community (dev)
Actions #5

Updated by Nathan Cutler over 8 years ago

  • Status changed from 4 to Closed
  • Assignee deleted (Loïc Dachary)
Actions

Also available in: Atom PDF