-
Notifications
You must be signed in to change notification settings - Fork 113
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
Use actual tag string in confirmation message of tag step #652
Comments
this is also relevant if you use a different tag format, such as not prefixing version tags with "v". "cargo release tag" doesn't print the name of the tag that will be created, which is pretty bad UX. |
As proposed, this is only relevant for If we showed tags, that would also made the bald So I'm having a hard time understanding why this is important and why this wouldn't cause more problems. |
it's already somewhat confusing. if i'm trying to make the release tagged "1.0.0" and not "v1.0.0", seeing "v1.0.0" everywhere is a bit worrying. the "push" step actually does show the tag name, but with no feedback to say it's the tag name, not the version string.
|
The push step is naming refs that are being pushed. |
you closed my pull request because of "unanswered questions", despite the fact that thus far, noone has even used a question mark. nonetheless, i'll try to answer what i think you might've meant: "why is this needed" let's say someone accidentally creates
what problems could adding one more line of output cause? the only possible confusion i can see this creating is the present tense "tagging" making people think it's actually being performed even though it's a dry run... but that applies equally to all the other output too, so clearly that's not actually a concern? |
Could you help me understand the use case for
Note that #796 is different than what was proposed in this issue which is what I am discussing. imo #796's style of output feels like a net negative to me. So my hesitation over the proposed output of being confusing of what the tags are associated with still stands. |
why does it exist if people aren't supposed to use it? "why are you using this software for its intended purpouse" is kinda an odd question and i'm not sure how to answer it.
true, it doesn't implement exactly the proposed solution, but it aims to solve the same problem (not being sure which tags will be created), and it solves it in a way that is more general, fixing the issue for
would you prefer "Tagging CRATENAME vX.Y.Z as TAGNAME"? i can adjust it to that pretty easily. if you have any other specific concerns about the format of the output, i'm sure i can address those too. |
I'd recommend engaging assuming others are engaging in good faith. If there is something that seems out of place, consider what you might not understand and ask questions rather than being antagonizing. In general, the subcommands in
I can understand that not everyone will think to but that is a challenge with
If those are a problem, we can have a separate issue for better focusing the verbose output.
Keep in mind, a lot of what you are saying is not unique to tags and we have to consider how these concerns scale to the whole workflow. |
it seems like you are suggesting that there is so much info that is important to check on the first release, but mostly irrelevant on following releases, that showing all of it by default would make the tool unusable. i do not think that is the case.
i'm sure there is other info that would be nice to know, but i haven't found myself missing anything besides tag names. if other issues come up in the future, they can be addressed in the future, unless you can enumerate them in the present. |
Could you please speak to why
For myself, I run |
the scope of the changes i want is a bit more than just would you rather i create a new issue requesting exactly the functionality i already implemented? |
That is good to know that you care more generally. The framing of this issue was about
Its a balancing act of showing the relevant information to the user without overwhelming such that they can't find relevant information. Generally, the $ cargo release tag
warning: aborting release due to dry run; re-run with `--execute` doesn't say what was done. At least it doesn't produce no-output which would have been much worse as it would have looked like it was doing something but didn't. While the original issue focused on the confirmation prompt for |
it adds clarity. it says "these are the tags that will be created". the |
Thanks for the crate, I'm finding this very useful!
I just ran into a tiny thing: When running
cargo release tag
, I get a confirmation message that shows the crates and versions that are going to be tagged, but it doesn't show the actual final tag text; e.g for me it said,Tag crate-one 0.3.0 crate-two 0.1.0 ? [y/N]
And so I wasn't sure what the actual tags would be, and had to go digging through the source. Maybe it make sense instead to do,
Tag crate-one-v0.3.0 crate-two-v0.1.0 ? [y/N]
The text was updated successfully, but these errors were encountered: