ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Validate External Links/Run validate_external_links.command
(Generate patch)

Comparing Validate External Links/Run validate_external_links.command (file contents):
Revision 1066 by iritscen, Tue Aug 1 14:30:24 2017 UTC vs.
Revision 1070 by iritscen, Tue Oct 3 03:01:32 2017 UTC

# Line 2 | Line 2
2  
3   # Runs the Validate External Links script
4   # Arguments: --help, --links URL, --exceptions URL, --output DIR, --record-ok-links,
5 < # --suggest-snapshots, --take-screenshots, --start-url NUM, --end-url NUM, --upload FILE
5 > # --suggest-snapshots, --take-screenshots DIR, --start-url NUM, --end-url NUM, --upload FILE
6   # Recommended rule:
7   # ----------------------------------------------------------------------------------------------
8  
# Line 14 | Line 14 | EXCEPT_LOCAL="file:///path/to/Validate E
14   EXCEPT_ONLINE="http://iritscen.oni2.net/val/exceptions.txt"
15   REPORT_DIR="/path/to/ValExtLinks reports"
16   UPLOAD_INFO="/path/to/Validate External Links/sftp_login.txt"
17 + CHROME="/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"
18  
19  
20 < # Run for limited number of URLs, record OK codes, upload
21 < #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --end-url 20 --upload "$UPLOAD_INFO"
20 > # Run for limited number of URLs, and record OK codes
21 > #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --end-url 70
22  
23 < # Run with local extlinks and start/end URL, record OK codes
24 < #bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 70 --end-url 75
23 > # Run with local extlinks and exceptions, start/end URLs, and record OK codes
24 > #bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 3394 --end-url 3417
25  
26 < # Normal run
26 > # Run with unfinished screenshot feature
27 > #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --take-screenshots "$CHROME"
28 >
29 > # Normal run with upload
30   bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --upload "$UPLOAD_INFO"

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)