Skip to content

docs: autogerate optional features table #5114

Open

Description

@buengese

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

Activity

  1. changed the title [-]docs: autogerate optinal features table[/-] [+]docs: autogerate optional features table[/+] on Mar 11, 2021
  2. ncw commented on Mar 12, 2021

    @ncw
    Member

    Thinking aloud...

    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.

    What do you think?

  3. buengese commented on Mar 22, 2021

    @buengese
    MemberAuthor

    That sounds good and is pretty close to what I had in in mind here too. I can look into implementing this.

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions