-
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 #121
Comments
About docs for users/permissions/roles being in #108 well, it is a closed issue :). Please add the documentation to the README so it is discoverable, and also add docstrings. About documenting About PUT and POST - your usage is at odds with the general usage of PUT and POST. Here is a simple description. I don't care for sticking to conventions for convention's sake, but in this case, it makes little sense to deviate from pretty clear usage of PUT and POST in rest API design. About purging, you are right, I missed that line. However, it made me realise that it is possible to purge one or the other and thereby lose the sync between bitstore and DB. Search and caching need to be done. They are really foundational aspects of the registry. We can discuss when the other major points are addressed. |
Moving to Backlog. A good amount was done in 19 Dec sprint and remaining items will get done at different times. |
FIXED. Mainly fixed. Main outstanding items are large things that are about major features (and Search is in progress). We can def revisit this in next round of reviewing. |
Please provide a stable URL to a staging version of the app (stable enough to be more or less up every day)
As far as I can see, zappa does not require one to add zappa-specific code into a codebase itself. However, our codebase has many references to Zappa. Why? If you need to inject one or a few Zappa variables, then do it as a context processor so such vars can be set cleanly in one place, rather then as part of function signatures throughout the codebase
FYI Flask has a built-in CLI for management scripts, making the old Flask migrate package obsolete.
Please don't have fake/dummy data in the actual codebase. What is this function here for anyway?
More dummy data here makes me wonder if these commands work for general usage? Why are they in the codebase and not, for example, in the test suite?
admin
user to start with.Please use Postgres 9.5 or 9.6
Is there a valid reason, such as a dependency that we don't need, to not support Python 3?
most libraries (including Werkzeug and Flask) might not quite as stable on Python 3 yet. You might therefore sometimes run into bugs that are usually encoding-related.
There are a range of roles here. I need some documentation on users, publishers and roles please.
Tests that are "not 404" do not test that a page exists ;)
All new users are
OWNERS
?These bitstore tests as in the models test module. it is a bit confusing.
BitStore
, it has all s3 related operations. Thats why it is intest_model.py
fileSmall issue, but way repeat info across inheriting classes in config? e.g.: here and here. Related, if there is a development config, why is there not a production one too?
Related to similar notes here, I need a good explanation of the interaction between auth0 as a provider, our use of JWT, and the fact that we also have email/password.
We need more docstrings. For example, what actually is Catalog? I know data packages and this problem space in generally really well, but looking at the fields on the model, I'm not sure what catalog objects actually are. [fix] Fixes small issues from OKI code review #126
Is this a validate function for a data package? if yes, why like this, and if not, what is it?
PUT
and notPOST
- why?this pushes metadata to a database, but this only purges the filesystem and not the database
We don't yet have any search functionality at all, and some other API methods from the requirements are not implemented (ref.).
We don't cache resources if the DP has remote resources
While the client expects the server to validate data in data packages, I can't find any functionality where the server does this validation.
The text was updated successfully, but these errors were encountered: