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

Discard unsupported FUNDING.yml URL values #12247

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrewnicols
Copy link

This patch is intended as an interim solution for #12245 but some form of this should probably be present anyway even after that issue is sorted.

At the moment if a GitHub repo uses a FUNDING.yml in the format documented by GitHub then that entire branch will be skipped from import into Packagist beacuse some of the documented formats are not supported by Packagist/Composer.

As a worst case I would expect the unsupported data to be removed. This isn't critical data - it's optional metadata which is not even present in the composer.json file and which is correct per the GitHub documentation.

On our side I'm trying to get the GitHub FUNDING.yml updated but many of the branches this issue exists on are archived branches which we do not normally modify.

At the moment the Packagist management view shows the following warning:

This package is in a broken state and will not update anymore. Some branches contain invalid data and until you fix them the entire package is frozen. Click "Update" below to see details.

This suggests that if any of our branches contain 'invalid' data that the entire package will be rejected.

@andrewnicols andrewnicols force-pushed the skipInvalidFormatFundingOnImport branch from 69e27fd to 5c07d1d Compare December 18, 2024 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant