Skip to content

cargo: point repository metadata to clonable URLs#1202

Merged
BurntSushi merged 1 commit intorust-lang:masterfrom
lucab:ups/repo-metadata
Aug 24, 2025
Merged

cargo: point repository metadata to clonable URLs#1202
BurntSushi merged 1 commit intorust-lang:masterfrom
lucab:ups/repo-metadata

Conversation

@lucab
Copy link
Copy Markdown
Contributor

@lucab lucab commented Jun 6, 2024

This tweaks the repository fields in Cargo metadata in order to use the correct (i.e. git clonable) URL. The existing GitHub webUI URLs for each package have been retained and moved to homepage fields.

This tweaks the `repository` fields in Cargo metadata in order to use the correct (i.e. git clonable) URL.
The existing GitHub webUI URLs for each package have been retained and moved to `homepage` fields.
@lucab
Copy link
Copy Markdown
Contributor Author

lucab commented Jun 6, 2024

For reference, without this PR the remote fetch would fail with:

$ git clone https://github.com/rust-lang/regex/tree/master/regex-automata

Cloning into 'regex-automata'...
fatal: repository 'https://github.com/rust-lang/regex/tree/master/regex-automata/' not found

@BurntSushi BurntSushi merged commit 931dae0 into rust-lang:master Aug 24, 2025
@lucab lucab deleted the ups/repo-metadata branch August 25, 2025 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants