Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextcloud-version: feature to throw warning if the repositorry is not reachable #750

Open
asltbbg opened this issue Apr 2, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@asltbbg
Copy link

asltbbg commented Apr 2, 2024

Describe the solution you'd like

if the repository is not reachable the check don't list available updates and keeps the ok state and you nerver know thas something is wrong.
so it would be nice to see if the repsitory is reachable by the check

maybe the feature is usefull for the [nextcloud-security-scan] and some others to

Additional context

No response

@asltbbg asltbbg added the enhancement New feature or request label Apr 2, 2024
@markuslf markuslf changed the title [nextcloud-version: ] feature to throw warning if the repositorry is not reachable nextcloud-version: feature to throw warning if the repositorry is not reachable Apr 2, 2024
@markuslf
Copy link
Member

markuslf commented Apr 2, 2024

For nearly all *-version check plugins, EOL dates are taken from

  1. Local SQLite DB cache (valid for 24 hours). If not successful...
  2. From https://endoflife.date/api (and then cached). If not successful (e.g. if server does not have internet access)...
  3. From local JSON definition file endoflifedate.py (definition copied from endoflife.date), and then cached.

Other users wanted the described behavior because many servers don't have internet access, so this is the default. But adding a switch to get a warning if something goes wrong when accessing the Internet makes sense.

@markuslf markuslf self-assigned this Apr 2, 2024
@markuslf
Copy link
Member

markuslf commented Apr 2, 2024

All other plugins that rely on internet access like nextcloud-security-scan already complain and return UNKNOWN if there is something wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants