Commit graph

80 commits

Author SHA1 Message Date
Henrik Levkowetz d7c5b248e9 Updated update-db to work on (my) OS-X box.
- Legacy-Id: 480
2007-06-17 17:23:30 +00:00
Henrik Levkowetz 63754d4b2b The URL tests in tests.py can now limit the tests to be run to given URL prefixes. The test class looks for an environment variable URLPREFIX, and if it exists and is non-empty, it is expected to contain a space-separated list of URL prefix patterns for which tests should be run. test/run has been updated to place arguments given on the command line in the URLPREFIX environment variable, so you can say:
{{{
 $ test/run ipr
}}}
and only the URLs which start with /ipr will be tested.
 - Legacy-Id: 468
2007-06-17 11:09:52 +00:00
Henrik Levkowetz 5181865fdc Acceptable diff: Punctuation change.
- Legacy-Id: 465
2007-06-17 02:27:27 +00:00
Henrik Levkowetz bc510cd437 Acceptable diff: Changed line order (2 lines) because of different collating order for upper/lowercase characters.
- Legacy-Id: 464
2007-06-17 02:24:52 +00:00
Henrik Levkowetz 615058cf0d Acceptable diff: Footer and non-visible details
- Legacy-Id: 462
2007-06-17 01:55:43 +00:00
Henrik Levkowetz c7d87e3ec2 Updated acceptable diff
- Legacy-Id: 460
2007-06-17 01:43:06 +00:00
Henrik Levkowetz a3cffc6095 Acceptable diff: Identical related documents listed, but with different relationship indications.
- Legacy-Id: 457
2007-06-17 01:28:02 +00:00
Henrik Levkowetz 11d959ade2 The acceptable diff for /liaisons/321/ doesn't take, for some reason. Updating with most recent diff output, to see what's up.
- Legacy-Id: 456
2007-06-17 00:50:21 +00:00
Henrik Levkowetz ad951771ab Removing spurious trailing comma lines (!!??!!) from the diffs.
- Legacy-Id: 452
2007-06-16 22:43:28 +00:00
Henrik Levkowetz 2387b24ed2 Changing \r\n line endings to \n
- Legacy-Id: 451
2007-06-16 22:27:04 +00:00
Henrik Levkowetz 0f5a0386cd Make lockdir and pid file more accessible to others
- Legacy-Id: 450
2007-06-16 22:18:29 +00:00
Henrik Levkowetz 8896ddb085 Don't clobber any settings_local.py in the ietf directory while running tests -- create a temporary one in the test directory instead.
- Legacy-Id: 449
2007-06-16 22:17:45 +00:00
Henrik Levkowetz c4041cd9ab Updated acceptable diff files.
- Legacy-Id: 446
2007-06-16 21:35:21 +00:00
Henrik Levkowetz ca958b9384 Make lock dir and pid file readable by all.
- Legacy-Id: 441
2007-06-16 18:28:18 +00:00
Henrik Levkowetz 6ecfbde53f Trapping keyboard interrupt to make sure the test teardown gets run after the test suite
- Legacy-Id: 431
2007-06-16 15:01:00 +00:00
Henrik Levkowetz 6afd4b826f Accumulated changes. Added support for showing counts and details for diffs, and counts for misses.
- Legacy-Id: 430
2007-06-16 14:22:52 +00:00
Henrik Levkowetz a337f59588 Doing some more normalizing to get rid of diffs we don't care about
- Legacy-Id: 425
2007-06-16 11:17:31 +00:00
Henrik Levkowetz 9180eb219b Remove a spurious print "" which causes reports from cron when run under cron.
- Legacy-Id: 424
2007-06-16 11:15:48 +00:00
Bill Fenner 50910c7904 This diff was a conscious change: don't display "0" as the
state before/after change.  Two identical diff files because
of two different renderings of the same comment.
 - Legacy-Id: 413
2007-06-15 17:01:29 +00:00
Bill Fenner ff5b460783 These diffs have two sources:
* The missing </li> in the original, making the spacing come out oddly
* The replaced database row in sql_udpate.sql
 - Legacy-Id: 412
2007-06-15 16:58:12 +00:00
Bill Fenner 2c26d31933 It was a conscious decision to add spaces between the commas,
to allow wrapping in case there are a lot of addresses.
 - Legacy-Id: 411
2007-06-15 16:56:00 +00:00
Bill Fenner 0a918ad210 This is the same as _idtracker_draft-ietf-isis-link-attr_ -
line wrapping and truncation
 - Legacy-Id: 410
2007-06-15 16:54:58 +00:00
Bill Fenner 419dde701b These diffs are all due to different line-wrapping
and long-comment-truncation algorithms.
 - Legacy-Id: 409
