composer / packagist

Package Repository Website - try https://packagist.com if you need your own -
https://packagist.org/
MIT License
1.75k stars 476 forks source link

Invalid package information: funding.1.url #1442

Closed fballiano closed 7 months ago

fballiano commented 8 months ago

Hi, I've added github's funding info for my repos, example this one: https://packagist.org/packages/fballiano/magento2-defer-javascripts

but in packagist I see:

Skipped branch master, Invalid package information: 
funding.1.url : invalid value (fballiano), must be an http/https URL

github's funding file is: https://github.com/fballiano/magento2-defer-javascripts/blob/master/.github/FUNDING.yml

and it's completely valid and displays correctly on the home page of the repo.

Is buymeacoffe the problem here? I can't use something like: buy_me_a_coffee: https://www.urloftheprofile.com/blahblah because it's not supported by github itself

Thank you for any info!

stof commented 7 months ago

what was the content of the FUNDING.yml at the time you got the error ? I see it changed multiple times.

fballiano commented 7 months ago

I had to change it because all my packagist packages were frozen, it was like this:

Screenshot 2024-03-25 alle 11 04 52

the problem is the buy_me_a_coffe line, which is supported by github but not by composer, that's why I opened https://github.com/composer/composer/pull/11902

stof commented 7 months ago

For this, the solution is indeed the PR you opened in composer (and then updating packagist to use the newer version of Composer once the PR is merged)

Seldaek commented 7 months ago

Ok yeah then I'll close this as the composer issue tracks it.

Seldaek commented 7 months ago

Ok the fix is now deployed