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

Split the repository archive by match_type, chain and first byte. #1695

Open
marcocastignoli opened this issue Oct 14, 2024 · 6 comments
Open
Assignees

Comments

@marcocastignoli
Copy link
Member

marcocastignoli commented Oct 14, 2024

Let's implement what discussed in #1668

Revise the repository archive generation script to generate multiple zips with the format “match_type.chain.first_byte.zip” (e.g., “full_match.1.00.zip” will contain all mainnet full_match contracts with the address starting with 00).

The file system content of the archive must be identical to the repository (./match_type/chain/address/files), ensuring that decompressing all the archives in the same directory will suffice to reconstruct the repository without any additional actions.

@marcocastignoli
Copy link
Member Author

@kuzdogan kuzdogan self-assigned this Oct 24, 2024
@kuzdogan kuzdogan moved this from Sprint - Needs Review to Sprint - Up Next in Sourcify Public Oct 24, 2024
@kuzdogan
Copy link
Member

lgtm

@kuzdogan kuzdogan removed their assignment Oct 30, 2024
@OmarTawfik
Copy link

@kuzdogan thanks for working on this!
Looks like the repo above is private. I wonder if this has an ETA?

@marcocastignoli
Copy link
Member Author

marcocastignoli commented Oct 30, 2024

thanks for working on this! Looks like the repo above is private. I wonder if this has an ETA?

@OmarTawfik now it's public.

@OmarTawfik
Copy link

@marcocastignoli Thank you for the update!

I looked into repository-chain-archiver, and it seems that the script is now complete (?). However, looking at the docs, it seems that it is still describing the old zip files (that need to be concatenated together first to be processed).

I wonder if there is an ETA to start publishing the individual split zip files with the new format?

@marcocastignoli
Copy link
Member Author

@marcocastignoli Thank you for the update!

I looked into repository-chain-archiver, and it seems that the script is now complete (?). However, looking at the docs, it seems that it is still describing the old zip files (that need to be concatenated together first to be processed).

I wonder if there is an ETA to start publishing the individual split zip files with the new format?

The new script is not live yet. During the Devcon week we are slowing down on the development. I'll finalize this asap. Thanks for your interest

@manuelwedler manuelwedler moved this from Sprint - Up Next to Sprint - In Progress in Sourcify Public Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint - In Progress
Development

No branches or pull requests

4 participants