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
{{ message }}
Repository navigation
docs: add more details in the features table #1066
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?
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.
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.
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.
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
}
}
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.
@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.
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).
Activity
ncw commentedon Jan 25, 2017
Do you mean remotes where rclone will read the dir mod time if it is available (like drive, acd but not s3, swift)?
I don't think anything supports
DirCopy- at least rclone doesn't support calling it. There is aDirMovecolumn.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.
Rclone doesn't support any sort of arbitrary metadata at the moment. Are you wondering what the remotes could support in the future?
eharris commentedon Jan 25, 2017
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.
ncw commentedon Jan 27, 2017
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.
Updated docs to add DirCopy info, fixed a few nits
eharris commentedon Jan 31, 2017
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.
2 remaining items
darkdragon-001 commentedon Jun 20, 2020
Any progress here?
Additional request: Add row for Minio.
ncw commentedon Jun 20, 2020
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.ivandeex commentedon Nov 27, 2020
Marking important as three important issues depend on inventory of backend capabilities (and it looks like a low hanging fruit).
ncw commentedon Nov 29, 2020
rclone backend features remote:gives the definitive list of what any givenremote: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).
ivandeex commentedon Nov 29, 2020
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.
[-]Documentation: Expand storage systems capabilities tables[/-][+]docs: add more details in the features table[/+]ivandeex commentedon Mar 18, 2021
related to #5114
ivandeex commentedon Sep 26, 2021
@ncw @albertony
SetModTimeof some backends can returnErrorCantSetModTimeWithoutDelete. Examples are Dropbox and Jottacloud.I propose to mark these as having
Partialmod-time support in the features table. It was noted in #5628Currently one can only
grep -r ErrorCantSetModTimeWithoutDelete ./backend/to find out. I propose to add a field named eg.QuirkyModTimein theFeaturesstructure. Backend developers will fill this field manually in the code.Users could use
rclone backend featuresto see it. A future feature table generator could also benefit from it.albertony commentedon Sep 26, 2021
Jottacloud returns
ErrorCantSetModTime. I guessErrorCantSetModTimemeans: Re-upload necessary to set modtime (if the backend supports mod-time at all, is there a distinction?). WhileErrorCantSetModTimeWithoutDeletemeans re-upload is not even enough - one must first delete existing, then re-upload (ut backend definitely supports mod-time).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: Yescan mean several different things.. (has made me confused at least: #5627, #5628).