Commit graph

168 commits

Author SHA1 Message Date
Henrik Levkowetz e631303959 An additional ignore group
- Legacy-Id: 642
2007-06-25 21:01:31 +00:00
Henrik Levkowetz 5ba3cd711c Make update-db use simple output, rather than logging to logfile. Some tweaks to diagnostic output text.
- Legacy-Id: 641
2007-06-25 21:00:43 +00:00
Bill Fenner 1563952230 Update ballot diff for new rendering including all ADs.
- Legacy-Id: 637
2007-06-25 17:44:55 +00:00
Henrik Levkowetz 440c85a309 The former contents of the file has been applied to the live database and shouldn't be needed any more. New corrections still go here until they are applied, too.
- Legacy-Id: 622
2007-06-24 03:18:44 +00:00
Henrik Levkowetz 7d8a3204ab Updated acceptable diff
- Legacy-Id: 621
2007-06-22 23:24:46 +00:00
Henrik Levkowetz d1f5520067 Changing to sorted diffs for recent and previous IESG announcements. Doing this shows what seems to be a flaw in the old scripts, listing some informational documents among the Protocol Announcements. Adding an acceptable diff for the remaining diff which is a result of this.
- Legacy-Id: 619
2007-06-22 23:13:11 +00:00
Henrik Levkowetz 6d0fa4f4d7 Changing the comparison of this to be sorted. The order differences will continue to change as the content changes over time, so a stored diff won't work
- Legacy-Id: 618
2007-06-22 20:56:03 +00:00
Bill Fenner 472669b109 OK diffs:
* "All Substates" moved
 * layout difference in mibagent-survey
 * "Did you find a bug?" footer is missing
 - Legacy-Id: 615
2007-06-22 15:14:03 +00:00
Henrik Levkowetz 4dbc30caae Acceptable diff: This diff is only the result of different ordering. Since the new version seems to consistently list documents in id order withing groups, while the old doesn't, we'll keep the new one without attempting any fix.
- Legacy-Id: 614
2007-06-22 12:11:29 +00:00
Bill Fenner f1f94506f8 Don't diff view_related_docs. We've determined that the diffs are
OK, but it's silly to have a stored diff file that's basically
the whole page.
 - Legacy-Id: 611
2007-06-22 01:56:40 +00:00
Henrik Levkowetz 9c25e4a520 Updated diff file
- Legacy-Id: 606
2007-06-22 00:18:53 +00:00
Henrik Levkowetz 361ccbb9d1 A testurl tweak, and an additional acceptable diff file for /idindex/? .
- Legacy-Id: 605
2007-06-21 23:32:15 +00:00
Henrik Levkowetz e502b79fd1 Acceptable diff: Acceptable case differences
- Legacy-Id: 604
2007-06-21 23:08:29 +00:00
Bill Fenner 70cf3fb891 I've extensively tested the view_related_docs function and have
decided that although it doesn't show the exact same output, its
output is also correct.
 - Legacy-Id: 588
2007-06-21 16:53:40 +00:00
Henrik Levkowetz da1f0d873b Acceptable diff: The header difference and the addition of email addresses is intentional, the remaining diffs are formatting issues.
- Legacy-Id: 576
2007-06-21 08:54:43 +00:00
Bill Fenner 37c8d542bd These diffs are just due to different truncation algorithms.
- Legacy-Id: 561
2007-06-20 20:20:57 +00:00
Henrik Levkowetz 90947c8261 Updated buildbot plugin which differentiates between failed acceptable diffs and other diffs.
- Legacy-Id: 559
2007-06-20 16:33:31 +00:00
Henrik Levkowetz 253ec2d349 Additional date ignore-pattern.
- Legacy-Id: 558
2007-06-20 16:32:38 +00:00
Bill Fenner 6918c22804 http -> https
- Legacy-Id: 556
2007-06-20 15:54:27 +00:00
Henrik Levkowetz 9e0c2b7e53 Updated pyflakes ignore lines
- Legacy-Id: 546
2007-06-20 00:18:38 +00:00
Henrik Levkowetz 4c335a0d33 Updated date format regex' to include optional time zone in parentheses.
- Legacy-Id: 545
2007-06-20 00:12:39 +00:00
Henrik Levkowetz 0e2173a060 Add testing support for selectively ignoring regex patterns. First use case is to ignore datestamps for page creation. Also add ignore:date to the spec. in urltest.list for agenda and meeting pages, and add some ignore date regex patterns.
- Legacy-Id: 542
2007-06-19 23:31:02 +00:00
Michael Lee 649ac378c3 Add three diff files to accept valid diffs for meeting agenda and materials page
- Legacy-Id: 537
2007-06-19 19:37:26 +00:00
Bill Fenner 4d6a6f1a37 Lines shifted.
- Legacy-Id: 530
2007-06-19 16:32:26 +00:00
Henrik Levkowetz b1594c31fe Ignore patched django copy under test/lib
- Legacy-Id: 528
2007-06-19 08:28:50 +00:00
Bill Fenner e8d11892a7 Use the right diff header.
- Legacy-Id: 526
2007-06-19 03:47:25 +00:00
Bill Fenner f81e556dba The announced_to table has "IETF Announcement list"; the cgi
has a hardcoded "IETF Announcement".
 - Legacy-Id: 525
