comphead opened a new pull request, #27679:
URL: https://github.com/apache/datafusion/pull/27679

   ## Which issue does this PR close?
   
   - Part of https://github.com/apache/datafusion/issues/27654 (the 
`dev/release/README.md` item). The crates.io owner changes in that issue are 
made on crates.io, not in this repo.
   
   ## Rationale for this change
   
   When a release publishes a crate for the first time, `cargo publish` makes 
the publisher its only owner. Nothing in the release docs said to add the other 
owners afterwards. That is how `datafusion-proto-models` ended up with a 
different owner set than the other crates (see 
https://github.com/apache/datafusion/issues/24461#issuecomment-7079116929). The 
release docs also still said that "An Arrow committer" publishes the crates.
   
   ## What changes are included in this PR?
   
   - `dev/release/README.md`: a new "Add Owners to New Crates" subsection in 
the crates.io step. Before publishing, the release manager lists the crates 
that are not on crates.io yet. After publishing, they add the DataFusion PMC 
members as owners with `cargo owner --add`.
   - `dev/release/README.md`: says that a DataFusion PMC member who owns the 
crates publishes them, instead of an Arrow committer.
   - `dev/release/list-new-crates.sh`: prints each publishable workspace crate 
that has no entry in the crates.io sparse index. It exits with an error on any 
HTTP status other than 200 or 404, so a network failure does not look like "no 
new crates".
   
   ## What is the testing strategy for this PR?
   
   Tested by hand:
   
   - On current `main` the script prints nothing, because all 39 publishable 
crates are already on crates.io.
   - With a temporary unpublished workspace crate added, the script printed 
only that crate.
   - `shellcheck` and the docs prettier check pass.
   
   ## Are there any user-facing changes?
   
   No. This only changes release documentation and tooling.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to