Use `awesome_bot` to validate links
erictleung opened this issue · comments
Eric Leung commented
What do you think about adding a Travis CI script for awesome_bot
to validate links on the page in case some go old and stop working?
Source: https://github.com/dkhamsing/awesome_bot
You just need to make a .travis.yml
file with the following:
language: ruby
rvm: 2.2
before_script: gem install awesome_bot
script: awesome_bot README.md
notifications:
email: false
Here are some other options you can use while checking links
Usage: awesome_bot [file or files]
awesome_bot [options]
-f, --files [files] Comma separated files to check
-a, --allow [errors] Status code errors to allow
--allow-dupe Duplicate URLs are allowed
--allow-ssl SSL errors are allowed
--allow-redirect Redirected URLs are allowed
--allow-timeout URLs that time out are allowed
-t, --set-timeout [seconds] Set connection timeout
-w, --white-list [urls] Comma separated URLs to white list
Daniel E Cook commented
Better late than never...this has been added. I allow for duplicates and redirects.
Eric Leung commented
@danielecook nice 😄
It looks like that a few of the links have some issues.
- GATK Queue's link is broken and should be https://gatkforums.broadinstitute.org/gatk/discussion/1288/howto-run-queue-for-the-first-time
- SAMstat link should be replaced with https://github.com/TimoLassmann/samstat
- vcftools with https://github.com/vcftools/vcftools
- snpeff with https://github.com/pcingola/SnpEff
I can make those changes now.
Eric Leung commented
Closed by 20b4776