ewcloud / ewcloud/ewccli

[FEATURE] Smart update of hub item list

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3
Forks
4
Avg merge
1d 17h
Merged PRs (30d)
11

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.