Commit graph

196 commits

Author SHA1 Message Date
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
Henrik Levkowetz d6b6f38424 Making run-pyflakes ignore line numbers, which will change.
- Legacy-Id: 265
2007-06-08 17:16:58 +00:00
Henrik Levkowetz b3abb97744 Updated exclusion list
- Legacy-Id: 264
2007-06-08 17:08:04 +00:00
Henrik Levkowetz f55e0b00f9 * Adding a SERVER_EMAIL setting in settings.py and settings_local_test.py
* Adding the ability to take trailing comments in testurl.list files
 * Listing skipped (not tested) urls in the URL test
 - Legacy-Id: 262
2007-06-08 17:01:07 +00:00
Henrik Levkowetz 027d471dd0 Changing the default email-from address used whentesting, and tweaking the test output
- Legacy-Id: 261
2007-06-08 16:01:52 +00:00
Henrik Levkowetz a99d598cc0 * Minor refactoring in ietf/tests.py
* Added correct dates for two entries in ipr_detail which had 0000-00-00,
   in the sql_fixup.sql file
 * Fixed test/run so it can be run from any directory
 - Legacy-Id: 258
2007-06-08 12:06:15 +00:00
Henrik Levkowetz 6ac5172c90 Updated pyflakes exceptions
- Legacy-Id: 253
2007-06-07 15:30:06 +00:00
Henrik Levkowetz 79ca952b76 ietf/test/run is a simple shell-script which runs the same test set as the buildbot, using a patched local Django copy in order to run the Django test framework. This makes it possible to run the test suite locally before committing, rather than committing in order to have the buildbot run the tests. Some tests on the fully populated database takes a long time (such as retrieving all the IDs) and probably should be moved to a separate test set.
- Legacy-Id: 252
2007-06-07 14:22:48 +00:00
Henrik Levkowetz edc55bcf05 Adding a wrapper around pyflakes to filter out warnings which have been inspected and should be ignored.
- Legacy-Id: 249
2007-06-06 19:35:40 +00:00
Henrik Levkowetz 4cfe601ed7 Moving and updating the svn copy of the buildbot master config
- Legacy-Id: 216
2007-06-03 20:26:55 +00:00
Bill Fenner 3ff684ff06 SQL commands to convert IETF database dump to django schema.
- Legacy-Id: 208
2007-06-01 18:25:39 +00:00
Henrik Levkowetz cf4521d98d Test cleanup: remove test database if 'python manage.py test' crashes
- Legacy-Id: 205
2007-06-01 17:01:32 +00:00
Henrik Levkowetz 3d84ba95d9 More test setup and teardown functionality.
- Legacy-Id: 204
2007-06-01 16:40:30 +00:00
Henrik Levkowetz 2de4f6d6d7 More test setup
- Legacy-Id: 199
2007-05-31 21:11:03 +00:00
Henrik Levkowetz 0ed54be5d8 Ignore Django patch if it seems to be reversed
- Legacy-Id: 198
2007-05-31 20:54:34 +00:00
Henrik Levkowetz a5099d6776 Make the patch succeed or fail without waiting for operator input
- Legacy-Id: 197
2007-05-31 20:47:22 +00:00
Henrik Levkowetz 1d928f6a64 Hopefully fixing the patch application
- Legacy-Id: 196
2007-05-31 20:40:49 +00:00
Henrik Levkowetz e75561a2d0 Making test helper scripts executable
- Legacy-Id: 192
2007-05-31 19:57:14 +00:00
Henrik Levkowetz ec3e05cde6 Adding some helper scripts and files for buildbot testing.
- Legacy-Id: 191
2007-05-31 19:48:51 +00:00