bluerobotics / bluerobotics/BlueOS-Extensions-Repository
consolidate: allow using existing manifest as a cache
- Vorherrschende Sprache
- Python
- Sterne
- 20
- Forks
- 31
- Ø Merge
- 1 T. 56 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Consolidation already takes quite a while, and it's generally unlikely that existing tags will have changed labels or a changed structure. The default behaviour should be to use the existing manifest file as a cache, and only fetch data for _new_ tags, with the _option_ to instead do a clean/full refresh and generate the entire file from scratch.
Something like a `--cache` command-line argument could be useful, where
- if unspecified it uses the latest online manifest
- if "none" it does a full refresh
- if given a URL it tries to fetch it and use it, erroring out on failure to fetch
- if given a local filename it tries to read it and use it, erroring out on failure to read
This should save a bunch of consolidation time, and also reduce unnecessary API usage.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Es werden keine Dateien oder Tests genannt. Beginne damit, den Konsolidierungsbefehl und den Code zur Manifest-Generierung zu finden, und verfolge dann, wie Tags und das vorhandene Manifest abgerufen werden. Erledigt ist die Aufgabe, wenn der Standardfall das neueste Manifest für vorhandene Tags wiederverwendet, neue Tags abgerufen werden und --cache vollständige Aktualisierungen, URLs und lokale Dateien unterstützt und bei Fehlern Fehler ausgibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100