Skip to content
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 outdated crates.io URLs in publishing guide #12018

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Update outdated crates.io URLs in publishing guide #12018

merged 1 commit into from
Apr 22, 2023

Conversation

Marcono1234
Copy link
Contributor

@Marcono1234 Marcono1234 commented Apr 22, 2023

What does this PR try to resolve?

Apparently crates.io was redesigned some time ago to have separate subpages for the account settings (rust-lang/crates.io#4309). And later on the /me path was redirected to the API token creation page (rust-lang/crates.io#4311). Therefore the current publishing documentation is outdated.

How should we test and review this PR?

Open https://crates.io/settings/profile and click through the settings pages to see their URLs.

Also open https://crates.io/me to see where it redirects to.

Additional information

There are still multiple references to https://crates.io/me in the code; though if I saw that correctly all the other ones refer to API token creation, so keeping these references should be fine for now.

@rustbot
Copy link
Collaborator

rustbot commented Apr 22, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 22, 2023
@ehuss
Copy link
Contributor

ehuss commented Apr 22, 2023

Thanks for the PR! crates.io itself still instructs to go to the /me route in the error message (publish.rs). @Turbo87 was that intentional? Does the error message also need to be updated?

@Turbo87
Copy link
Member

Turbo87 commented Apr 22, 2023

@ehuss rust-lang/crates.io#6365 😉

@ehuss
Copy link
Contributor

ehuss commented Apr 22, 2023

Ok, thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 22, 2023

📌 Commit 51ac14d has been approved by ehuss

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 22, 2023
@bors
Copy link
Collaborator

bors commented Apr 22, 2023

⌛ Testing commit 51ac14d with merge 75c82e6...

@bors
Copy link
Collaborator

bors commented Apr 22, 2023

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 75c82e6 to master...

@bors bors merged commit 75c82e6 into rust-lang:master Apr 22, 2023
@Marcono1234 Marcono1234 deleted the patch-1 branch April 22, 2023 20:00
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 26, 2023
Update cargo

17 commits in de80432f04da61d98dcbbc1572598071718ccfd2..9e586fbd8b931494067144623b76c37d213b1ab6
2023-04-21 13:18:32 +0000 to 2023-04-25 22:09:11 +0000
- Update home dependency (rust-lang/cargo#12037)
- Warn instead of error in `cargo package` on empty `readme` or `license-file` in manifest (rust-lang/cargo#12036)
- Clarify documentation around test target setting. (rust-lang/cargo#12032)
- fix: apply `[env]` to target info discovery rustc (rust-lang/cargo#12029)
- CI: ensure intra links for all members are checked (rust-lang/cargo#12025)
- chore: make credential dependencies platform-specific (rust-lang/cargo#12027)
- CI: use `-p` to specify workspace members instead of `--manifest-path` (rust-lang/cargo#12024)
- ci: requires `test_gitoxide` and `lockfile` for both bors success and failure (rust-lang/cargo#12026)
- Update windows-sys (rust-lang/cargo#12021)
- Bump libc to 0.2.142 (rust-lang/cargo#12014)
- Update openssl-src to 111.25.3+1.1.1t (rust-lang/cargo#12005)
- Improve error message for empty dep (rust-lang/cargo#12001)
- Remove wrong url in benchsuite manifest. (rust-lang/cargo#12020)
- Bump versions of local crates (rust-lang/cargo#12019)
- Add the Win32_System_Console feature since it is used (rust-lang/cargo#12016)
- Update outdated crates.io URLs in publishing guide (rust-lang/cargo#12018)
- Allow named debuginfo options in Cargo.toml (rust-lang/cargo#11958)

r? `@ghost`
@ehuss ehuss added this to the 1.71.0 milestone May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants