datacarpentry/datacarpentry.github.io

DC website list of workshops inaccurate

maneesha opened this issue · 10 comments

The list of workshops on the website doesn't seem to be pulling workshops from AMY properly.
It lists out of date workshops - today, Dec 5, there are workshops from Dec 3-4 listed.

It also lists SWC workshops - does not limit the listing to DC workshops.

Seems like this issue has come up often before: #416

Tagging @tracykteal @jduckles @fmichonneau @ErinBecker

The list of workshops was last pulled 18 hours ago when it was December 4th so it's why it's still showing workshops from Dec 3-4. When it runs again in about 6 hours, these workshops shouldn't be listed.

While Travis runs every 24 hours we can't quite control the time of day it's running, and with time zones, I don't think we can work around this very easily.

Thanks @fmichonneau - I'll check back on the Dec 3-4 workshops later.

It is also showing SWC workshops when it should be limited to DC workshops.

SWC is also showing non SWC workshops, for instance the George Mason University workshop is Library Carpentry. Library Carpentry workshops look right though.

Looking back through _data/amy.json it seems like this could have been happening for a bit.

I'll try to look into it soon but this is probably related to carpentries/feeds.carpentries.org#4

That was my thought too. I just couldn't track down why it was working for LC and not the others.

@fmichonneau is there an update on this?

Checking in - is there anything I can do to help fix this? We've been getting emails as this is causing confusion. @fmichonneau @tracykteal

(Note that @libcce manually curates the LC list)

This python script needs to be edited to take into account the changes in the AMY API described here. If it's something you think you could tackle that would be great. I'm happy to test and review

switched data source to use redash query instead of directly querying the AMY API. The list should now be accurate.