-
Notifications
You must be signed in to change notification settings - Fork 13.5k
cargo: add. #1149
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
cargo: add. #1149
Conversation
This is for <#866>, by the way. |
Yeah, I was thinking about that. This is a proof-of-concept, and it was quickest to write it in sh. |
Agreed that sh probably isn't a long-term solution here. marijnh, do you prefer that we translate it to python before merging it? |
Looks great! How do you intend to keep UUID list relevant? Wouldn't that have to include every version of every Rust module ever written to be useful? I think a by-name curated list, pointing at git/svn/hg repositories (tags for versions) OR multiple tarballs (one per version), would be more useful. If we support 'registering' multiple source lists (as in apt) that would be nicely decentralized, allow for a tool that indexes and searches packages, etc. (Which is for the future. I have no objection to merging this patch.) |
This is great. I'm glad to see such things develop. A few notes:
In any case, promising start! I like the look of it. |
graydon: The short-name thing ought not to be a problem. As for parsing .rc files / rewriting in rust, I think that is a good idea; I didn't do it at first because I was unfamiliar with the librustc API. I believe that cargo as it is now (the python version) could be rewritten using only crate metadata. The reason I wanted to add invocations of configure/make is to support packages that have native components. Does rustc know how to build native code if it's required by a crate file? I will make an attempt at rewriting cargo in rust tonight. |
This is a prototype of a package management tool for Rust. Run with no arguments for usage information. Man page to be written. Signed-off-by: Elly Jones <[email protected]>
Signed-off-by: Elly Jones <[email protected]>
I cherry-picked in the preliminary rust rewrite and added it to the build. Closing this; continue hacking in-tree and tracking in issue #866 |
Run the rustc test suite on CI
This is a prototype of a package management tool for Rust. Run with no arguments
for usage information. Man page to be written.
Signed-off-by: Elly Jones [email protected]