-
Notifications
You must be signed in to change notification settings - Fork 310
Permanently delete deck cards marked as deleted after 5 min in a cron job #3279
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
Conversation
juliusknorr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pull request. I've made some comments on the code, but the general approach is fine 👍
juliusknorr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks code code wise, just some small nitpicking on the code style :)
|
@juliushaertl Hello, could you please check this out again? This seems to be a really useful PR. |
|
It seems the tests need some additional adjustments: |
|
@juliushaertl It would be really great to provide some kind of documentation for developers so they can set up the environment locally and test or fine-tune the development work using the fast-feedback loop of local testing instead of iterating based on the PR gating results. |
|
You're right, there is no specific developer documentation for deck, maybe you can open an issue for that so we can add something in the future. In general the local Nextcloud developer documentation should apply for most of the parts: https://docs.nextcloud.com/server/latest/developer_manual/getting_started/devenv.html Elsewise you also might be interested in https://github.com/juliushaertl/nextcloud-docker-dev if you perfer a out-of-the box docker based environment. |
|
Thank you @juliushaertl for triggering the tests and information about the documentation. I will try to set-up deck to run in my local docker. Meanwhile I've fixed another issue causing the tests to fail. Can you please retrigger them? Thanks. |
|
Hi @juliushaertl, I've found and fixed a bug in my code changes to the CardMapper. Can you please rerun the tests? I've managed to setup nextcloud running from a docker image, however did not manage to install deck there. Simple copying of its files did not help. Neither did I manage to run unit tests there. Is there some handbook to follow how to do that properly? Thanks and kind regards. |
|
Can we re-run the tests on this to get current failure logs? |
|
You should be able to trigger a new test run by rebasing and force pushing. |
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
@marcelklehr Thanks for merging so that the tests would run. I am interested in fixing this so that it can be merged, but this is not my PR, so I cannot write to the PR branch. Would you recommend that I fork it and create another PR to do this? The PHP error should be trivial to resolve, but I have no idea how to fix the Cypress tests, and we probably still need the author @3on108 to sign-off their commits, right? |
|
Hi @jivanpal, great you took this issue over. I got stuck on setting up nextcloud and deck to run locally or at least the tests. I can assist with anything needed. Not sure what signing-off commits, I'm a bit newbie to this. |
|
Pushed a rebased version of this with a fix for the test to #4194 since I couldn't push to the original branch. |
Summary
Added cron job to permanently delete deck cards 5 min after they are marked as deleted
TODO
Checklist