Page MenuHomeSoftware Heritage

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

Authored by douardda on Wed, May 15, 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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Wed, May 15, 5:13 PM
ardumont accepted this revision.Thu, May 16, 4:20 PM
This revision is now accepted and ready to land.Thu, May 16, 4:20 PM
douardda updated this revision to Diff 4855.Thu, May 16, 5:05 PM

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

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