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

update metadata from Fedora #48

Open
ktdreyer opened this issue Dec 27, 2013 · 4 comments
Open

update metadata from Fedora #48

ktdreyer opened this issue Dec 27, 2013 · 4 comments

Comments

@ktdreyer
Copy link

How often does the data on isitfedoraruby.com get refreshed from pkgdb?

For example, when I submit a Gemfile to http://www.isitfedoraruby.com/stats/gemfile_tool , it says that several gems are missing from Fedora, when they are actually present in the distro.

@movitto
Copy link
Collaborator

movitto commented Dec 29, 2013

Hey Ken, thx for reaching out. CC'ing @zuhao & @nicolassatragno as they implemented and setup alot of the project.

isitfedoraruby is currently deployed on openshift and has two cron tasks, one updating the rpm list daily at 2am and one continuously updating the oldest rpm on the list every minute. You can see the cron config here

https://github.com/zuhao/isitfedoraruby/tree/master/.openshift

This just merely wraps some rake tasks which in return call some model level operations to import and refresh data.

https://github.com/zuhao/isitfedoraruby/blob/master/lib/tasks/database.rake

All in all it's a simple setup though admittedly the codebase could use a bit of work as it was the first attempt at the concept, implemented by the students over the course of the GSOC and GCI 2012 (don't get me wrong they did a phenominal job imo, just code is rarely 100% right on the first try).

In any case, as much as I'd like too I probably won't get the chance to take a look at this soon, but if anyone wanted to look into this (or any of the other issues) I'd be more than happy to help get your code in and deployed on the live instance. Shout out if there are any issues w/ getting the app up and running, importing the data, etc.

-Mo

@zuhao
Copy link
Owner

zuhao commented Dec 29, 2013

Still got a few more days before school starts, so I'll probably be looking into it. Indeed there are lots to be done. :-)

@zuhao
Copy link
Owner

zuhao commented Jan 12, 2014

The import script is failing because of badly formatted JSON from Fedora Packages. I've already reported the issue here fedora-infra/fedora-packages#55. Hopefully they will fix it soon.

Meanwhile, I'm doing a massive cleanup on the codebase, and upgrade it to Rails 4. Will likely to ship it in the coming weeks.

@nsatragno
Copy link
Collaborator

Great! If you need something related to pushing to the server feel free to
email me.

Nicolás Satragno nsatragno@gnome.org
On Jan 12, 2014 3:01 PM, "Zuhao Wan" notifications@github.com wrote:

The import script is failing because of badly formatted JSON from Fedora
Packages. I've already reported the issue here
fedora-infra/fedora-packages#55fedora-infra/fedora-packages#55.
Hopefully they will fix it soon.

Meanwhile, I'm doing a massive cleanup on the codebase, and upgrade it to
Rails 4. Will likely to ship it in the coming weeks.


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-32128615
.

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

4 participants