-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Feature Request] improvement for update location for shipped apps #30904
Comments
Doing some research, a question raises. The code where you would need to do changes is in /core/lib/private/Installer.php#L224
My question: true or false ?? If true: this issue can be closed and this behaviour should be documented. |
@mmattel |
@VicDeo thanks, I have seen that there is no shipped tag in info.xml anymore. Based on that, I assume my statements above - core apps (eg as part of the tar ball) are never updated independent of a new owncloud release. This is what I wanted to clarify by my finding when going thru the code. A result of this finding can be a documentation improvement:
|
OK, my assumption that core apps are never independently updated is definitely wrong. Statement: core apps can be independently updated The reason for this is easy: This means, that my initial driver for this issue is valid and the proposal to treat core shipped apps differently with respect to the upgrade location is correct. @PVince81 @patrickjahns @tboerger |
@mmattel templateeditor is no longer shipped since 10.0.8 ;) |
Thanks @VicDeo . |
Within the docker image the updated app gets installed into the persistent apps folder, the bundled app is not used in that case anymore. |
Just for completeness. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Referencing:
Issue: #29839 ([Feature Request] make the apps-external folder default used in new installations)
PR: #30889 (Add per default the apps-external directory in config.php during installation)
Prerequisit:
You install ownCloud where the key
apps_path
gets added by default or you have manually added the key (plus moving manually added apps to theapps-external
directory). Important:apps/
is marked readonly andapps-external
is writeable.In case yo do not use the
apps_path
key (meansapps/
is writeable) it does not matter !Situation:
apps-external
, and the directory is set to write, the update automatically goes to this directory.apps-external
too. Rememberapps
is read only.apps
.The beauty of having
apps
andapps-external
is the extremly ease of owncloud upgrades with respect of apps file handling and keeping a good overview respectively easy distinguish between what is shipped with core and what is downloaded manually.In case of 2.) an update of a core app would now go into
apps-external
which is not a problem but uglifies what was beauty before. You have now a mix between core and manually downloaded apps inapps-external
and carry this (remember only because it was an emergency update of a shipped app which will be part of the regular owncloud update anyways and part ofapps
) forever except you manually delete it after an owncloud upgrade.Feature Request:
Add a functionality, maybe enfored with a key like
coreapps.update.location.original => true
- tbd, that core shipped apps are always written to their original location, not "polluting/uglyfying"apps-external
. Again no change if there is onlyapps
.@PVince81 @cdamken
The text was updated successfully, but these errors were encountered: