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

feat(dre): added registry dump #150

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

NikolaMilosa
Copy link
Contributor

The PR allows you to:

  1. Do a dump of the mainnet registry of latest version. Here a temporary folder will be created and deleted at the end of the sync.
bazel run //rs/cli:dre -- dump-registry
  1. Do a dump of a custom networks registry of some version.
bazel run //rs/cli:dre -- --network <nns-url> dump-registry --version <version> 
  1. Do a dump of a cached registry. The cached registry will first be upgraded to the latest version and then the specified version will be dumped. If the --path parameter is passed the cached registry will not be destroyed at the end of the action.
bazel run //rs/cli:dre -- dump-registry --version <version> --path <path>

@NikolaMilosa NikolaMilosa requested a review from a team as a code owner February 2, 2024 11:48
Copy link
Contributor

@pietrodimarco-dfinity pietrodimarco-dfinity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice :) THX

@NikolaMilosa NikolaMilosa added this pull request to the merge queue Feb 5, 2024
Merged via the queue into main with commit 7e26ce4 Feb 5, 2024
3 checks passed
@NikolaMilosa NikolaMilosa deleted the nm-dre-registry-dump-with-backend branch February 5, 2024 06:01
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