Skip to content

add archiver and app provider capabilities - #2088

Merged
ishank011 merged 1 commit into
cs3org:masterfrom
wkloucek:archiver_app_provider_capabilities
Sep 23, 2021
Merged

ishank011 merged 1 commit into
cs3org:masterfrom
wkloucek:archiver_app_provider_capabilities

Conversation

@wkloucek

@wkloucek wkloucek commented Sep 21, 2021 •

Copy link
Copy Markdown
Contributor

No description provided.

@update-docs

update-docs Bot commented Sep 21, 2021

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ishank011

Copy link
Copy Markdown
Contributor

@wkloucek can you fix the linter error?

@wkloucek
wkloucek requested a review from ishank011 September 22, 2021 17:23
@kulmann

kulmann commented Sep 22, 2021

Copy link
Copy Markdown
Member

@wkloucek is this ready for review? still marked as a draft PR.
@ishank011 could you please review this with high prio? I'm afraid this is quite urgent for two PRs in web.

Favorites ocsBool `json:"favorites" xml:"favorites"`
BlacklistedFiles []string `json:"blacklisted_files" xml:"blacklisted_files>element" mapstructure:"blacklisted_files"`
TusSupport *CapabilitiesFilesTusSupport `json:"tus_support" xml:"tus_support" mapstructure:"tus_support"`
Archivers []*CapabilitiesArchiver `json:"archivers" xml:"archivers" mapstructure:"archivers"`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are multiple archiver or app provider versions available from the backend, how do I know which one is the most recent one? By parsing the versions? Or do you think it makes sense to introduce some MostRecent boolean in the respective capability struct?

@ishank011 ishank011 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kulmann @wkloucek it looks good to me. Should I merge it or do you want to address the MostRecent parameter?

@kulmann

kulmann commented Sep 23, 2021

Copy link
Copy Markdown
Member

In my PoC I'm using http://npmjs.com/semver to sort the available versions (which also works with strings like v1 and v2). Fine by me to merge. @wkloucek what do you think?

@ishank011
ishank011 marked this pull request as ready for review September 23, 2021 07:06
@ishank011
ishank011 merged commit 41d5a68 into cs3org:master Sep 23, 2021
@ishank011

Copy link
Copy Markdown
Contributor

Merging it now. Other parameters can be added in separate PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants