Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: release workflow #224

Merged
merged 2 commits into from
Dec 1, 2022
Merged

doc: release workflow #224

merged 2 commits into from
Dec 1, 2022

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented Nov 21, 2022

No description provided.

@sthaha sthaha requested a review from a team as a code owner November 21, 2022 03:05
Signed-off-by: Sunil Thaha <[email protected]>
Copy link
Contributor

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small suggestion but apart from that lgtm 👍

docs/design/assets/release.uml Outdated Show resolved Hide resolved
docs/design/assets/release.uml Show resolved Hide resolved
Copy link
Contributor

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image also has to be updated to reflect the changes done to the UML code.

That reminds me that we should probably have a pointer or mention on how to do that.

Afterwards I'm happy to leave the lgtm :)

@sthaha
Copy link
Collaborator Author

sthaha commented Nov 23, 2022

The image also has to be updated to reflect the changes done to the UML code.

That reminds me that we should probably have a pointer or mention on how to do that.

Afterwards I'm happy to leave the lgtm :)

Done, and also noticed that the candidate was spelt wrong.

Copy link
Contributor

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Collaborator

@jan--f jan--f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this is a very nice addition. I have two somewhat general questions:

  1. Should we be more explicit in the text description in the diagram and does that work for a UML diagram? Especially where users interact with the system I think it might be nice to name PRs and branches that actual people will interact with (even if those names will include the inevitable placeholders). For example step two could Open PR "release: vX.X.X" which we could then reference again in step 5 approve PR "release vX.X.X".
  2. Should we generate the png in a make file step and maybe even check that it corresponds to the uml file in a CI step?


title Release Workflow
autonumber
actor RM order 10
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any objection against being explicit and calling this actor Release Manager?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not from my side, however I'm not sure how it will look in the generated image through

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have changed it, does it look okay to you ?

@sthaha
Copy link
Collaborator Author

sthaha commented Nov 25, 2022

Thanks this is a very nice addition. I have two somewhat general questions:

Should we be more explicit in the text description in the diagram and does that work for a UML diagram? Especially where users interact with the system I think it might be nice to name PRs and branches that actual people will interact with (even if those names will include the inevitable placeholders).

RM imho is acceptable since it is a well know abbreviation

Update: we can use \n to add new line, "Release\n Manager" so lets use that.

For example step two could Open PR "release: vX.X.X" which we could then reference again in step 5 approve PR "release vX.X.X".

yes, this does improve readability we can say something like " Below is a workflow for releasing 1.2.3 ". I do feel giving a concrete example is better

Should we generate the png in a make file step and maybe even check that it corresponds to the uml file in a CI step?

I am not sure if we will get good ROI on that :) . This would require installation (along with maintenance of installation steps) of another tool and since we don't expect changes to happen often (once in a month) in this flow it may not be worth the effort. When it does, using the online editors to regenerate the uml is easier. - WDYT?

Co-authored-by: Joao Marcal <[email protected]>
@jan--f
Copy link
Collaborator

jan--f commented Nov 29, 2022

I am not sure if we will get good ROI on that :) . This would require installation (along with maintenance of installation steps) of another tool and since we don't expect changes to happen often (once in a month) in this flow it may not be worth the effort. When it does, using the online editors to regenerate the uml is easier. - WDYT?

I still think we should be able to generate all artifacts from the repo. PlantUML is a java project so the installation is arguable quite easy (download JAR, run it). It does require java though. With online generators my concern is that these go away (and new ones appear) so that ultimately a contributor who wants to add or change something needs to jump though extra hoops.
If I'd be a user and consider contributing a fix, this would be the moment where I think "I guess this bug stays".

Maybe if PlantUML is to expensive to maintain in our tool chain, its not the right tool?

In any case I don't think this should block this PR. I could live with an issue to change or add this.

@sthaha
Copy link
Collaborator Author

sthaha commented Nov 30, 2022

In any case I don't think this should block this PR. I could live with an issue to change or add this.

Thank you :). I have set it to automatically merge on approval.

I still think we should be able to generate all artifacts from the repo. PlantUML is a java project so the installation is arguable quite easy (download JAR, run it). It does require java though. With online generators my concern is that these go away (and new ones appear) so that ultimately a contributor who wants to add or change something needs to jump though extra hoops. If I'd be a user and consider contributing a fix, this would be the moment where I think "I guess this bug stays".

Maybe if PlantUML is to expensive to maintain in our tool chain, its not the right tool?

I have a different point of view ... PlantUML is only a means to an end i.e. we need a sequence diagram. plantuml makes it "easier" to modify the sequence diagram. Say the tool I used was powerpoint or even hand drawn, would we take a similar approach to this?

@sthaha sthaha enabled auto-merge (squash) November 30, 2022 03:43
@jan--f
Copy link
Collaborator

jan--f commented Dec 1, 2022

Say the tool I used was powerpoint or even hand drawn, would we take a similar approach to this?

I think we'd have a different discussion in this case and I'd argue strongly against any of these two options.
I just think there is value in automating the up-to-date keeping of documentation artifacts. Happy to follow up in #228 though.

@sthaha sthaha merged commit 241c69b into rhobs:main Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants