composer / packagist

Package Repository Website - try https://packagist.com if you need your own -

Home Page:https://packagist.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid package information: funding.1.url

fballiano opened this issue · comments

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!

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

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 composer/composer#11902

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)

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

Ok the fix is now deployed