P4DTI issue job000389

TitleBugzilla integration not supported on Windows
Statusclosed
Priorityessential
Assigned userRichard Brooksby
OrganizationRavenbrook
DescriptionBugzilla can be made to work on Windows but the P4DTI is not supported on Windows.
AnalysisBugzilla comes with lengthy and complex instructions [1] for making it work on Windows.
The Bugzilla integration won't work out of the box on Windows. However, it should be straightforward to change it so that it does.
1. The Bugzilla integration syslog for logging. This needs to be removed or replaced by the Windows event log. See configure_bugzilla.py.
2. The MySQLdb interface needs to be built on Windows. (If MySQL will run on Windows then surely MySQLdb will.)
Testing and support for an extra supported platform is costly. Will it be worth it if only a handful of people are using that platform?
GDR 2001-12-19: No customers yet [2].
GDR 2002-01-08: First customer [3].
We have a P4DTI port to Bugzilla on Windows from Perforce who commissioned it from Parrus Technologies. However, it relies on having another (patched) copy of the Bugzilla sources in order to run the test suite. This will be costly to maintain for future Bugzilla releases, and doesn't share code with the current Bugzilla test code. This must be fixed to make the port maintainable in future. Parrus haven't fully parameterized their code to make it independent from the non-Windows code, so it needs to be merged carefully and the results tested thoroughly. In addition to this, Windows is very flaky, making it hard to get this going.
NB 2002-10-31: Bugzilla 2.16.x does not work on Windows; we should aim to support the most recent working release (2.14.4 at the time of writing).
How foundcustomer
Evidence[1] <http://www.ravenbrook.com/project/p4dt...illa-2_12/docs/html/readme.windows.html>
[2] <http://info.ravenbrook.com/mail/2001/10/16/21-59-17/0.txt>
[3] <http://info.ravenbrook.com/mail/2002/01/08/09-04-38/0.txt>
[4] <http://info.ravenbrook.com/mail/2002/01/31/15-29-36/0.txt>
Observed in1.1.6
Introduced in0.5.0
Created byGareth Rees
Created on2001-08-24 13:51:24
Last modified byNick Barnes
Last modified on2002-11-01 10:32:39
History2001-08-24 GDR Created.
2001-10-19 GDR Added [2].
2002-01-08 GDR Noted customer [3]. Upgraded to optional.
2002-01-31 GDR Upgraded to critical following request from Perforce [4].
2002-10-29 RB Added more detailed analysis

Fixes

Change Effect Date User Description
34907 open 2002-10-29 16:23:23 Nick Barnes Patch for Bugzilla 2.14 to work on Windows.
34906 open 2002-10-29 16:05:29 Nick Barnes Send processmail output to nul on Windows.
34905 open 2002-10-29 16:00:20 Nick Barnes Move directory-changing commands around in the processmail-handling code so that they can work on Windows.
34903 open 2002-10-29 15:34:19 Nick Barnes Split Windows-specific and Posix-specific parameter tests from others. Also cope with password changes on Windows.
34902 open 2002-10-29 15:31:14 Nick Barnes Need test configuration for Bugzilla on Windows.
34900 open 2002-10-29 15:29:55 Nick Barnes  Now that Bugzilla on Windows is supported, we need to check the Windows-specific configuration parameters.
34899 open 2002-10-29 15:28:49 Nick Barnes Fixed some problems with the type of the result of run_script.
34873 open 2002-10-28 17:28:36 Richard Brooksby Merged Bugzilla_nt_interface and Bugzilla_posix_interface into a single class. (There's still some duplication with TeamTrack_nt_interface which could be removed.) Worked around some bugs in Windows file redirection.
34871 open 2002-10-28 16:27:29 Richard Brooksby Made Bugzilla_posix_interface and Bugzilla_nt_interface as similar as possible in preparation for refactoring into a single class.
34860 open 2002-10-28 12:03:23 Richard Brooksby Added rename of processmail to Bugzilla installation on Windows.
34786 open 2002-10-25 16:53:57 Richard Brooksby Changing os.system in Bugzilla_nt_interface to use something which detects errors.
34785 open 2002-10-25 16:38:44 Richard Brooksby Modified Bugzilla_nt_interface to try to make it work in Ravenbrook's test environment.
34783 open 2002-10-25 15:48:05 Richard Brooksby Added back logging to syslog under control of new configuration parameter "use_system_log".
34781 open 2002-10-25 15:30:16 Richard Brooksby Merging masters to version 1.5, which is mostly changes for Bugzilla on Win32.
34779 open 2002-10-25 15:07:26 Richard Brooksby Merging Bugzilla for Windows test suite changes from master to version 1.5.
34775 open 2002-10-25 14:55:25 Nick Barnes patch to turn a vanilla bugzilla 2.14.3 into one which works on our NT test machine.
31224 open 2002-07-18 11:17:15 Nick Barnes Add Bugzilla 2.14.2 and 2.16rc2 to imports. Also add the Parrus port of the P4DTI Kit 1.4.2 to the imports index.
30537 closed 2002-06-26 17:31:59 Richard Brooksby Adding note to error message 304 referring people to Bugzilla for Windows installation instructions.
30533 open 2002-06-26 16:51:04 Richard Brooksby Merging Parrus Technologies port of P4DTI to Bugzilla for Windows.
30498 open 2002-06-25 15:02:41 Richard Brooksby Adding Gerry Thompson's port of P4DTI to Bugzilla for Windows.