Automatically retrieve latest Nextcloud server version for stale app detection

Aperta
#1,906 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Houzsaad ci sta già lavorando.

Dal 13/10/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
django, python
Ambito
backend

Direzione di ricerca

Start in nextcloudappstore/core/models.py at the is_outdated function and trace how the hardcoded Nextcloud server version is used. Review nearby tests or callers if present, then establish how the latest server release will be obtained and verify that the app detail warning uses that value or the agreed age-based rule.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement technical debt
How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Is your feature request related to a problem? Please describe.
The goal of the is_outdated function at https://github.com/nextcloud/appstore/blob/729a6c5003938349b40946f08b993b78bbceb1d9/nextcloudappstore/core/models.py#L403 is to determine whether or not to display a warning banner in an app's details page for being outdated. However, the Nextcloud server version being compared to is hardcoded to a constant value and doesn't update on new Nextcloud releases. Previously, the intention was to display the banner when the last app release is 3 major versions behind the latest Nextcloud version.

Describe the solution you'd like
Add a way to detect the latest release version of the Nextcloud server, and base the check around that value.

Describe alternatives you've considered
Now that major Nextcloud versions have switched to a seasonal release schedule, maybe it would be sufficient to just detect whether the last app release is more than a year old (regardless of server version).

Lingua principale
Python
Stelle
398
Fork
180
Merge medio
3g 14h
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/appstore

Tutte le issue di nextcloud/appstore

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.