You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our use of satis we would like to only make dist packages of the latest version of a project.
We've noticed that the "only-best-candidates" option exists for dependencies, but I could be nice if a likewise option also existed for the archive.
A solution could be to add a new config option to the archive segment which states that only the best package version candidate should be stored. Adjustments can them be made to the "isSkippable" part of "src/Builder/ArchiveBuilderHelper.php"
I've added a suggested patch which takes a lot of the "onlyBestCandidates" logic from "src/PackageSelection/PackageSelection.php". satis-archive-only-best-candidates.txt
The text was updated successfully, but these errors were encountered:
In our use of satis we would like to only make dist packages of the latest version of a project.
We've noticed that the "only-best-candidates" option exists for dependencies, but I could be nice if a likewise option also existed for the archive.
A solution could be to add a new config option to the archive segment which states that only the best package version candidate should be stored. Adjustments can them be made to the "isSkippable" part of "src/Builder/ArchiveBuilderHelper.php"
I've added a suggested patch which takes a lot of the "onlyBestCandidates" logic from "src/PackageSelection/PackageSelection.php".
satis-archive-only-best-candidates.txt
The text was updated successfully, but these errors were encountered: