-
Notifications
You must be signed in to change notification settings - Fork 180
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
Implement strict mode checkbox for sync runs #7708
Implement strict mode checkbox for sync runs #7708
Conversation
Suggested tests to cover this Pull Request
|
459d1d7
to
0aaf18a
Compare
👋 Hello! Thanks for contributing to our project. If you are unsure the failing tests are related to your code, you can check the "reference jobs". These are jobs that run on a scheduled time with code from master. If they fail for the same reason as your build, it means the tests or the infrastructure are broken. If they do not fail, but yours do, it means it is related to your code. Reference tests: For more tips on troubleshooting, see the troubleshooting guide. Happy hacking! |
24f5ffb
to
0227d0e
Compare
2ce4c27
to
1e98b2c
Compare
1b04a1c
to
572469d
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.
Thank you for taking care of Cucumber tests! I added few comments. I will be out on Monday, but we can discuss it on Tuesday.
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.
Think about the changelogs. When you read this as an admin, what do you want to know about this change and the new feature. It is ok, if the entry is a bit longer.
java/spacewalk-java.changes.rrichardson.reposync_package_deletion
Outdated
Show resolved
Hide resolved
see: SUSE/spacewalk#22420 This PR includes: 1. Added no-strict parameter handling in SyncRepositoriesAction.java, RepoSyncTask.java, and spacewalk-repo-sync. 2. Introduced a checkbox in syncrepos.jsp for user control, with accompanying text in StringResource_en_US.xml. 3. Adjusted RepoSync class in reposync.py to process the new parameter. Tested the functionality to ensure correct flag passing and expected behavior on toggling strict mode from the frontend.
572469d
to
9ced60e
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.
Python changes LGTM
python/spacewalk/spacewalk-backend.changes.rrichardson.reposync_package_deletion
Outdated
Show resolved
Hide resolved
9ced60e
to
7173575
Compare
5330990
to
e1b2eba
Compare
e1b2eba
to
e94f09f
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.
Java code change looks good.
What does this PR change?
see: https://github.com/SUSE/spacewalk/issues/22420
Also added a cucumber test, and did manual testing to ensure correct flag passing and expected behavior when toggling no-strict mode from the frontend.
GUI diff
Documentation
Test coverage
Cucumber tests were added:
testsuite/features/reposync/srv_sync_repo_sync.feature
https://ci.suse.de/view/Manager/view/Uyuni-PRs/job/uyuni-prs-ci-tests/2640/
Changelogs
Re-run a test