I eventually would like to see the functionality of trac-admin moved to
Environment.py leaving trac-admin as just a text interface. This would
allow a GUI or web interface to access this functionality without
duplicating code.
To ensure that I don't break anything as important as trac-admin, I'm in
the process of creating a series of patches that add unit tests for
trac-admin.
I've attached the first two patches that test the about and help
commands. I also have patches for component, milestone, version,
priority, severity, and permission. I'll post these later today and
tomorrow.
I only have access to Fedora Core 2 Linux and Python 2.3.3. Hopefully,
I these patches don't rely on anything more that the requirements listed
in INSTALL. I encourage people on other operating systems and other
versions of Python to test these patches.
Please let me know what you think. =)
--
Tim Moloney <t.moloney@verizon.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-tracadmin-tests-about.patch
Type: text/x-patch
Size: 3047 bytes
Desc: not available
Url : /archive/trac/attachments/20040820/eea549be/1-tracadmin-tests-about.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-tracadmin-tests-help.patch
Type: text/x-patch
Size: 7602 bytes
Desc: not available
Url : /archive/trac/attachments/20040820/eea549be/2-tracadmin-tests-help.bin
Environment.py leaving trac-admin as just a text interface. This would
allow a GUI or web interface to access this functionality without
duplicating code.
To ensure that I don't break anything as important as trac-admin, I'm in
the process of creating a series of patches that add unit tests for
trac-admin.
I've attached the first two patches that test the about and help
commands. I also have patches for component, milestone, version,
priority, severity, and permission. I'll post these later today and
tomorrow.
I only have access to Fedora Core 2 Linux and Python 2.3.3. Hopefully,
I these patches don't rely on anything more that the requirements listed
in INSTALL. I encourage people on other operating systems and other
versions of Python to test these patches.
Please let me know what you think. =)
--
Tim Moloney <t.moloney@verizon.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-tracadmin-tests-about.patch
Type: text/x-patch
Size: 3047 bytes
Desc: not available
Url : /archive/trac/attachments/20040820/eea549be/1-tracadmin-tests-about.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-tracadmin-tests-help.patch
Type: text/x-patch
Size: 7602 bytes
Desc: not available
Url : /archive/trac/attachments/20040820/eea549be/2-tracadmin-tests-help.bin