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: merge migration script with ceramic-one #190

Conversation

AaronGoldman
Copy link
Contributor

Usage: ceramic-one events slurp
-i, --input-ipfs-path <INPUT_IPFS_PATH>
The path to the ipfs_repo [eg: ~/.ipfs/blocks]
-c, --input-ceramic-db <INPUT_CERAMIC_DB>
The path to the input_ceramic_db [eg: ~/.ceramic-one/db.sqlite3]
-o, --output-ceramic-path <OUTPUT_CERAMIC_PATH>
The path to the output_ceramic_db [eg: ~/.ceramic-one/db.sqlite3]

Copy link

linear bot commented Nov 17, 2023

WS1-1342 Move migration script to the ceramic-one binary

DOD:

  • The migration script can be called via the ceramic-one binary

#[clap(name = "migration", about, author, version, about)]
struct Cli {
#[derive(Subcommand, Debug)]
pub enum EventsCommand {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This EventsCommand will hold the Event processing tasks like making eventIDs for recon for blocks in the block store.

Usage: ceramic-one events slurp
  -i, --input-ipfs-path <INPUT_IPFS_PATH>
          The path to the ipfs_repo [eg: ~/.ipfs/blocks]
  -c, --input-ceramic-db <INPUT_CERAMIC_DB>
          The path to the input_ceramic_db [eg: ~/.ceramic-one/db.sqlite3]
  -o, --output-ceramic-path <OUTPUT_CERAMIC_PATH>
          The path to the output_ceramic_db [eg: ~/.ceramic-one/db.sqlite3]
@AaronGoldman AaronGoldman force-pushed the feature/ws1-1342-move-migration-script-to-the-ceramic-one-binary branch from 64ad599 to 69becc2 Compare December 13, 2023 18:47
@nathanielc nathanielc self-requested a review December 13, 2023 19:18
one/Cargo.toml Outdated Show resolved Hide resolved
@AaronGoldman AaronGoldman added this pull request to the merge queue Dec 18, 2023
Merged via the queue into main with commit c9bc5c6 Dec 18, 2023
4 checks passed
@AaronGoldman AaronGoldman deleted the feature/ws1-1342-move-migration-script-to-the-ceramic-one-binary branch December 18, 2023 18:25
@smrz2001 smrz2001 mentioned this pull request Jan 23, 2024
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
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.

3 participants