It's been a long time since i wrote a blog post on this one. It's been a busy life ever since i had a baby girl, but i enjoyed it so i am not complaining :)
Anyway, right now i'm making some simple script to test whether an upstream source is still available or has they been deleted or moved to another place and create a broken link on the SlackBuild script at SBo project. For most of the sites upstream, my simple script worked fine, but there are several sites that rendered my script unusable and they are not a simple website. They are big vendors, such as sourceforge and Google Code.
I'm not really sure about sourceforge, but Google Code is clearly not supporting HEAD method, thus making my script failed to download from their site using wget --spider option. It worked fine using a normal wget command, but then i will need to download the file, which is something i don't really need. I just need to know whether the files are still there or not.
Any ideas on how to solve this problem? Let me know if you do :)
Update (November 30, 1: 15 AM): I'm able to check on Sourceforge.net now, but i still need to work around Google Code as some SBo scripts are hosted there as well.
No comments:
Post a Comment