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

Use subtree again to allow publishing the crate #34

Merged
merged 6 commits into from
May 17, 2022
Merged

Conversation

conradoplg
Copy link
Contributor

cargo package is not currently working because cargo package ignores subfolders with Cargo.toml in them. We can't work around that with submodules since they don't allow making local changes (and I couldn't get it to work in conjunction with sparse-checkout).

This reverts to using subtree (which in practice makes this PR include the entire zcash tree, so it looks much bigger than it is).

We were using subtree (exactly to solve this issue) but we had reverted to submodule because subtree behaves strangely if you use squash-and-merge. For this reason, please do not squash-and-merge this PR (though if that ends up happening it's easy to fix, and it's now documented in the README).

I also did not use cargo release for this PR because I only noticed later that we were supposed to use it. So I manually made the changes. I'm not sure if we want to keep using it from now on.

@conradoplg conradoplg requested review from a team and teor2345 and removed request for a team May 17, 2022 19:21
@conradoplg
Copy link
Contributor Author

OK, GitHub won't allow us to rebase-and-merge because subtree creates merge commits which are not allowed in that strategy. So I'll just squash-and-merge and we can sort this out later. I'll create a ticket for that soon

@conradoplg conradoplg merged commit c9fbc44 into master May 17, 2022
@conradoplg
Copy link
Contributor Author

#35

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

Successfully merging this pull request may close these issues.

None yet

2 participants