-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Nothing is new_ #1753
Comments
:) All I would say based on experience is that git does not like file renames when they are ambiguous. eg. if we change
Templates: Also delete every legacy template and every failing test caused by this (yes you would loose test coverage but test coverage of unused templates/workflows is sort of pointless) - @seanh will never agree to this I suspect. |
I'd be happy to delete the legacy templates and their tests, actually, as I doubt the tests are very helpful. I'd be even happier to see new frontend tests though! I agree with all the renaming if it can be done practically |
Do we also bite the bullet and change |
+1, just a warning that we might break extensions that have imported new_tests. e: https://github.com/ckan/ckan/blob/master/ckan/ckan_nose_plugin.py#L20 when renaming new tests, this needs to be fixed as well. |
@tobes I don't think that's likely to happen until the next complete template rewrite (same for action api package methods) but I do support it |
@tobes lib.authz is a good suggestion, it seems untidy to have it at the root and that would match better with lib.search etc. But it's always seemed funny to me that things that call other parts of ckan are under 'lib' though. 'lib' to me says "separate library we've pulled in to our source tree". The authorization is tied deeply with the rest of ckan. |
Do we want to bite the bullet on some of these? I personally would like to see the As per deleting the old templates, see #1772 |
Yes, I would like to try to knock some of these off before they are even more entrenched |
…nst ckanext-harvest/spatial/archiver/qa.
Thank you @vitorbaptista @amercader @davidread @joetsoi !!! |
👍 |
Targets for renaming:
templates/package/new_package_form.html
Two-stage dataset create + introduce some functional tests for new_tests #1659new_authz.py
rename new_authz.py to authz.py #1995tests
becometests/legacy
[#1753] Rename tests -> tests_legacy. #2221new_tests
becometests
rename new_tests -> tests #2349The text was updated successfully, but these errors were encountered: