-
Notifications
You must be signed in to change notification settings - Fork 9
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
Kf 4242 contributing #288
Kf 4242 contributing #288
Conversation
Workflow Contributing files Contributing inputs
Run it weekly
this was just used to test we don't want it in general, it's a waste
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ColmBhandal, some nitpicks!
Apart from the above, I do have some questions:
Most importantly, I want to understand whether the content of this PR is something that people have already agreed upon or rather something that's currently under design (if that's the case I might have more comments😇). |
Hey - please provide as much input as you would like. The automation works as follows. The workflow in this repo delegates to a reusable workflow for updating all contributing files for all charms in the repo. Link to that workflow. Then, for each charm, the workflow calls upon another reusable GitHub action which generates a fresh contributing file from a template. More info on that is available in the readme for the action. |
Ok so the missing piece for me was the common template used for all updates, which can be found here. This is the base template for every charm So in order to answer my own questions above:
Does the above description hold? If it does, then we really need to:
Finally, what is the purpose of the weekly automation? I mean, I would expect the |
Hey, that's close but not exactly how it works. I've added PRs that will hopefully explain this better and answer your questions:
Upon analysis, the design favours updating the template file but makes charm-specific updates a bit awkward. Charm specific updates require updating the But the idea was that that was the price we have to pay for keeping these things in line with the common template. If we expect updates to the template to outweigh charm-specific updates, then this approach makes sense. |
Thanks @ColmBhandal, we can wrap this after the linked PRs are merged. What will happen after canonical/kubeflow-ci#107 is merged though? Will you manually update the |
I did the super-hacky use case of editing both |
Closing this as it's too much effort. We have decided for now to go with the simpler option of just manually creating and maintaining contributing files. |
Added contributing files for charms and contributing auto-update workflow for both. The text is quite generic but can be edited via
contributing_inputs.yaml
.