Add support for publishing with a message
Review Request #7763 — Created Nov. 9, 2015 and submitted
Both
rbt post
andrbt publish
can now publish with a change
description. This change description supports markdown via the
--markdown
flag used for summaries and descriptions.Providing a change description before the review request is public will
not result in an error; instead the option will be ignored and an
informative message will be displayed to the user.The
publish
command now also only fetches the required links and
fields when publishing to minimize the amount of data that is
transmitted.
- Published with a message.
- Verified that
rbt publish -m
provided an error message when the
review request was not public.
Description | From | Last Updated |
---|---|---|
Can we have it so that this doesn't imply --publish, but just sets the text of the change description? I … |
david | |
What happens if I specify this for a review request which is not yet public? |
david | |
This could be much simpler: Publish the review request immediately after posting, but without sending an e-mail notification. |
david | |
How about "The change description field can only be set when publishing an update. Use --description instead." |
david | |
"Publish without sending an e-mail notification"? |
david | |
Same here about recommending --description? Perhaps we should make these fail instead of just log? |
david |
- Change Summary:
-
Add depends-on
- Depends On:
-
Tool: Pyflakes Processed Files: rbtools/commands/post.py rbtools/commands/publish.py Tool: PEP8 Style Checker Processed Files: rbtools/commands/post.py rbtools/commands/publish.py
-
-
Can we have it so that this doesn't imply
--publish
, but just sets the text of the change description? I can see a use case for wanting to set it when posting but wanting to review before publishing, and it's easy enough to do-p -m XXX
.It might make sense to also name the long option
--change-description
so that it matches up with the help for--markdown
below. -
-
Tool: PEP8 Style Checker Processed Files: rbtools/commands/post.py rbtools/commands/publish.py Tool: Pyflakes Processed Files: rbtools/commands/post.py rbtools/commands/publish.py
- Change Summary:
-
Address David's issues.
- Description:
-
Both
rbt post
andrbt publish
can now publish with a changedescription. This change description supports markdown via the --markdown
flag used for summaries and descriptions.+ + Providing a change description before the review request is public will
+ not result in an error; instead the option will be ignored and an + informative message will be displayed to the user. + + The
publish
command now also only fetches the required links and+ fields when publishing to minimize the amount of data that is + transmitted. - Testing Done:
-
~ Published with a message.
~ - Published with a message.
+ - Verified that
rbt publish -m
provided an error message when the
review request was not public.
-
Tool: Pyflakes Processed Files: rbtools/commands/post.py rbtools/commands/publish.py Tool: PEP8 Style Checker Processed Files: rbtools/commands/post.py rbtools/commands/publish.py
- Change Summary:
-
Don't reccomend
rbt publish --description
. There is no such flag. - Commit:
-
883431bd8aafae68e4a0ee8f5843a9bf56829c178854e97b3250f0fc01fd3f05ab3179342bdda4e0