Skip to content
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

Squash rust repo to make it fast to download #37

Open
roblabla opened this issue Sep 27, 2018 · 5 comments
Open

Squash rust repo to make it fast to download #37

roblabla opened this issue Sep 27, 2018 · 5 comments

Comments

@roblabla
Copy link
Member

We should have a rust repo with the whole history squashed to one commit, so that downloading it with Xargo is instantaneous.

@kitlith
Copy link
Member

kitlith commented Sep 28, 2018

Why not make Xargo git clone --depth=1?

@roblabla
Copy link
Member Author

I think (but would need to check) that xargo just uses cargo? So it might be cargo that needs to do that. If it doesn't already.

@justgerd
Copy link

justgerd commented Sep 28, 2018

last time I checked this wasn't possible.

we'd also need to flatten the repo (remove submodules) or fork those & squash them too

@kitlith
Copy link
Member

kitlith commented Sep 28, 2018

right, there's an issue on cargo: rust-lang/cargo#1171

which is blocked on an issue in libgit2....

@roblabla
Copy link
Member Author

for reference (took me a while to find it), the libgit2 issue: libgit2/libgit2#3058

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

No branches or pull requests

3 participants