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

[test/do not merge] Add zoralabs-openzeppelin-contracts as a submodule to monorepo #352

Closed
wants to merge 1 commit into from

Conversation

oveddan
Copy link
Collaborator

@oveddan oveddan commented Nov 13, 2023

Draft trying out adding https://github.com/ourzora/openzeppelin-contracts-upgradeable as a submodule to the packages folder, allowing it to be included in the protocol monorepo. The reason to add it as a submodule is this way we can preserve commit history.

This paves the way to make it easier to install the contracts from the monorepo using forge.

@oveddan
Copy link
Collaborator Author

oveddan commented Nov 13, 2023

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@oveddan oveddan changed the title Add zoralabs-openzeppelin-contracts to monorepo Add zoralabs-openzeppelin-contracts as a submodule to monorepo Nov 13, 2023
@oveddan oveddan marked this pull request as draft November 13, 2023 22:26
@oveddan oveddan changed the title Add zoralabs-openzeppelin-contracts as a submodule to monorepo [test/do not merge] Add zoralabs-openzeppelin-contracts as a submodule to monorepo Nov 13, 2023
@iainnash
Copy link
Collaborator

What if we just copied the files in monorepo style?

@oveddan
Copy link
Collaborator Author

oveddan commented Nov 13, 2023

What if we just copied the files in monorepo style?

This is just a draft while I try a few things; I thought of doing that, and it's surely simpler, but then we lose the commit history from openzeppelins/contracts, which was the reason we created a fork originally for our version of that repo

@iainnash
Copy link
Collaborator

Hmm, I see. Could we copy in the original files then make another commit that makes the changes we made to those files? May be too difficult.

@oveddan oveddan closed this Nov 29, 2023
@iainnash iainnash deleted the add-zoralabs-openzeppeling-contracts branch January 11, 2024 15:36
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.

2 participants