3 ms·
I am trying to submit my funding.json, it validates when I check the validator, but fails when I submit with the error: "too many lines in the .well-known list"
by simonhamp 2y ago
I am trying to submit my funding.json, it validates when I check the validator, but fails when I submit with the error: "too many lines in the .well-known list"
I have 1 line in my .well-known lists
Here's my funding.json:
https://nativephp.com/funding.json https://nativephp.com/funding.json
Can someone help me figure out what I'm doing wrong?
- ocdtrekkie 2y agoSo my best guess is that even though the validator succeeds, the actual submission is pulling the GitHub page for the well-known instead of its raw content. The problem is you also can't really fix this yourself: The raw file is hosted at raw.githubusercontent.com which wouldn't match your source URL. Hopefully they will fix their submission tool. I did see one project submitted successfully by having domain.com/github point to their project URL, which the submission accepted, but that causes certificate errors.
- pacmansyyu 2y agoHi, I'm from the team at Zerodha. It seems as if the well-known URL for the laravel repository points to the GitHub page[1] instead of the URL for the raw code[2]. Changing the well-known URL to the raw code path should fix this issue. Will pass this feedback on to the team to improve the experience, thanks! [1]: https://github.com/nativephp/laravel/blob/main/.well-known/funding-manifest-urls https://github.com/nativephp/laravel/blob/main/.well-known/f... [2]: https://raw.githubusercontent.com/nativephp/laravel/refs/heads/main/.well-known/funding-manifest-urls https://raw.githubusercontent.com/nativephp/laravel/refs/hea...
- simonhamp 2y agoSure, but that's not how it's demonstrated in the docs... I've updated it, but that also doesn't work AND fails validation because: "projects[0].repositoryUrl.url and `projects[0].repositoryUrl.wellKnown` hostnames do not match"
- pacmansyyu 2y agoApologies for my previous misguiding comment. We have figured out the issue and a fix is being implemented right now to handle URLs for GitHub repositories and suffix them with `?raw=true` to automatically to fetch the raw file. The fix should be live soon. In the meanwhile, if you would like to submit the project, you could use the following URL which redirects to the `raw.githubusercontent.com` page: https://github.com/nativephp/laravel/raw/main/.well-known/funding-manifest-urls https://github.com/nativephp/laravel/raw/main/.well-known/fu... I hope this helps!
- simonhamp 2y agoAwesome! It worked! Thanks so much. Looking forward to being listed and considered for funding :)
- pacmansyyu 2y agoCheers! The issue has been fixed now and is live. Thanks a lot for your feedback :)