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 1134 by iritscen, Tue Mar 17 16:07:35 2020 UTC vs.
Revision 1135 by iritscen, Sun Jul 12 23:57:00 2020 UTC

# Line 1 | Line 1
1   #!/bin/bash
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 FILE, --start-url NUM, --end-url NUM, --upload FILE
4 > # Arguments: --help, --links URL, --exceptions URL, --output DIR, --record-ok-links, --show-added-slashes, --show-https-upgrades, --show-yt-redirects,
5 > # --suggest-snapshots, --skip-archive-links, --take-screenshots FILE, --start-url NUM, --end-url NUM, --upload FILE
6   # Recommended rule:
7 < #|----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----|
7 > # |----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----|
8  
9   # Set variables for any arguments we might use below
10   VALEXTLINKS="/path/to/Validate External Links/validate_external_links.sh"
# Line 21 | Line 21 | CHROME="/Applications/Google Chrome.app/
21   #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --end-url 70
22  
23   # Run with start/end URLs, and record OK codes
24 < #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 120 --end-url 140
24 > #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 210 --end-url 235
25  
26   # Run with local extlinks and exceptions, start/end URLs, and record OK codes
27 < #bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 120 --end-url 140
27 > #bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --skip-archive-links --start-url 1 --end-url 25
28  
29   # Run with unfinished screenshot feature
30   #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --take-screenshots "$CHROME"
# Line 33 | Line 33 | CHROME="/Applications/Google Chrome.app/
33   #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots
34  
35   # Normal run
36 < bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --upload "$UPLOAD_INFO"
36 > bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --skip-archive-links --upload "$UPLOAD_INFO"

Diff Legend

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