AdguardTeam / AdguardTeam/FiltersRegistry

Add option to loads `percent.json` from locally

Offen
#1,222 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @mu-hun Auf GitHub ansehen
Vorherrschende Sprache
Adblock Filter List
Sterne
358
Forks
75
Ø Merge
23 Std. 37 Min.
Gemergte PRs (30 T.)
9

Beschreibung

Before per-filter downloaded `stats.json` files read from disk, stats.json files are indexing for reading targets by remotely fetches `percent.json`.

On a machine without network access, yarn `build:local` fails at the `percent.json` fetch — the advertised offline workflow does not work. Also, because `percent.json` changes remotely.

Each builds of the same pinned stats snapshot can differ. The set of optimizable filters is not pinned.

---

**Goal:** Support a dependency injection option to load `percent.json` locally. For example, directly using it from `./optimization_config.json` in the FiltersRegistry project.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.