You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The easiest would be to have files_external as a single separate repo.
But if the unit tests would take too long, then we can maybe separate them further into a structure like:
files_external_core: the code code for config, backend registration, etc
files_external_common: the common external storages like SFTP, FTP, SMB, WebDAV
files_external_3rdparty: dropbox, google drive
files_external_objectstore: Amazon S3, OpenStack
files_external_other: iRODS
Some points:
Feels like a lot of apps, people will still raise issues against core
People need to enable/install every app separately (might be ok)
Possibiliy for people to update the ext storage app earlier and not wait for the release ? But might be harder to sync them with core changes.
files_external_core: the code code for config, backend registration, etc
might even be valid to make this part of core - it's not that much code
files_external_other: iRODS
I really wonder if we shall carry around this piece any longer - it's not more than a POC and any followup projects are kind of stagnating. Maybe we can 'donate' the code to the customer
In general, I would strongly suggest to have one repository per app right away. E.g. it is pointless to have phpseclib as a dependency when only SMB is used.
This might however require proper dependency management first (probably easiest via composer). If foo and bar depend on libbarz, you do not want to have two copies of them. In fact, it is not possibly to have different versions of the same library loaded at the same time due to PHP restrictions.
For OC7 I suggest to only move the whole "files_external" directory into a separate repo. I don't want to invest too much time into splitting every extension right now.
I believe there is no more core code that depends on it (thanks to using the post_initmountpoint hook now), so that's a good thing.
There are still a few PRs from @Xenopathic, @ctjctj and me/@bantu regarding SWIFT that we should review and merge before moving.
We have to leave it like it is for now because of practical, packaging, permissions and other reasons. Let´s leave this open and discuss after 7 is out of the door.
FYI: we are about to setup a Ceph instance for testing. Ceph offers an S3 API as well as an SWIFT API. We can use that test instance for unit testing as well as development testing
Some of the server-server sharing code seems to rely on external storage (because it uses a webdav mount). We might need the time anyway to sort it out and think the moving process through.
So postponing to OC 8 sound sensible. (CC @icewind1991 @schiesbn)
@PVince81 Personally I consider server-server sharing to be a part of external storage, so I was surprised to see it implemented in files_sharing. Although that is a discussion for OC 8.
Some of the server-server sharing code seems to rely on external storage (because it uses a webdav mount).
I already requested that this dependency has to die - we don't want inter-app dependencies.
Under this perspective moving files_external away from core makes much more sense to perform it rather now then ever
Another follow up, slightly different: move files_external logic to core and the backends to separate repos. This is mostly to avoid inter-app dependencies: #18160
Activity
DeepDiver1975 commentedon Apr 2, 2014
For OC7 it might be valid to move files_external to one repo - splitting them into multiple might be to much for oc7 - agreed
DeepDiver1975 commentedon Apr 2, 2014
might even be valid to make this part of core - it's not that much code
I really wonder if we shall carry around this piece any longer - it's not more than a POC and any followup projects are kind of stagnating. Maybe we can 'donate' the code to the customer
bantu commentedon Apr 29, 2014
In general, I would strongly suggest to have one repository per app right away. E.g. it is pointless to have phpseclib as a dependency when only SMB is used.
This might however require proper dependency management first (probably easiest via composer). If foo and bar depend on libbarz, you do not want to have two copies of them. In fact, it is not possibly to have different versions of the same library loaded at the same time due to PHP restrictions.
PVince81 commentedon May 15, 2014
For OC7 I suggest to only move the whole "files_external" directory into a separate repo. I don't want to invest too much time into splitting every extension right now.
I believe there is no more core code that depends on it (thanks to using the post_initmountpoint hook now), so that's a good thing.
There are still a few PRs from @Xenopathic, @ctjctj and me/@bantu regarding SWIFT that we should review and merge before moving.
karlitschek commentedon May 15, 2014
We have to leave it like it is for now because of practical, packaging, permissions and other reasons. Let´s leave this open and discuss after 7 is out of the door.
DeepDiver1975 commentedon May 15, 2014
FYI: we are about to setup a Ceph instance for testing. Ceph offers an S3 API as well as an SWIFT API. We can use that test instance for unit testing as well as development testing
PVince81 commentedon May 27, 2014
Some of the server-server sharing code seems to rely on external storage (because it uses a webdav mount). We might need the time anyway to sort it out and think the moving process through.
So postponing to OC 8 sound sensible. (CC @icewind1991 @schiesbn)
RobinMcCorkell commentedon May 27, 2014
@PVince81 Personally I consider server-server sharing to be a part of external storage, so I was surprised to see it implemented in
files_sharing. Although that is a discussion for OC 8.DeepDiver1975 commentedon May 27, 2014
I already requested that this dependency has to die - we don't want inter-app dependencies.
Under this perspective moving files_external away from core makes much more sense to perform it rather now then ever
PVince81 commentedon May 28, 2014
I'm not 100% sure about that dependency though. @icewind1991 can you clarify ?
DeepDiver1975 commentedon May 28, 2014
The dependency exists due to reuse of the DAV class:
#8399 (comment)
PVince81 commentedon Oct 22, 2014
Let's follow up here: #11717
PVince81 commentedon Oct 31, 2014
Closing as not feasible due to licensing issue.
@karlitschek mind explaining the licensing issue in more details ?
PVince81 commentedon Aug 10, 2015
Another follow up, slightly different: move files_external logic to core and the backends to separate repos. This is mostly to avoid inter-app dependencies: #18160