Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show package information dependent on tag/branch (like Packagist does) #704

Open
jaylinski opened this issue Sep 12, 2022 · 0 comments
Open
Labels

Comments

@jaylinski
Copy link

Is your feature request related to a problem? Please describe.
We use the Satis "Required by"-info to check if old packages are unused and can be safely deleted/abandoned.
Since Satis uses all repo tags and branches in order to determine the "Required by"-information, the "Required by" list just grows longer and longer (because we don't delete old releases/tags that still contain packages that have been removed in newer tags/releases).

So even if a package is already unused in the current release of our packages, it still shows up in "Required by" because it is used in older releases. This makes the "Required by"-info useless for us, because we are only interested in the "Required by"-info for a specific (in our case the latest) tag/branch.

Describe the solution you'd like
Show the package information based on tags/branches, similar to what packagist.org does with the tag-selection:

Bildschirmfoto 2022-09-12 um 16 51 27

Describe alternatives you've considered
The alternative is to delete old branches/tags, so that Satis will not pick up information from "composer.json"-files in old/unused tags/branches.

This approach is cumbersome, since one always has to remember to delete old tags.

Additional context

I can create a PR if you (package maintainers) consider this a useful feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant