contributing: advice from recent RTI learnings #100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
observations i found useful in figuring out what i should do to get to RTI email materials. the contributing docs are clear enough on what goes in the email, but i had a harder time figuring out if what i was putting together had the right information.
generally i had a hard time figuring out what the human on the receiving end needs or will do, so i'm trying to be clearer about that without being prescriptive. in particular, understanding that better from talking with @citrus-it is what helped me understand the variance in RTIs in practice.
it seems like the patch file itself can be optional if the correct patch is reflected in Gerrit, that
pbchk
isn't necessary if it's empty, contributors provideReviewed by:
(no tooling on the Gerrit or integrator side).whatchanged
can either be in-line in the email if it is tiny, or attached if it would be large. these are what the RTI is expected to look like, if it differs that's not necessarily a problem but may place additional burden on the core team, so.. don't do that lightly.in particular i'd looked at a few prior RTIs and saw that generally patches on the mailing list are not the same commit as on Gerrit, and that the patch subject line is basically uninteresting to the RTI recipient. it seems like if i was going to outline what core members are seeking, it is:
Change-ID:
which will be removedwhatchanged
mail_msg
in either case that describes the build when integrating the patchfinally, if you're like me and hop between commits regularly,
mail_msg
will be bogus if you built the gate, built a different commit, then switched to your RTI commit and built that. so also a heads to folks that that will not be good for RTI!an open question i have here is: if my change was reviewed on Gerrit, and i've amended that commit like
then is there value submitting the patch in my RTI email? personally speaking, that risks me attaching an incorrect commit, or Gerrit having a hopefully-minor stale commit that was in the email. this depends on how the core team fetches patches for integration. https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-patch can a change as a patch in base64, so "patch optional if using Gerrit" would be nice as a formal policy.