Skip to content

Update SabreDAV to 2.0 #12876

Closed
Closed

Description

@PVince81

@DeepDiver1975 let's use this ticket to track the steps required to upgrade SabreDAV to 2.0

Here are a few things I spotted already (not sure if related, but will add them here as part of the wanted refactoring):

  • update 3rdparty Sabre
  • move custom properties into a plugin, only return the requested ones

Activity

  1. PVince81 commented on Dec 16, 2014

    @PVince81
    ContributorAuthor
    • try and move all the custom code we put in the local clone of "Server.php" into plugins
  2. osos commented on Dec 16, 2014

    @osos

    Please update to SabreDav 2.1.x to include scheduling support.

    SabreDAV 2.0.x will only be supported until November 2015: http://sabre.io/dav/upgrading/

    Both require PHP version >=5.4

  3. georgehrke commented on Dec 17, 2014

    @georgehrke
    Contributor

    I guess as feature freeze is only 14 days to go and most will be unavailable in next 2 weeks this will not make it into ownCloud 8, right?

  4. DeepDiver1975 commented on Dec 17, 2014

    @DeepDiver1975
    Contributor

    We will do this in the next dev cycle.

  5. dagbdagb commented on Jan 4, 2015

    @dagbdagb

    I presume this also means that sabre/vobject will see an update. I have a vcf-file which sabre/vobject 3.3.4 claims is perfect. But OC 7.0.4 (which employs an older version of vobject) bombs on it.

  6. PVince81 commented on Feb 11, 2015

    @PVince81
    ContributorAuthor

    Sabre 2's HttpClient makes it possible to manipulate headers (request/response) which we would need to improve DAV client performance, see #12228 (comment)

  7. added this to the milestone on Feb 11, 2015
  8. DeepDiver1975 commented on Feb 11, 2015

    @DeepDiver1975
    Contributor

    Sabre 2's HttpClient makes it possible to manipulate headers (request/response) which we would need to improve DAV client performance, see #12228 (comment)

    okay - lets go for it - but we have to do this fast to get major test time on this - THX

  9. PVince81 commented on Feb 12, 2015

    @PVince81
    ContributorAuthor

    How to do this ?

    Is it a matter of updating composer.json and running composer in the 3rdparty folder, then committing ?

  10. DeepDiver1975 commented on Feb 12, 2015

    @DeepDiver1975
    Contributor

    Is it a matter of updating composer.json and running composer in the 3rdparty folder, then committing ?

    changes on 3rdparty have to be done in a branch - in addition we require a branch/pr here in core to see unit test execution

  11. PVince81 commented on Feb 12, 2015

    @PVince81
    ContributorAuthor

    I edited "composer.json" and set the sabre/dav version to 2.1.0.

    If I do "composer update" it updates too much, so I tried again from scratch with:
    composer update sabre/dav --with-dependencies

    and get this:

    Loading composer repositories with package information
    Updating dependencies (including require-dev)
      - Installing sabre/event (2.0.1)
        Loading from cache
    
      - Installing sabre/http (3.0.4)
        Loading from cache
    
      - Removing sabre/vobject (2.1.3)
      - Installing sabre/vobject (3.3.5)
        Loading from cache
    
        Skipped installation of bin bin/vobject for package sabre/vobject: name conflicts with an existing file
        Skipped installation of bin bin/generate_vcards for package sabre/vobject: name conflicts with an existing file
      - Removing sabre/dav (1.8.12)
      - Installing sabre/dav (2.1.0)
        Loading from cache
    
        Skipped installation of bin bin/naturalselection for package sabre/dav: name conflicts with an existing file
    Writing lock file
    Generating autoload files
    

    Should I also manually update the lock file or does composer does it by itself ?

  12. PVince81 commented on Feb 12, 2015

    @PVince81
    ContributorAuthor

    When I did the full composer update it didn't have any conflicts, but it also updated symphony and patchwork, which we probably don't want (I'll check @icewind1991's PR for the symphony update owncloud-archive/3rdparty#156)

  13. DeepDiver1975 commented on Feb 12, 2015

    @DeepDiver1975
    Contributor

    Should I also manually update the lock file or does composer does it by itself ?

    composer will update the lock file all by himself - the lock file should be checked in.

    I'd say this looks good

  14. PVince81 commented on Feb 12, 2015

    @PVince81
    ContributorAuthor

    Should we ignore this then:

    Skipped installation of bin bin/vobject for package sabre/vobject: name conflicts with an existing file
    
  15. self-assigned this
    on Feb 12, 2015
  16. PVince81 commented on Feb 12, 2015

    @PVince81
    ContributorAuthor

    3rdparty PR is here: owncloud-archive/3rdparty#158

    I'll submit one to core later once I get it running (need to make changes in connector/sabre)

  17. PVince81 commented on Feb 12, 2015

    @PVince81
    ContributorAuthor

    Hmmmm right... I didn't know. I'll update it to 2.1.2 then.

  18. PVince81 commented on Feb 13, 2015

    @PVince81
    ContributorAuthor

    This would make it possible to make Sabre Client keep cookies instead of re-authing every time when connecting to a remote ownCloud (federation), see #12228

  19. PVince81 commented on Feb 13, 2015

    @PVince81
    ContributorAuthor

    Sabre update PR for core is here: #14151

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions