FHIR Chat · Task/git cycle · committers/announce

Stream: committers/announce

Topic: Task/git cycle


view this post on Zulip Grahame Grieve (Oct 13 2018 at 19:46):

when you edit a task, and then you make a commit in git, it's good to be able cross-link between them. When committing in git, in your git comment comments:

GF#[id]

Mention each task that is covered in the commit. Please make your commits as granular as you can make them (e.g. as few tasks per commit as possible - ideally, 1:1 tak/commit). (of course there are some tasks that cannot be that simple, but most can)

Then, in the gForge task, when you mark it as applied, in the comments put

GH#[gc]

Where [gc] is the git commit number that you get from the message git gives you after commit - c886442b77 in this example:

[grahame c886442b77] GF#18356 - adjust language about modifier extensions
1 file changed, 2 insertions(+), 1 deletion(-)

Success (266 ms @ 14/10/2018 6:42:03 AM)

view this post on Zulip Grahame Grieve (Oct 13 2018 at 19:49):

@Lloyd McKenzie can we make in jira so that GH#[id] is automatically linked like in Zulip? (I will assume it's not possible in gForge). The conversion is
regex GH#(?P<id>[a-z0-9]{8,10}) -> url https://github.com/HL7/fhir/commit/%(id)s

view this post on Zulip Lloyd McKenzie (Oct 13 2018 at 21:51):

Probably. And in fact, we could even force it. I'll add this to my "nice to have" list for post-migration.


Last updated: Apr 12 2022 at 19:14 UTC