2007-06-15 16:53:20 +00:00
Henrik Levkowetz d8866a4495 Fix empty else clause in shell script
- Legacy-Id: 402
2007-06-15 12:13:55 +00:00
Henrik Levkowetz a746d9099a Use the right lock directory everywhere, not only most places.
- Legacy-Id: 399
2007-06-15 11:51:35 +00:00
Henrik Levkowetz 6f04c420b5 Use the right lock directory everywhere, not only most places.
- Legacy-Id: 398
2007-06-15 11:50:31 +00:00
Henrik Levkowetz 8a3936dfa5 Acceptable diff: changed order of related drafts in IPR search result. Also a tweak to tests.py regarding test-url to diff filename mangling.
- Legacy-Id: 395
2007-06-15 00:41:38 +00:00
Henrik Levkowetz 109b1b4fdc Make the check_url script say 'No difference' when there is no difference found.
- Legacy-Id: 385
2007-06-14 17:14:24 +00:00
Henrik Levkowetz 44da4d5f7c Tweaking the output of update-db to better see what's being done.
- Legacy-Id: 384
2007-06-14 14:09:40 +00:00
Henrik Levkowetz 33794966e3 Updated generic diff
- Legacy-Id: 378
2007-06-13 18:28:11 +00:00
Henrik Levkowetz 5ad4c9fc3a Only run the database update if there is a new dump
- Legacy-Id: 377
2007-06-13 18:27:50 +00:00
Henrik Levkowetz 95a629020f New generic diff ignore chunk for 'This page produced by...' stanza.
- Legacy-Id: 376
2007-06-13 18:08:29 +00:00
Henrik Levkowetz 754ba193ca A small script to run a diff against the master for one single django URL specified in any of the testurl.list files. Uses environment variable DJANGO_SERVER if set, or http://merlot.tools.ietf.org:31415/ otherwise.
- Legacy-Id: 375
2007-06-13 17:26:04 +00:00
Henrik Levkowetz 18f7fd0c4e Instead of compensating for the 'Did you find a bug...' footer on pages where it isn't present in the original, take it out from the idtracker base.html and remove the compensation. Later add a less intrusive generic footer on all pages and and add diff compensation for the absense of the 'Did you find a bug...' footer.
- Legacy-Id: 372
2007-06-13 17:04:07 +00:00
Henrik Levkowetz aac2076b23 Acceptable diff: Layout differences, in particular the handling and placement of colons.
- Legacy-Id: 370
2007-06-13 15:35:44 +00:00
Henrik Levkowetz e62f349ce3 ... and don't include the Diff: tag line, only the diff in the diff file...
- Legacy-Id: 369
2007-06-13 14:42:46 +00:00
Henrik Levkowetz b92b155ee3 Acceptable diff: Whitespace
- Legacy-Id: 368
2007-06-13 14:36:44 +00:00
Henrik Levkowetz 0fde1e32b1 Acceptable diff: The current implementation is broken; showing current ADs for a ballot they were not present at. See ticket #87.
- Legacy-Id: 367
2007-06-13 14:17:45 +00:00
Henrik Levkowetz fcaca1e849 Acceptable diff: The date of this disclosure has been fixed in the Django database
- Legacy-Id: 366
2007-06-13 14:14:10 +00:00
Henrik Levkowetz 037a27ab2c Acceptable diff: Layout differences, in particular the handling and placement of colons.
- Legacy-Id: 365
2007-06-13 14:13:04 +00:00
Henrik Levkowetz 627d053488 Acceptable diff: The date of this disclosure has been fixed in the Django database
- Legacy-Id: 364
2007-06-13 14:09:55 +00:00
Henrik Levkowetz a71abb1da4 Fixed nonsense syntax in shell file test-setup.
- Legacy-Id: 355
2007-06-12 23:02:18 +00:00
Henrik Levkowetz 810a615a6d Updated acceptable diff
- Legacy-Id: 349
2007-06-12 21:49:20 +00:00
Henrik Levkowetz 8deca3446e A script to update the update database from a dump file
- Legacy-Id: 339
2007-06-12 18:05:46 +00:00
Henrik Levkowetz 6fe5717a1f Oh, silly, silly. To work also with the buildbot, we need a global lock.
- Legacy-Id: 338
2007-06-12 18:04:14 +00:00
Henrik Levkowetz f1251ca2d6 Adding database update lock support to the test setup/teardown files
- Legacy-Id: 334
2007-06-12 16:21:25 +00:00
Henrik Levkowetz 9589d3f1c9 Another generic diff variation
- Legacy-Id: 327
2007-06-12 00:32:36 +00:00
Henrik Levkowetz 61cdc1e5d1 Updated diffs
- Legacy-Id: 325
2007-06-12 00:11:39 +00:00
Henrik Levkowetz 1cafcf3e9d Changed approach to space normalization in soup2text(). Plain whitespace stripping followed by reassembly caused too large information loss. Accompanying changes in generic diff files.
- Legacy-Id: 321
2007-06-11 20:28:19 +00:00
Henrik Levkowetz e7a13bff68 * Adding 3 generic chunks, which will ignore the A-hat diffs and the
'produced by' diffs.
 * Updating ietf/tests.py to handle diff chunks right
 - Legacy-Id: 316
2007-06-11 18:44:49 +00:00