Skip to content

Move files_external to external repo #8002

Closed

Description

@PVince81

The purpose of this is mainly to make Jenkins / CI work for external storage.

See #7897 (comment)
And #7897 (comment)

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:

  1. Feels like a lot of apps, people will still raise issues against core
  2. People need to enable/install every app separately (might be ok)
  3. 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.
  4. I'm not sure this is backportable.
  5. Additional work is needed to make backend registration work from separate apps: Files External: allow dynamic backend registration (cont'd) #3548

I don't feel comfortable doing this right away for OC 7 as there might be additional issues / testing needed.

Let's discuss @DeepDiver1975 @karlitschek

Activity

  1. DeepDiver1975 commented on Apr 2, 2014

    @DeepDiver1975
    Contributor

    I don't feel comfortable doing this right away for OC 7 as there might be additional issues / testing needed.

    For OC7 it might be valid to move files_external to one repo - splitting them into multiple might be to much for oc7 - agreed

  2. DeepDiver1975 commented on Apr 2, 2014

    @DeepDiver1975
    Contributor

    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

  3. bantu commented on Apr 29, 2014

    @bantu

    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.

  4. PVince81 commented on May 15, 2014

    @PVince81
    ContributorAuthor

    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.

  5. karlitschek commented on May 15, 2014

    @karlitschek
    Contributor

    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.

  6. DeepDiver1975 commented on May 15, 2014

    @DeepDiver1975
    Contributor

    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

  7. PVince81 commented on May 27, 2014

    @PVince81
    ContributorAuthor

    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)

  8. RobinMcCorkell commented on May 27, 2014

    @RobinMcCorkell
    Contributor

    @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.

  9. DeepDiver1975 commented on May 27, 2014

    @DeepDiver1975
    Contributor

    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

  10. PVince81 commented on May 28, 2014

    @PVince81
    ContributorAuthor

    I'm not 100% sure about that dependency though. @icewind1991 can you clarify ?

  11. DeepDiver1975 commented on May 28, 2014

    @DeepDiver1975
    Contributor

    The dependency exists due to reuse of the DAV class:
    #8399 (comment)

  12. added this to the milestone on Sep 10, 2014
  13. PVince81 commented on Oct 22, 2014

    @PVince81
    ContributorAuthor

    Let's follow up here: #11717

  14. PVince81 commented on Oct 31, 2014

    @PVince81
    ContributorAuthor

    Closing as not feasible due to licensing issue.

    @karlitschek mind explaining the licensing issue in more details ?

  15. modified the milestones: , on Jan 9, 2015
  16. PVince81 commented on Aug 10, 2015

    @PVince81
    ContributorAuthor

    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

  17. locked as resolved and limited conversation to collaborators on Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions