Skip to content
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

Fix expire commands and background job when trash and/or version apps are disabled #1849

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

CarlSchwan
Copy link
Member

@CarlSchwan CarlSchwan commented Dec 30, 2021

Fix #1815

Fix #1812

For the background jobs, split the version expiration and trash expiration in two separate jobs. Both use the same placeholder in case the respective app is not enabled.

For the commands, create 4 different versions (using inheritance) with the 4 different combo enabled/disabled.

Signed-off-by: Carl Schwan [email protected]

@CarlSchwan CarlSchwan added the 3. to review Items that need to be reviewed label Dec 30, 2021
@CarlSchwan CarlSchwan self-assigned this Dec 30, 2021
@CarlSchwan
Copy link
Member Author

/backport to stable23

Copy link
Contributor

@fschrempf fschrempf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks good to me, but I'm not familiar enough with the codebase to provide a thorough review at the moment. It would be good if someone could do a bit of testing with the different cases (trash & versions disabled, trash enabled, versions enabled, trash & versions enabled).

@CarlSchwan CarlSchwan force-pushed the fix/optional-dependencies branch 3 times, most recently from 9940ac5 to 49a3e10 Compare January 6, 2022 16:40
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure you test before merge.

@CarlSchwan
Copy link
Member Author

Tested with the 4 combinations and everything work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Items that need to be reviewed regression
Projects
None yet
4 participants