Replies: 5 comments 10 replies
-
Searching for https://github.com/search?p=1&q=fpm.toml&type=Code gave me only three false positives. Of course it searches the file content rather than the file names. We have the huge problem when searching for fpm due to the name collision with other three letter named projects (like effing package management, fingerprint module, fixed point math and potentially more). There is other meta data which might be more useful, the package registry place to easily find fpm packages, but maybe one could search for usage of the setup-fpm action in GitHub CI workflows as well, once fpm finds wider adoption. Still it might be difficult to search also on Gitlab, Bitbucket, Sourceforge, or other less well known SCM hosting providers. |
Beta Was this translation helpful? Give feedback.
-
If I use github search in the upper left of the main webpage and do a site search for "filename:fpm.tom" I get dozens; but I have seen two sites mentioned recently that had fpm.toml files that did not show in the list, so I think there is an option to opt out of searches. |
Beta Was this translation helpful? Give feedback.
-
I think this is a reasonable approach - if it's not too difficult - as a stop gap solution. Eventually, we should have an official registry/hosting for released packages that can be published too. Hopefully doing so will be simple enough with something like |
Beta Was this translation helpful? Give feedback.
-
Can't fpm-registry be used for this? |
Beta Was this translation helpful? Give feedback.
-
I put together a list of all fpm projects on GitHub (+ some on GitLab) together with the timestamp when the https://github.com/fortran-lang/talks/blob/419107c/FortranCon2021-fpm/data/fpm-projects.txt In total there are currently 173 projects with ~160 unique contributors over all fpm projects. |
Beta Was this translation helpful? Give feedback.
-
Since at least github is searchable and fpm(1) is progressing rapidly I was thinking about a "listme" field in the fpm.toml file.
I have not figured out how to automate it yet, but github allows you to search in all repositories you have access to. So it is possible to look for all files called
fpm.toml
. Since there is another package that uses that filename it ends up all the hits are not all Fortran fpm files; but you can also access or search in the files. So you can at least crawl github and find fpm.toml files and inspect them to see if they look like Fortran fpm files. You can even query how many stars the repository has.But the owners might just be trying something out and not have something they think is something that should be listed somewhere; or maybe I pulled someone else's repository. So I was thinking if you had an entry that said "listme" and a site name so you could match it to where it was found so you could tell a pull or a copy from an "original" that you could automate (assuming there is some CLI way to do this -- I have been clicking buttons) that you could automatically build a list of packages and put it on the fpm site. And you could even envision someone wanting to be a candidate in a reviewed repository being able to add a "review requested commit name" field as a second way of submitting your repository for addition to the reviewed repository list.
Anyone got a "why do that clicking, just use ????" idea? Anyone think this is a good, bad, or ugly idea? Think the idea is good but know a better way to crawl for the files?
Seems like a low-maintenance way to build up a list of fpm packages available (at least on github) that a developer can opt into (or out of with a "do not disturb" entry) with a really low entry barrier.
I am assuming this would generate an automated list on the fpm site. The metadata keys already supported could be used to categorize and annotate the listings. Timestamps would be useful too as to when released, when updated, ... but that is getting even further ahead.
Beta Was this translation helpful? Give feedback.
All reactions