-
Notifications
You must be signed in to change notification settings - Fork 27
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
Use Travis CI to download Rubygems data for listed gems #42
Comments
How would Also, in order for this to work, Travis would have to commit these back to GitHub, would it not? I'm not sure that's something they would support doing. I'm also not sure if I've understood your idea correctly. Let me know if I've got it wrong. |
If this idea gets approved, I'll open a PR that clubs existing
Yes, Travis CI can be used to do this.. Its documented. My plan is therefore:
|
I'm onboard with this. 👍 Out of curiousity, what drove the idea behind creating a single file vs. keeping the two files and just smashing them together as part of the rake task? |
👍 Interesting, right now we have manually added documents, this would allow us to display more info like latest version, author, downloads, link to changelog, etc. 😄 Downloads could be use as a sort filter. {
"authors": "Mark Otto",
"bug_tracker_uri": null,
"changelog_uri": null,
"runtime": [
{
"name": "jekyll",
"requirements": "~> 3.6"
},
{
"name": "jekyll-feed",
"requirements": "~> 0.9"
},
{
"name": "jekyll-gist",
"requirements": "~> 1.5"
},
{
"name": "jekyll-paginate",
"requirements": "~> 1.1"
},
{
"name": "jekyll-sitemap",
"requirements": "~> 1.1"
}
]
},
"documentation_uri": "http://www.rubydoc.info/gems/jekyll-theme-poole/2.1.0",
"downloads": 857,
"gem_uri": "https://rubygems.org/gems/jekyll-theme-poole-2.1.0.gem",
"homepage_uri": "https://github.com/poole/poole",
"info": "The Jekyll Butler, designed and developed by @mdo to provide a clear and concise foundational setup for any Jekyll site.",
"licenses": [
"MIT"
],
"metadata": {
"plugin_type": "theme"
},
"name": "jekyll-theme-poole",
"project_uri": "https://rubygems.org/gems/jekyll-theme-poole",
"version": "2.1.0",
} |
Easier to code to load a single YAML file and proceed.., as against reading two files and merging data or clobbering the two files into one and then loading that.... 😄 |
yes.. though we still need the manual data in sync with showcasing themes and plugins that have not been gemmified.. |
I think this directory should only include plugins and themes that are available as Gems |
This comment has been minimized.
This comment has been minimized.
No! This is not going to die due to inactivity! What do we need to do to carry this across the finish line? |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Is there a PR for this? |
Nope. I had one somewhere around in Feb, but lost it to a corrupted Git index. |
This should be fairly straightforward of a process: list all gems, hit the rubygems metadata endpoint for each gem (costly, do once per month?), write yaml, commit. I’d can get a deploy key for this repo from @jekyllbot, but want to make sure it can only be used by Travis’s scheduler instead of any person running a Travis build. |
The following Rake task takes the directory listing (
_data/themes.yml
and_data/plugins.yml
clubbed into a single_data/entries.yml
) and downloads each gem into their respective directoryThe data files can then be used to define the front end..
We can then set up Travis to download these files at a set interval..
Thoughts?
The text was updated successfully, but these errors were encountered: