-
Notifications
You must be signed in to change notification settings - Fork 448
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
store: support registering to a specific store #2479
store: support registering to a specific store #2479
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think we should call this store
instead of store-id
- there are unfortunately many ways to refer to a store, and the API docs call it store
Codecov Report
@@ Coverage Diff @@
## master #2479 +/- ##
=========================================
Coverage ? 89.94%
=========================================
Files ? 198
Lines ? 13367
Branches ? 2024
=========================================
Hits ? 12023
Misses ? 921
Partials ? 423
Continue to review full report at Codecov.
|
3e0ec18
to
bd3010c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have full context on store IDs but the overall implementation looks sane.
Add a --store-id option to the register command. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Co-Authored-By: sergiusens <sergio.schvezov@canonical.com>
Revert mass store_id rename to only the user facing bits as store is an object used in decorators and contexts that take precedence Add an integration test for a valid registration and an invalid one. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
7e7af7e
to
1ebf63f
Compare
Add a --store-id option to the register command.
Signed-off-by: Sergio Schvezov sergio.schvezov@canonical.com
./runtests.sh static
?./runtests.sh tests/unit
?