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

occ: Add command app:rollout #29861

Closed

Conversation

Zocker1999NET
Copy link

@Zocker1999NET Zocker1999NET commented Nov 23, 2021

TODO:

  • test this manually
  • add unit tests if required

I still need to test this manually. If someone is faster than me, please do so, otherwise I will hopefully test this myself during the next week.
I did not found any tests for app commands so I'm interested in if this new command requires an test case or not. If I know where & how, I can add a test case for it.


This command allows something similar as requested in #22823.
It allows to enable/disable multiple apps in one command execution. Not installed apps will be downloaded & installed. This should be a useful command for multi server admins which use tools like Ansible to manage their Nextcloud instances.

It uses a similar syntax as aptitude: Any app name can either have a suffix + or - which mean:

  • +: install & enable given app
  • -: disable given app if enabled, otherwise ignore
  • no known suffix means that the app will be installed and enabled

e.g.: occ app:rollout spread+ twofactor- notes (order not important) will:

  • install & enable spread and notes
  • disable twofactor if installed

Signed-off-by: Felix Stupp [email protected]

@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@blizzz blizzz mentioned this pull request Mar 31, 2022
This was referenced Apr 7, 2022
@blizzz blizzz modified the milestones: Nextcloud 24, Nextcloud 25 Apr 21, 2022
Signed-off-by: Felix Stupp <[email protected]>
This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@blizzz blizzz mentioned this pull request Feb 1, 2023
@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
@blizzz blizzz mentioned this pull request Mar 7, 2023
@blizzz blizzz modified the milestones: Nextcloud 26, Nextcloud 27 Mar 9, 2023
This was referenced May 3, 2023
@skjnldsv skjnldsv mentioned this pull request May 9, 2023
@skjnldsv skjnldsv modified the milestones: Nextcloud 27, Nextcloud 28 May 9, 2023
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
@skjnldsv skjnldsv added the 2. developing Work in progress label Feb 21, 2024
@skjnldsv
Copy link
Member

As there is no feedback since a while I will close this ticket.
If you will decide to work on this feature again and if it hasn't been fixed or implemented already, feel free to re-open and solve the various conflicts.

Thanks for the interest in Nextcloud and the effort put into this! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants