Closed Bug 1209375 Opened 11 years ago Closed 9 years ago

[sync] Per-project sync resource filtering

Categories

(Webtools Graveyard :: Pontoon, defect, P4)

defect

Tracking

(firefox44 affected)

RESOLVED DUPLICATE of bug 1385834
Tracking Status
firefox44 --- affected

People

(Reporter: osmose, Unassigned)

References

Details

Currently we have some hard-coded logic to handle ignoring region.properties files for Firefox repos (bug 1207829). However, instead of detecting project repo URLs, it'd be better to just have some way of adding resource filters to projects to filter which resources are loaded during sync. I propose we add a new "ResourceFilter" model that stores a regex that is applied to every filename relative to the root of the repo checkout it's located within. A project can have several ResourceFilters, and if a ResourceFilter doesn't match a filename, the file is excluded from sync.
Summary: Per-project sync resource filtering → [sync] Per-project sync resource filtering
Priority: -- → P4
We should be able to get this information from the project configuration file, right Axel? https://hg.mozilla.org/users/axel_mozilla.com/en-US/file/a7916d2e3b80/_configs/browser.toml
Flags: needinfo?(l10n)
Yes.
Flags: needinfo?(l10n)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.