2007-06-19 02:58:59 +00:00
Henrik Levkowetz fea3602d82 Break on finding a suitable directory for lock and state files. Dont create the lock directory when looking for an acceptable place.
- Legacy-Id: 523
2007-06-18 22:59:55 +00:00
Bill Fenner bac2356168 Ignore "Step 1" heading created by the common template
- Legacy-Id: 517
2007-06-18 22:15:11 +00:00
Bill Fenner 3ad123cb2c These were purposeful enhancements.
- Legacy-Id: 515
2007-06-18 22:09:36 +00:00
Bill Fenner 4c6b9882d0 Updated diff (should have committed with _idtracker_12689_)
- Legacy-Id: 512
2007-06-18 21:52:26 +00:00
Bill Fenner 7cdffc0fa2 Update diff to chase test framework.
- Legacy-Id: 511
2007-06-18 21:51:32 +00:00
Bill Fenner b956310553 I was actually keeping the "None" diff around because it was
a real bug.  Luckily, I remembered to fix it, so update
the diff to the actually-not-relevant parts.
 - Legacy-Id: 510
2007-06-18 21:49:54 +00:00
Henrik Levkowetz fe7f36a85a Ignore .pyc files also under test/
- Legacy-Id: 504
2007-06-18 19:34:41 +00:00
Henrik Levkowetz a6c5f1b805 Fixes to IPR templates, view and model, and acceptable diffs.
- Legacy-Id: 485
2007-06-17 23:19:21 +00:00
Henrik Levkowetz 56aae66b03 Template and acceptable diff update for third-party notifications
- Legacy-Id: 484
2007-06-17 21:34:11 +00:00
Henrik Levkowetz 7d33c372d1 Template and code changes for the third-party IPR disclosure page, and an acceptable diff file.
- Legacy-Id: 483
2007-06-17 21:08:36 +00:00
Henrik Levkowetz e4deb27623 Changed query argument order in testurls to agree with the order produced by the redirects. Accompanying new acceptable diff file.
- Legacy-Id: 481
2007-06-17 21:05:29 +00:00
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
Henrik Levkowetz 94734fab6d PyFlakes exceptions
- Legacy-Id: 305
2007-06-11 06:14:10 +00:00
Henrik Levkowetz adf1c4c4a7 Removing unused files
- Legacy-Id: 297
2007-06-10 19:36:27 +00:00
Henrik Levkowetz d2eafc5735 Adapting the buildbot plugin to the diffing changes in ietf/tests.py
- Legacy-Id: 295
2007-06-10 18:21:18 +00:00
Henrik Levkowetz 6d5afa514a Adding diff file for an IPR url, and some ipr/tests.py tweaks.
- Legacy-Id: 294
2007-06-10 18:19:42 +00:00
Henrik Levkowetz 9bb6d08ed2 Now using a refined buildbot plugin which counts and separates the different types of URL failures and displays them in the waterfall status box.
- Legacy-Id: 293
2007-06-10 17:23:13 +00:00
Henrik Levkowetz c89000f253 A new buildbot plugin, with better reporting from the URL tests
- Legacy-Id: 292
2007-06-10 16:42:27 +00:00
Henrik Levkowetz 341811e84e Patched a bug in BeautifulSoup (discovered by PyFlakes) and quietened the remaining nonconsequential comments from PyFlakes regarding BeautifulSoup
- Legacy-Id: 290
2007-06-10 14:14:16 +00:00
Bill Fenner e8f9c0c771 Add primary key for chairs table.
Update FK values in id_internal, area_directors, groups_ietf

Update none_wg_mailing_list
 - Legacy-Id: 287
2007-06-10 13:44:50 +00:00
Henrik Levkowetz 1d9b2b2b8d Tweaked run-pyflakes (again) to be less sensitive to line position of excluded comments
- Legacy-Id: 284
2007-06-10 11:59:09 +00:00
Henrik Levkowetz 0786a6b852 More updated excludes
- Legacy-Id: 282
2007-06-10 11:42:03 +00:00
Henrik Levkowetz aa3924e102 Testing a specific IPR declaration
- Legacy-Id: 281
2007-06-10 11:33:24 +00:00
Henrik Levkowetz 740a23be87 Updated excludes, and test/run without verbosity
- Legacy-Id: 280
2007-06-10 11:32:27 +00:00