Uh oh!
There was an error while loading. Please reload this page.
Experimental client: renaming - #1401
Conversation
Note that the names here are not package names: they're just module names where underscores can be used if it improves readability... but I'm fine with ngclient, no better ideas at the moment |
The reason I suggested |
jku
commented
May 20, 2021
I'll just correct myself here: they do seem to call any directory with I still maintain |
sechkova
commented
May 20, 2021
Agreed with @jku's review to move non-public modules to _internal. Also rebased on latest changes in experimental-client branch. |
jku
left a comment
There was a problem hiding this comment.
Thanks!
There's obviously many valid choices here but I'm happy with ones made here
jku
commented
May 21, 2021
For some reason github claims there are conflicts here after merging 1403 -- manual rebase works without any issues though? |
The current client and the next-gen client should coexist in the same repository during the ongoing development of the latter. Looking for a name which is client-related, short, meeting PEP8 package names requirements. Currently "ngclient" seems to fit in until a better proposal comes. Rename updater_rework.py to updater.py Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
Separate public/private API. Keep modules containing the piblic classes in the main client directory and move the rest to _internal. Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
Only "Updater" and "FetcherInterface" are considered public classes of the client. Exposing them in __init__.py makes usage and access simpler. Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
Use the same call of black, isort, pylint to cover multiple directories. Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
Restore coverage back to 97% but omit ngclient form the overall score until tests are implemented. Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
sechkova
commented
May 21, 2021
Yep, rebased. |
Fixes#1397
Description of the changes being introduced by the pull request:
Note: this is done on top of changes introduced by #1396Proposes the following client naming and directory structure:
Most significant changes:
client_rework->ngclient(next-gen-client): almost what @jku suggested but trying to avoid dashes (not accepted) and underscores (not recommended) in package names.ngclient/__init__.pynetwork.FetcherInterfaceis defined innetwork/__init__.pyinstead offetcher.pyPlease verify and check that the pull request fulfills the following
requirements: