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
While adding public link support for 1fichier I noticed that the optional features table had quite a few mistakes. I've cleaned it up a bit in #5113 bit we should really just autogenerate it. (I think we even discussed that before?).
The rclone backend features command already has all the information required. The one slight problem with that is that it actually requires a valid remote for each backend because features are part of the Fs and not RegInfo. I'm not sure if there is an easy way to work around that. Maybe we could just use the test remotes for the integration tests for this...
How about we have a features.json file in each backend directory which is the output of rclone backend features run on the test backend.
We could then write a prog to aggregate these and update overview.md
Perhaps the integration tests themselves could create this features.json file - then we'd see diffs in it when testing locally. The integration tests could report diffs maybe.
Note that some backends - eg wedav will report different things for different targets (nextcloud vs vanilla) so I'd think we'd want a canonical config to create the features.md.
Activity
[-]docs: autogerate optinal features table[/-][+]docs: autogerate optional features table[/+]ncw commentedon Mar 12, 2021
Thinking aloud...
How about we have a
features.jsonfile in each backend directory which is the output ofrclone backend featuresrun on the test backend.We could then write a prog to aggregate these and update overview.md
Perhaps the integration tests themselves could create this
features.jsonfile - then we'd see diffs in it when testing locally. The integration tests could report diffs maybe.Note that some backends - eg
wedavwill report different things for different targets (nextcloud vs vanilla) so I'd think we'd want acanonicalconfig to create thefeatures.md.What do you think?
buengese commentedon Mar 22, 2021
That sounds good and is pretty close to what I had in in mind here too. I can look into implementing this.