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

Query drupal.org for contrib projects #4

Open
paul121 opened this issue Feb 20, 2023 · 0 comments
Open

Query drupal.org for contrib projects #4

paul121 opened this issue Feb 20, 2023 · 0 comments

Comments

@paul121
Copy link

paul121 commented Feb 20, 2023

I mentioned on the forum we could potentially query Drupal.org for modules in the farmOS ecosystem. Just opening this to jot down what I found. It's quite nice and easy to query but I have mixed feelings on how useful this might be...

One issue is that many of these descriptions (the node body field) is HTML and often contains language and links about farmOS. This is useful on the module project pages but less useful in the context of this repo or farmOS.org. I wouldn't imagine the name or description of the module to change very often so this might be easier to "hard-code" in the JSON of this repo.

But... there is some nice data available via the API!

  • Release versions & install counts
  • Created date
  • Authors
  • Supporting organizations
  • Files/images
  • License

Maybe it would be better to query this other info in other places (eg: farmOS.org gatsby when building the site). It would be nice to not recreate all this existing drupal project metadata too.. maybe that would be a distinction for the contrib modules, they have more metadata? Should we think of contrib and custom modules as two separate lists?

Separately.. maybe we could use this API to auto-create issues when new contrib modules to drupal.org? Just for fun/convenience :--)

wotnak added a commit that referenced this issue Feb 23, 2023
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

No branches or pull requests

1 participant