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
[cli][m] removes old paster cli commands #5129
Conversation
I removed the classes, extension paster cli commands still work checked with:
Also updated user add user (and checked that it works). Still WIP:
|
Great work @EvgeniiaVak ! The tests are failing because the Circle CI setup uses the old @tino097 @pdelboca this PR includes the changes in #5114 so perhaps we can close that one. |
yes, it works fine. |
@amercader |
@EvgeniiaVak do you need help to get this over the line? Looking at the failures they seem related to a file already gone from master. |
@amercader Ok, thanks, I'll update the branch from the master. |
# Conflicts: # .circleci/config.yml # ckan/cli/sysadmin.py # ckan/lib/cli.py
@amercader So this PR is now about adding the tests for ckan cli. I was trying to copy those from paster and remake them for click, and there is still one issue about zero exit code, when there probably shouldn't be one: #5158. And also there are already new tests at
|
@EvgeniiaVak if you could work on adding the missing tests on |
Co-Authored-By: Patricio Del Boca <patriciodelboca@gmail.com>
user add tests fail with sql exceptions
@amercader
And I found that maybe I need to update some settings for it to work? |
@EvgeniiaVak the tests run for me. Your error suggests you're using sqlite3, which was with the old test.ini. Try running them like this:
|
@EvgeniiaVak Thanks for all the work on this! I hope you don't mind but I've done a bit of tidying up and created a new PR: #5264 |
Thank you @davidread! |
Fixes #5110
Note
The order of where to pass flags has changed:
before they were put at the end:
now after
ckan
:Proposed fixes:
Features: