-
Notifications
You must be signed in to change notification settings - Fork 0
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
Splitting shipped and installed apps #9
Comments
see also: owncloud/core#30889 |
What if we move the shipped apps out and leave the good old apps for external apps? |
I don't quite understand where What about calling shipped apps |
Whatever the name is, this is what Christoph was suggestiong :) |
I think @ChristophWurst's proposal makes a lot of sense. Something like One thought regarding updating shipped apps via app store: Nextcloud whould have to always use the newest version of an app locally available, right? So if Text is shipped in The scenario of updating shipped apps via app store also is a good reason to not invent a new name for shipped apps in my opinion. Both are apps and both can be updated via app store. It's just that some of them are already shipped by default 🤷 |
We already do that. We cannot update/delete folders of shipped apps, it will cause integrity errors unfortunately |
I will ask all the packagers (VM, docker, snap, ...) for feedback on this, so we take into account what they face |
What about the other way around? No shipped versions, but those will be installed during installation. |
That breaks offline installs. But as outlined above an app can exist in multiple dirs and the newest version is used |
I'd vote for adding a setup warning if not at least two locations are provided. However I would not enforce it during the installation as it may break existing appliances. |
Well, existing appliances do not go through the setup process :) |
That is exactly why we'd move the current shipped apps. That doesn't require any change on existing setups. It will automatically work out of the box, shipped code we can move as we want and doesn't need a writable folder. And the downloaded appstore apps stay where they are |
Snap packager here. First of all: big fan of the idea. It's how we've shipped Nextcloud from the beginning: leaving the shipped apps read-only in the
Initially, I agreed with @ChristophWurst's proposal: leave the
If you move/change the purpose of the apps folder, you will invalidate all those deployed configs. Patching a user's config in an update is a hairy, risky process that I'd prefer to avoid, personally. So I lean more toward a new |
We could hardcode the new directory without adding it to config.php |
For the sake of my comment, let's say we're considering the following:
It's not entirely clear which one you're suggesting to hard-code (perhaps both), so I'll cover both here. Speaking only from the snap perspective, I don't immediately see an issue with hard-coding read-only access to (1) onto the Hard-coding writable access to (2) onto the |
Following some discussions that I've seen happening in the past and recently too
Proposal
On every setup, dev AND prod, having a read-only and read-write apps folders should be the preferred and official way.
Reasoning
apps
, update goes intoapps2
Questions
apps2
?custom_apps
?cc @PVince81 @ChristophWurst @nickvergessen @blizzz @juliushaertl @icewind1991
The text was updated successfully, but these errors were encountered: