Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Planemo fetches old database #61
Minor progress figuring this out (maybe -- you can get the contents anyway):
Huh. I would've figured that a request to https://raw.githubusercontent.com/dannon/galaxy-downloads/master/latest.sqlite with that header would've responded correctly, but it looks like it's JUST the API that responds that way. That's bloody annoying.
Okay, my vote is for changing
DATABASE_TEMPLATE_URL = DOWNLOADS_URL + "db_gx_rev_0120.sqlite"
import urllib LATEST_URL = "https://raw.githubusercontent.com/jmchilton/galaxy-downloads/master/latest.sqlite" DATABASE_TEMPLATE_URL = DOWNLOADS_URL + urllib.urlopen(LATEST_URL).read()
It's too easy...even if it isn't as clean as some solution which would redirect properly.
I may roll this back or tweak it somehow - I don't like that planemo is now incompatible with the latest stable. I feel like too old is better than too new.
Wonder if it is possible to just force Galaxy to use the newer database - in many cases it would probably just work.