-
Notifications
You must be signed in to change notification settings - Fork 105
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
Update more CLI texts #1301
Update more CLI texts #1301
Conversation
9539388
to
a6f23dd
Compare
I'd like to have a diff even if only the version number changed and not the text. Why not keep the versions up to date? |
Was also my first impulse, but I see that the version number is no longer part of the output, so there wouldn't be any confusion for the user if they're looking at outdated versions. Plus if the version was still part of the output, this workflow would produce PRs for every patch version of our tools. |
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.
Do you think the user is interested in the exact version? I doubt that and think they just assume they're looking at the latest text. Plus, the former output was a bit distracting like
while this is what users know (and type):
This is what happens today through a custom renovate config, which turned out to produce quite a lot of rather dump 'just bump the version' PRs (example). This is what I want to reduce. |
Co-authored-by: Daniel O'Grady <[email protected]>
I already tested the workflow. Turns out you can trigger workflows from non-main branches through the gh workflow run 'PR Latest cds-typer Output' --ref cli-out What is strange though that I sometimes needed to use the old name PR Latest cds-typer Output while in some instances I could use the new name Update CLI Texts. Looks like a GH bug or so. See the latest run. |
Sorry, my comment was a bit vague. I initially had the same reaction as René, but after some consideration I came to the same conclusions as you did. So I think removing the version from the output is fine and even if we should reintroduce them, we should at least leave out the patch version. |
Awesome! 😮 |
In the files where versions explicitly appear (like The other thing @daogrady and I discussed was whether they should appear in command prompts like |
Can we merge this? |
Make #1294 more generic and update more CLI texts.
<pre class="log">
approach instead oflog
code fence as it allows us to style the output more.<em>
,<i>
,<strong>
).This also gets rid of the custom renovate config to bump inner-md versions and the corresponding PRs.