Edit this page | Blame

Automatically find broken links on GN2

Tags

  • assigned: zsloan, alex
  • type: bug
  • priority: medium
  • status: completed, closed
  • keywords: GN1, GN2, broken links, from github

Members

  • Millak
  • pjotrp
  • zsloan
  • alex
  • bonfacem
  • robw

Description

@Millak found this one:

      GeneNetwork tux01:gene:2.11-rc2-production-1e421a063  http://www.genenetwork.org/tutorial/ppt/html/webqtl_demo2_part1.ppt.htm (11:09AM UTC Aug 18, 2020)
       Traceback (most recent call last):
         File "/usr/local/guix-profiles/gn-latest-20200513/lib/python2.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
           rv = self.dispatch_request()
         File "/usr/local/guix-profiles/gn-latest-20200513/lib/python2.7/site-packages/flask/app.py", line 1926, in dispatch_request
           self.raise_routing_exception(req)
         File "/usr/local/guix-profiles/gn-latest-20200513/lib/python2.7/site-packages/flask/app.py", line 1908, in raise_routing_exception
           raise request.routing_exception
       NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Tasks

  • [x] code to search for broken links in web pages
  • [x] run gn2 on CI as a background task to search for broken links

Notes

the bug above no longer exists.

gn2 CI runs on the background after for any push raises an error if any broken link is found On gn2 web pages all missing links that are found are underlined and highlighted with red for later fix

Update

we no longer use github CI this should be moved the new gn2 CI


(made with skribilo)