Skip to content

docs: add more details in the features table #1066

Open

Description

@eharris

Please expand the capabilities tables as listed on http://rclone.org/overview/ to:

  • Add a column for DirModTime support
  • Add a column for DirCopy support (DirMove is already present)
  • Add a column for Folder support (see Manage folders #100)
  • Add a column for indicate support of some form of arbitrary metadata support

Thanks.

Activity

  1. ncw commented on Jan 25, 2017

    @ncw
    Member

    Add a column for DirModTime support

    Do you mean remotes where rclone will read the dir mod time if it is available (like drive, acd but not s3, swift)?

    Add a column for DirCopy support (DirMove is already present)

    I don't think anything supports DirCopy - at least rclone doesn't support calling it. There is a DirMove column.

    Add a column for Folder support (see #100)

    What do you mean by Folder support? Remotes which actually support the creation of folders like acd, google drive but not s3, swift? This is probably the same list as DirModTime if I'm understanding you correctly.

    Add a column for indicate support of some form of arbitrary metadata support

    Rclone doesn't support any sort of arbitrary metadata at the moment. Are you wondering what the remotes could support in the future?

  2. eharris commented on Jan 25, 2017

    @eharris
    ContributorAuthor

    For DirModTime, I mean exactly the same as the already present ModTime column, but for directories rather than files; i.e. that the storage method understands folders and supports setting of modtime for them.

    OpenDrive (#1026) supports DirCopy, hence the request to add the column. I realize that OpenDrive support isn't available yet, but I'm hoping it will happen soonish. I didn't realize none of the others supported it, but perhaps those need some investigation to verify.

    By folder support, yes, I mean to mark which remotes natively understand the concept of folders (and operations on them like mkdir/rmdir/set modtime, as discussed in the linked ticket).

    Yes, I realize that rclone doesn't support arbitrary metadata yet, but I believe at least ACD supports it (according to this comment on #371) and there's already another ticket asking for support of it (#111), and I hope that support for using backend-specific metadata capabilities within rclone will be available at some point in the not too distant future. Having those capabilities listed would be helpful for future implementation plans.

  3. added this to the v1.36 milestone on Jan 27, 2017
  4. ncw commented on Jan 27, 2017

    @ncw
    Member

    OK I'll see what I can do. Any help much appreciated so any answers you can find - please place in the ticket.

    The metadata bit might be complicated - there are restrictions, etc. But the total length of the metadata supported would be a useful thing to know - and if that would fit an encrypted name+hash then that solves a lot of the crypt problems.

  5. eharris commented on Jan 31, 2017

    @eharris
    ContributorAuthor

    I've made a first pass at adding the doc info and code to support DirCopy/DirCopier. I'm about to create a pull request to get comments. Pull request #1081.

    For the purposes of the documentation changes, I've assumed that none of the remotes implemented so far provide DirCopy. Most remotes seem to not even support DirMove, so I consider it extremely unlikely they would provide copy. I'll let anyone that knows the remotes in more detail submit corrections.

  6. modified the milestones: v1.36, v1.37 on Mar 1, 2017
  7. modified the milestones: v1.37, v1.38 on Jul 19, 2017
  8. 2 remaining items

  9. modified the milestones: v1.39, Soon on Jan 11, 2018
  10. darkdragon-001 commented on Jun 20, 2020

    @darkdragon-001
    Contributor

    Any progress here?

    Additional request: Add row for Minio.

  11. ncw commented on Jun 20, 2020

    @ncw
    Member

    There is some specific things about minio here: https://rclone.org/s3/#minio

    Note also with v1.52 you can run rclone backend features remote: to see info about what each backend does support.

  12. ivandeex commented on Nov 27, 2020

    @ivandeex
    Member

    Marking important as three important issues depend on inventory of backend capabilities (and it looks like a low hanging fruit).

  13. ncw commented on Nov 29, 2020

    @ncw
    Member

    rclone backend features remote: gives the definitive list of what any given remote: is capable of.

    There is quite a lot of stuff in there!

    I'll mark stuff which is in the overview table already

    We can expose stuff which isn't there fairly easily but I don't want to make the table too big! There are also some internal stuff in there which isn't that interesting.

    The OP suggested several things which we don't have feature flags for so if we wanted to add those we need to add them to the Features first.

    Maybe we should have the below in the backend docs (auto generated maybe and prettied up a bit into a table).

    $ rclone backend features /
    {
            "Name": "local",
            "Root": "/",
            "String": "Local file system at /",
            "Precision": 1,                                 # in overview - precision not shown but capability yes/no is
            "Hashes": [                                     # in overview
                    "MD5",
                    "SHA-1",
                    "Whirlpool",
                    "CRC-32",
                    "DropboxHash",
                    "MailruHash",
                    "QuickXorHash"
            ],
            "Features": {
                    "About": true,                          # in overview
                    "BucketBased": false,
                    "BucketBasedRootOK": false,
                    "CanHaveEmptyDirectories": true,        # in overview
                    "CaseInsensitive": false,               # in overview
                    "ChangeNotify": false,
                    "CleanUp": false,                       # in overview
                    "Command": true,
                    "Copy": false,                          # in overview
                    "DirCacheFlush": false,
                    "DirMove": true,                        # in overview
                    "Disconnect": false,
                    "DuplicateFiles": false,                # in overview
                    "GetTier": false,
                    "IsLocal": true,
                    "ListR": false,                         # in overview
                    "MergeDirs": false,
                    "Move": true,                           # in overview
                    "OpenWriterAt": true,
                    "PublicLink": false,                    # in overview
                    "Purge": true,                          # in overview
                    "PutStream": true,                      # in overview
                    "PutUnchecked": false,
                    "ReadMimeType": false,                  # in overview
                    "ServerSideAcrossConfigs": false,
                    "SetTier": false,
                    "SetWrapper": false,
                    "Shutdown": false,
                    "SlowHash": true,
                    "SlowModTime": false,
                    "UnWrap": false,
                    "UserInfo": false,
                    "WrapFs": false,
                    "WriteMimeType": false                  # in overview
            }
    }
    
  14. ivandeex commented on Nov 29, 2020

    @ivandeex
    Member

    auto generated maybe and prettied up a bit into a table

    The summary table has and will have references for human reader convenience. Auto-generation of sumnary table will either ruin it or become too complex. Auto-generation into backend docs with manual cherry picking into summary table (or tables) seems viable, though boring.

  15. changed the title [-]Documentation: Expand storage systems capabilities tables[/-] [+]docs: add more details in the features table[/+] on Mar 18, 2021
  16. ivandeex commented on Mar 18, 2021

    @ivandeex
    Member

    related to #5114

  17. ivandeex commented on Sep 26, 2021

    @ivandeex
    Member

    @ncw @albertony
    SetModTime of some backends can return ErrorCantSetModTimeWithoutDelete. Examples are Dropbox and Jottacloud.
    I propose to mark these as having Partial mod-time support in the features table. It was noted in #5628

    Currently one can only grep -r ErrorCantSetModTimeWithoutDelete ./backend/ to find out. I propose to add a field named eg. QuirkyModTime in the Features structure. Backend developers will fill this field manually in the code.

    Users could use rclone backend features to see it. A future feature table generator could also benefit from it.

  18. albertony commented on Sep 26, 2021

    @albertony
    Contributor

    SetModTime of some backends can return ErrorCantSetModTimeWithoutDelete. Examples are Dropbox and Jottacloud.

    Jottacloud returns ErrorCantSetModTime. I guess ErrorCantSetModTime means: Re-upload necessary to set modtime (if the backend supports mod-time at all, is there a distinction?). While ErrorCantSetModTimeWithoutDelete means re-upload is not even enough - one must first delete existing, then re-upload (ut backend definitely supports mod-time).

    I propose to add a field

    Definitely needs to make it more clearer, yes. Mention the case where modtime will be stored and used for comparison during sync etc, but modtime-only changes will just be silently ignored for some commands - such as mount. Currently ModTime: Yes can mean several different things.. (has made me confused at least: #5627, #5628).

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions