rust-lang / cargo

The Rust package manager
https://doc.rust-lang.org/cargo
Apache License 2.0
12.78k stars 2.42k forks source link

Add support for jujutsu VCS #12102

Open lopukhov opened 1 year ago

lopukhov commented 1 year ago

Problem

jujutsu is a new git-compatible DVCS with a mix of features from different previous VCS and has become my main VCS for personal projects. Right now cargo does not support the creation of a new project with jj as its VCS and I would like to add it to the list of VCS that can be chosen when creating a new project.

Proposed Solution

The solution is fairly simple as it only has to follow how other VCS are being supported.

I have already implemented it following the implementation of the support for pijul and was going to create a PR but then I noticed that I had to create first an issue and for it to be accepted. If the issue is accepted I will create the PR with the code I have written.

Notes

No response

weihanglo commented 1 year ago

I was not here when Cargo was integrating pijul, so don't feel bad if I ask you more question than pijul integration. Here are some thoughts.

lopukhov commented 1 year ago

Thank you for your response. Dont worry :smile: I understand that the integration of pijul was a long time ago and things may be different, to answer based on the best of my knowledge:

epage commented 1 year ago

For reference, #3842

ehuss commented 1 year ago

The team discussed this a bit today, and here are some thoughts we had about adding new VCS support: