Repository navigation
doc: Improve incus alias docs - #3479
Conversation
|
@augustodsgv, youβll want to |
|
@bensmrs thank you, I've missed that. Both fixed |
|
Thanks. Please carefully read CONTRIBUTING.md, notably the βCommit structureβ section, in order to properly name your commits messages. Please also rebase your commits so that commits that fix your own contribution disappear from the PR. That means that the changes in 3c4bf15 should directly be put into the commits that introduce the linting errors. |
5dcd46b to
cf5e430
Compare
|
@bensmrs no problem, I appreciate your patience. I've messed up my git timeline with the rebase, but it seems right now, my apologies. Do you think the new commit messages are fine, or is there something I can improve? |
|
No problem. Rebasing is quite a common thing in this project, but it can take some time to get used to :)
So, re-reading your commit messages makes me realize that some of the guidelines in CONTRIBUTING.md are very wrong, we may wanna patch that, @stgraber⦠|
|
Iβll push on your branch to save you the trouble ;) |
Signed-off-by: augustodsgv <augustodsgv@gmail.com>
β¦ both modifiers Signed-off-by: augustodsgv <augustodsgv@gmail.com>
Signed-off-by: augustodsgv <augustodsgv@gmail.com>
β¦ide how-to examples Signed-off-by: augustodsgv <augustodsgv@gmail.com>
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
cf5e430 to
e33e60b
Compare
|
Thanks for the corrections. Are these commit patterns something used by all (or most) OpenSource projects, or is it project specific? |
|
It really depends. Some projects use so-called conventional commits, focused on the kind of change, then its scope. Some projects like Incus ditch the kind of change to only focus on its scope. Some projects go completely free-form, but that doesnβt really scale to many contributors and big code bases, in which cases you usually benefit from defining a few guidelines (and commit messages are a good start). In any case, things are still pretty flexible in this project and youβll find a fair bit of inconsistencies; itβs not great, but itβs not dramatic either :) |
|
Thanks! |
|
@bensmrs I'm more used to the conventional commits, that's what I use at work, but it's nice to learn new patterns. I'm excited to learn the Incus conventions by submitting new changes, thanks for your help :) |
|
I just noticed that there is an error in the command help I modified, where the example command uses the Incus alias add volume "storage volume @ARGS@"
Create a short command for managing volumesIn this case, should I open a PR adding a fix commit or should I rebase the commit that introduced this error? |
Discussed in #3424
Improves incus alias command help with args and numbered args examples
Improve sincus alias how-tos with args and numbered args
Refactors incus alias docs by creating a use case section and adding examples in the how-tos
Fixes sphinx automation by preventing colored terminal outputs that would break the docs
Fixes italic text with ref