Page MenuHomeSoftware Heritage

cli: add a 'storage' cli group with a 'serve' subcommand
ClosedPublic

Authored by douardda on May 15 2019, 5:13 PM.

Details

Summary

we do add this 'storage' group even if it contains only one subcommand
(serve) for UI consistency:

swh storage server

is a more understandable command than just 'swh storage' to start the
http server.

We do keep the main swh-storage console_script entry point as is for
bw compat, however.

Related to T1671.

Diff Detail

Repository
rDSTO Storage manager
Branch
master
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 5733
Build 7847: tox-on-jenkinsJenkins
Build 7846: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 16 2019, 4:20 PM

rename the 'serve' subcommand as 'rpc-serve'

This revision was landed with ongoing or failed builds.May 16 2019, 5:29 PM
This revision was automatically updated to reflect the committed changes.