-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
[change] Changed the command to delete_old_radiusbatch_users #496 #502
Conversation
Hey @pandafy , please review the PR. |
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.
@praptisharma28 for future work, don't create new PRs for the same issue. You can update the PR by pushing (or force pushing) to the same branch. Creating multiple branches causes problems in reviews. If you are new to git, I highly recommend checking https://learngitbranching.js.org/.
I still found occurrences of delete_old_users
in the code
$ git grep 'delete_old_users' praptisharma28-commandchange
praptisharma28-commandchange:docs/source/user/management_commands.rst: ./manage.py delete_old_users --older-than-months <duration_in_months>
praptisharma28-commandchange:tests/openwisp2/sample_radius/management/commands/delete_old_radiusbatch_users.py:from openwisp_radius.management.commands.base.delete_old_users import (
Please pay attention to the requirements of the issue. We need to change all occurrences. Do a project wide search and change all occurrences.
This hints me that you didn't run the tests locally. Also, the QA checks are failing. Please run QA checks and tests locally every time before opening/updating a PR.
a88be38
to
b4e5deb
Compare
@pandafy , This qa checks didnt fail when I checked, may be something happened in the process, I am looking into it again, also I made an another branch and closed the previous PR because previously force pushing lead to PR check failure + I tried to now install linux and contribute, hence I created a new PR. Otherwise I would have forced push. |
Done @pandafy , commited the change, have a look again. Also why do the coveralls fail, the commit is written correctly right? I have done the same way earlier, they didnt fail at that time. |
fffaf71
to
781e375
Compare
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.
@praptisharma28 the QA checks are still failing, see here https://github.com/openwisp/openwisp-radius/actions/runs/7337741815/job/19985516754?pr=502#step:8:139
Run openwisp-qa-format
command to format the code properly.
68701cd
to
ceb3dc3
Compare
@pandafy , please check the latest commits. |
ceb3dc3
to
c45f649
Compare
@praptisharma28 the build is till failing. |
…openwisp#496 Changed "delete_old_users command" to "delete_old_radiusbatch_users" to help users understand the purpose of the command more clearly. Closes openwisp#496
cd2c4cd
to
950b9bc
Compare
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 good, @pandafy / @praptisharma28 we probably need to update ansible-openwisp2 and docker-openwisp right? If I am not mistaken this command is used there.
Can you please double check and create the issues?
@pandafy @praptisharma28 can you post the links to the opened issues here please? |
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.
I see the issue has been linked to the issue linked to this PR, here's the issues for reference:
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 .This change ensures proper functionality and maintains consistency. Closes openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
…p#294\n\nUpdated the command. Related to openwisp/openwisp-radius#502\n\nCloses openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
…p#294 Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
Updated the command. Related to openwisp/openwisp-radius#502 Closes openwisp#294
Changed delete_old_users command to delete_old_radiusbatch_users to help users understand the purpose of the command more clearly.
Closes #496