Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Provide tarball with vendored sources #50

Closed
bachp opened this issue Sep 22, 2017 · 1 comment
Closed

Provide tarball with vendored sources #50

bachp opened this issue Sep 22, 2017 · 1 comment

Comments

@bachp
Copy link
Contributor

bachp commented Sep 22, 2017

With rust-lang/cargo#2857 being merged cargo vendor seems like a useful tool to implement a fetch task for build systems like Nix or Yocto.

However there seems to be a bootstraping issues. In order to fetch the dependencies of cargo vendor you already need cargo vendor.

One elegant solution would be to provide a source tarball that containes the vendored-sources directory of a release. This way cargo vendor could be built without needing the dependency fetch state and thus avoiding the bootstrap problem.

@alexcrichton
Copy link
Owner

Seems plausible to me! I probably won't have time to do this, but would welcome a patch for CI to do so

bachp added a commit to bachp/cargo-vendor that referenced this issue Sep 23, 2017
This simplifies boostrapping as one can just download the bundle
including all dependencies.

Closes alexcrichton#50
bachp added a commit to bachp/cargo-vendor that referenced this issue Sep 23, 2017
This simplifies boostrapping as one can just download the bundle
including all dependencies.

Closes alexcrichton#50
bachp added a commit to bachp/cargo-vendor that referenced this issue Sep 27, 2017
This simplifies boostrapping as one can just download the bundle
including all dependencies.

Closes alexcrichton#50
alexcrichton pushed a commit that referenced this issue Sep 28, 2017
This simplifies boostrapping as one can just download the bundle
including all dependencies.

Closes #50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants