summaryrefslogtreecommitdiff
path: root/issues/automatically-find-broken-links-on-gn2.gmi
blob: 825f3abd5318b084f53c0638fb8274815b158547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# 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

=> https://github.com/genenetwork/genenetwork2/issues/420 From GitHub

@Millak found this one:

=> http://www.genenetwork.org/tutorial/ppt/html/webqtl_demo2_part1.ppt.htm

```
      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

### Resolution

This was added to Mechanical Rob here:

=> https://github.com/genenetwork/genenetwork2/pull/555

Making Mechanical Rob should it fail is an entirely different issue.

* closed