Closed Bug 1298959 Opened 9 years ago Closed 9 years ago

Allow |cargo vendor| to store the crate without the version in the directory name

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bholley, Unassigned)

References

Details

We discussed this in our call last week. The current model causes our set of checked-in files to grow larger and larger, since we end up with many copies of the same crate. Mercurial also doesn't handle renames as well as git. IIRC the proposed solution was to just use the crate name, and append a version number only in the case of multiple in-use versions of the same crate.
Thanks for the reminder! I've implemented the upstream support here: https://github.com/alexcrichton/cargo-vendor/commit/d168e0df732d01a80eae990d3f6bdf6cb8ce639b
\o/ Let me know here when it's released, and I'll update our branch appropriately and close this bug.
Oh sure, I've published 0.1.2
This is now fixed in https://hg.mozilla.org/incubator/stylo - thanks Alex!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.