Mokhtar Naamani 2f05da0c6d types v0.17.2 2 năm trước cách đây
..
bin be24525647 Sumer-Giza migration scripts 3 năm trước cách đây
src 00a1f6875e Merge branch 'giza' into update-giza-staging 2 năm trước cách đây
.eslintignore be24525647 Sumer-Giza migration scripts 3 năm trước cách đây
.gitignore be24525647 Sumer-Giza migration scripts 3 năm trước cách đây
.prettierignore 75ed426cc3 Migration script: Wait for finalization, improve error handling and logging 2 năm trước cách đây
README.md 50bd731437 Remove storage auth, remove category migrations, add a way to force custom channel owner 2 năm trước cách đây
package.json 2f05da0c6d types v0.17.2 2 năm trước cách đây
tsconfig.json be24525647 Sumer-Giza migration scripts 3 năm trước cách đây

README.md

migrations

Joystream migrations scripts

oclif Version Downloads/week License

migration-scripts help [COMMAND]

display help for migration-scripts

USAGE
  $ migration-scripts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

migration-scripts sumer-giza:migrateContent

USAGE
  $ migration-scripts sumer-giza:migrateContent

OPTIONS
  -c, --channelIds=channelIds                                  (required) Channel ids to migrate
  --channelBatchSize=channelBatchSize                          [default: 20] Channel batch size

  --dataDir=dataDir                                            [default: /tmp/joystream/sumer-giza-migration] Directory
                                                               for storing data objects to upload

  --forceChannelOwnerMemberId=forceChannelOwnerMemberId        Can be used to force a specific channel owner for all
                                                               channels, allowing to test the script in dev environment

  --migrationStatePath=migrationStatePath                      [default:
                                                               /home/leszek/projects/joystream/joystream-ws-2/utils/migr
                                                               ation-scripts/results/sumer-giza] Path to migration
                                                               results directory

  --preferredDownloadSpEndpoints=preferredDownloadSpEndpoints  [default: https://storage-1.joystream.org/storage]
                                                               Preferred storage node endpoints when downloading data
                                                               objects

  --queryNodeUri=queryNodeUri                                  [default: https://hydra.joystream.org/graphql] Query node
                                                               uri

  --sudoUri=sudoUri                                            [default: //Alice] Sudo key Substrate uri

  --uploadSpBucketId=uploadSpBucketId                          [default: 0] Giza storage bucket id

  --uploadSpEndpoint=uploadSpEndpoint                          [default: http://localhost:3333] Giza storage node
                                                               endpoint to use for uploading

  --videoBatchSize=videoBatchSize                              [default: 20] Video batch size

  --wsProviderEndpointUri=wsProviderEndpointUri                [default: ws://localhost:9944] WS provider endpoint uri
                                                               (Giza)

See code: src/commands/sumer-giza/migrateContent.ts

migration-scripts sumer-giza:retryFailedUploads

USAGE
  $ migration-scripts sumer-giza:retryFailedUploads

OPTIONS
  -f, --failedUploadsPath=failedUploadsPath      (required) Path to failed uploads file

  --dataDir=dataDir                              [default: /tmp/joystream/sumer-giza-migration] Directory where data
                                                 objects to upload are stored

  --uploadSpBucketId=uploadSpBucketId            [default: 0] Giza storage bucket id

  --uploadSpEndpoint=uploadSpEndpoint            [default: http://localhost:3333] Giza storage node endpoint to use for
                                                 uploading

  --wsProviderEndpointUri=wsProviderEndpointUri  [default: ws://localhost:9944] WS provider endpoint uri (Giza)

See code: src/commands/sumer-giza/retryFailedUploads.ts