Skip to content

[FEATURE] Smart update of hub item list #35

@xavierabellan

Description

@xavierabellan

Summary

Smart update of hub item list

Motivation

As it is, ewc cli now comes with a predefined list of items that may be out of date. To get the tool to update the list, the only option at the moment is through the environment variable EWC_CLI_HUB_DOWNLOAD_ITEMS=1.

This proposal would introduce the capability of automatically downloading and caching for a pre-defined period of time the most update list of hub items. For example, if the cached list is older than one day, the tool could fetch the latest automatically, but if it is more recent, then use the cached value to avoid unnecessary calls home.

This relates to #24 , for a manual update of the list when desired.

Proposed Implementation

No response

Alternatives Considered

No response

Priority

Nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions