-
Notifications
You must be signed in to change notification settings - Fork 6
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
OKI code review #41
Comments
Travis build fixed (coveralls repo enabled after rename) |
We have not had plans to implement all of this as we went with user stories that were more minimal and focused on publish only.
I'm still rather unclear on good practice with jwt. Giving out an infinitely lived token in the jwt seems to me problematic so we have a model where you have an access key that you can use (like an API key) and you submit that to get a jwt that you can use throughout a request cycle e.g. for publish.
At the moment we do validate the json before pushing but not the data. Are you asking that we validate data too. Definitely something sensible to do but not MVP. |
@rgrp the user stories are/where a way to order the requirements, not replace them. In any event, all but one of the API methods there are directly relevant to publishers: list, create, update, read, validate, delete. |
@pwalsh that was not how i had understood it. We did user stories and then picked prioritized ones. There is a bunch of stuff in the requirements that were not in the prioritized user stories. Let me be clear: I think requirements are good too - just not what we have been working off. |
@rgrp currently, the validation of the DP is not profile-aware, and profile-specific validation is built into |
@pwalsh The dpm name is already taken on the pypi. Can we pick dpmpy or any other name to publish there? Or maybe someone can convince current owners to release it for us? (they seem to abandon it 4 years ago) |
[setup][s]: get package version in standard OKI way - refs #41.
@pwalsh I'm still stuck re pypi because i don't have access to my account anymore. I've requested access to my account again here https://sourceforge.net/p/pypi/support-requests/685/ (but that was 2m ago and nothing has moved!) |
click
functions, andsys.exit
, and in general is still written as if it is to be run in the shell. The result is that it is not very useful as a python client lib.do_publish
anddo_validate
exhibit the above,do_configure
is littered withprint
and does not, for example, do something useful like return the file path for the config, or the config object itself. Small things that could make a big difference if this is to be used as a python clientDEFAULT_SERVER
config with no way to override it?validate
andpublish
. The requirements for the CLI are quite clear and much more extensive.The text was updated successfully, but these errors were encountered: