Document gotchas with sources generated in actions during sync_release #911
Labels
area/fedora
Related to Fedora ecosystem
complexity/single-task
Regular task, should be done within days.
kind/documentation
Documentation needs updates.
Let's say that a project generates additional sources in
post-upstream-clone
orpre-sync
action and then synces them usingfiles_to_sync
so they are picked up and uploaded to lookaside cache. If sync_release runs for multiple branches, unless the generated files are identical in each run (i.e. have the same hash), they are uploaded to lookaside cache every time, wasting resources.One way to prevent that, other than ensuring that source generation is reproducible (which could be hard or even impossible to do), would be to check if the file is already present in lookaside cache before generating it.
Document this, likely here:
packit.dev/docs/configuration/examples.md
Lines 110 to 131 in b39979c
The text was updated successfully, but these errors were encountered: