-
Notifications
You must be signed in to change notification settings - Fork 72
Automatically generate packages page from manifest #2
Comments
Implemented in 811f4a7. We still need to improve this because currently roregistery only contains plain text descriptions. We probably want to be able to insert hyperlinks or badges here. |
Added some more tweaks and added support for markdown syntax inside the description field. |
@jeroen Wow, you're fast @jeroen . Meant to give you a heads up that we (@sckott & I, though may enlist some interns to improve the metadata) are hoping to transition the registry itself to something that would be easier to update; currently that json file is curated by hand. The plan is to automatically generate codemeta descriptions from the package repo using One thing we still need to add to this is the categories and keywords; ideally these will be selected and maintained by package maintainers in their DESCRIPTIONs long term. Thoughts / critique / feedback? |
A few months later 😉 The currently produced big codemeta.json of all packages has keywords, derived from GitHub repo topics (and from keywords in DESCRIPTION for the only package that has them 😁 ).
|
Also noting #56 |
We should discuss in the meeting what the plan is exactly. Should this replace @sckott https://github.com/ropensci/roregistry? |
Yes we should discuss. Yes, the plan is to generate packages page from this metadata, but it shouldn't be too different from how you have it setup now in that we'll run a cron job to generate the single json file and you can pull that in as you do know |
Meeting update: once maelle has implemented the code that adds the keywords to the registery, we want to show those in the front-end table. |
Another note, I'd like to auto-generate the different filters https://github.com/ropensci/roweb2/blob/master/content/packages.html#L31 based on the categories present in the registry csv (this way if we update categories, no need to update the website table code). |
There's also some "manual" category grouping at the moment https://github.com/ropensci/roweb2/blob/3d3c0f0c598459f0e5ca5b1bafbd1c3edcb58bde/themes/ropensci/static/js/tableinit.js#L35 (not criticism, just a note I'm making) |
In the current table on the site the maintainers names look like hyperlinks but they aren't. I wonder whether there should be... a mailto:? A view filtered by maintainer? |
Ideally it should go to their GitHub profile page. |
or actually i prefer a filtered view by maintainer |
good idea by @noamross, the table should also show which packages have been reviewed. |
I had missed that it's already implemented actually! |
Current state, script to run on the server with the clones https://github.com/ropenscilabs/makeregistry#example Output is both a raw Codemeta file, and the JSON registry used as data source for the packages page. Not run automatically yet, @sckott to explore that. @jeroen |
cron job is running now I still need to sort out adding new repos as they are added to ropensci/ropenscilabs |
Yay! So there is no API call to GitHub before cloning at the moment? |
not yet |
i think this is all set now @maelle |
or at least we now track remaining issues elsewhere 😁 https://github.com/ropenscilabs/makeregistry |
Jeroen said he can figure this out
The text was updated successfully, but these errors were encountered: