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

Allow installing/removing/enabling/disabling multiple apps with occ app:install / etc. command #22823

Closed
Zocker1999NET opened this issue Sep 12, 2020 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement needs info stale Ticket or PR with no recent activity

Comments

@Zocker1999NET
Copy link

Zocker1999NET commented Sep 12, 2020

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
It is related to the problem of setting up a new instance using Ansible. I decided to also deploy certain apps while disabling other preinstalled apps while Ansible configures my Nextcloud instances. It is possible with Ansible to loop over the list of apps I want to enable / install, however it is very slow because of Ansible not being the fastest deployment solution, but also occ has a slight overhead.

Describe the solution you'd like
Allow the following occ commands to manage multiple apps at once:

  • app:install
  • app:enable
  • app:disable
  • app:remove
  • app:update

An example usage would be php occ app:install twofactor_admin twofactor_backupcodes twofactor_gateway twofactor_u2f.

Describe alternatives you've considered
If there is another way to command Nextcloud to install a given list of apps, it may be an good alternative. But also supporting multiple app ids on certain occ commands should not be too complicated to implement and maintain, and also should not break anything.

Additional context
Other "package managers" allow this behavior too, like apt / dpkg / pacman / …

@Zocker1999NET Zocker1999NET added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Sep 12, 2020
@szaimen
Copy link
Contributor

szaimen commented Jun 11, 2021

cc @nextcloud/server-triage is this feasible?

@ghost
Copy link

ghost commented Jul 11, 2021

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@ghost ghost added the stale Ticket or PR with no recent activity label Jul 11, 2021
@ghost ghost closed this as completed Jul 25, 2021
@joshtrichards
Copy link
Member

Related to #11274 which was completed via #13850

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

3 participants