<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mailman.git/Mailman/testing, branch master</title>
<subtitle>The GNU Mailing List manager.
</subtitle>
<id>https://git.neuromancer.sk/mailman.git/atom?h=master</id>
<link rel='self' href='https://git.neuromancer.sk/mailman.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/'/>
<updated>2007-07-18T15:46:44Z</updated>
<entry>
<title>More work on completing the transition to setuptools.</title>
<updated>2007-07-18T15:46:44Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-18T15:46:44Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=50d84950d1060129da8eb3c3c490a7395b0837e5'/>
<id>urn:sha1:50d84950d1060129da8eb3c3c490a7395b0837e5</id>
<content type='text'>
* Mailman/testing -&gt; Mailman/test
* Removed Mailman/testing/base.py
* Fix mailmanctl by using a different way of calculating where the qrunner
  script is.  The configuration file no longer knows what BIN_DIR is, but the
  mailmanctl script knows where it lives via sys.argv[0].  Also, PREFIX_DIR -&gt;
  VAR_DIR.

Also,

* Since the overwhelmingly predominant use of ILanguageManager is to get the
  description, and since .get_language_data(code)[0] is not very readable,
  split the interface into .get_description() and .get_charset().
* In the setup, automatically add all Mailman.bin modules as command line
  scripts.
</content>
</entry>
<entry>
<title>Major surgery to get the setuptools based installation passing all the</title>
<updated>2007-07-17T03:55:49Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-17T03:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=b8e8aa0386c2ee0fc7e90bf22fbe8fe3f222964a'/>
<id>urn:sha1:b8e8aa0386c2ee0fc7e90bf22fbe8fe3f222964a</id>
<content type='text'>
existing unit tests.  Here's a summary of the changes.

- Removed all dependent third party packages, since the setup.py file now
  claims all package dependencies such that they can be automatically
  installed from the cheeseshop.

- Moved the misc directory into the Mailman package as Mailman/data.  Moved
  templates and messages to Mailman subpackages.

- Added an ILanguageManager interface, plus an implementation, so that
  we don't use Defaults.LC_DESCRIPTIONS directly anymore.  Added a doctest
  for this interface and implementation.  Defaults.LANGUAGES is moved into
  mailman.cfg.  Defaults.LANGUAGE_DICT is moved to _DEFAULT_LANGUAGE_DATA, and
  LC_DESCRIPTIONS is removed.  The calculation of the available and enabled
  languages is moved to the Configuration class, but this will probably still
  need work.  Utils.GetLanguageDescr() and Utils.IsLanguage() are removed.
  I'd like to remove GetCharSet() eventually too, but there are too many uses
  of this currently, so I'm deferring it.

- Utils.findtext(): Hacks added so that templates can be retrieved from the
  language catalog.  The hack is that the template contents are used to find
  the translation, but in the one test case where this is actually flexed, the
  trailing newline in the file contents has to be trimmed.  This is probably
  not right.

- No more Defaults.py.in or mm_cfg.py!  Defaults.py.in is moved to Defaults.py
  and is no longer created from a template file.  The script called
  make_instance is added which creates an etc/mailman.cfg file from
  mailman.cfg.in (previously, mailman.cfg.sample) and /that/ file now has the
  small number of calculated values.  In general, make_instance will not touch
  mailman.cfg if it exists, unless the --force option is given.  CGIEXT is
  made the empty string by default (i.e. not generated).  make_instance grows
  a --var-dir option.  Fleshed out the --languages opton.

- Defaults.py grows a DEFAULT_VAR_DIRECTORY variable, which is the default
  location of the 'var' directory.  The Configuration class uses this as one
  of the directories it searches for its landmark, i.e. etc/mailman.cfg.
  RUNTIME_DIR is gone, as is VAR_PREFIX.

- testall needs to write MAILMAN_USER, MAILMAN_UID, MAILMAN_GROUP,
  MAILMAN_GID, and LANGUAGES run time variables.

- bin/withlist no longer needs to add config.BIN_DIR to sys.path, because in
  fact that variable doesn't exist any more.

- Tweak the French catalog to make a test work.  This is needed because of the
  conversion from %-strings to $-strings.

- The setup.py now generates the .mo files before it does its thing.  This
  will have to be fixed, but for now we must generate these files on setup
  build time instead of installation time.

- Removed an unused interface.
</content>
</entry>
<entry>
<title>The start of a setuptools conversion.  All the Makefile.in and autoconf</title>
<updated>2007-07-13T04:19:10Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-13T04:19:10Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=288ae405b09baa443eb1b39422c48c315fbb2e5a'/>
<id>urn:sha1:288ae405b09baa443eb1b39422c48c315fbb2e5a</id>
<content type='text'>
artifacts are removed, as is the C files which we will no longer need.
</content>
</entry>
<entry>
<title>Last bit of existing test suite cleanup for now.  I've removed the inmemory.py</title>
<updated>2007-07-12T04:22:33Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-12T04:22:33Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=da315b5b08029236dc1065089399a4fb16446477'/>
<id>urn:sha1:da315b5b08029236dc1065089399a4fb16446477</id>
<content type='text'>
module since we're not using that any more.  I've also disabled the remaining
failing tests in test_handlers and test_security_mgr.  Because of the unified
user database, both of these modules will change significantly, but I don't
want to remove them just yet.
</content>
</entry>
<entry>
<title>Convert the Scrubber test to a doctest, and fix Scrubber.py, but otherwise</title>
<updated>2007-07-12T04:12:45Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-12T04:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=fd249859062a521a1c3513ab129c31866c618feb'/>
<id>urn:sha1:fd249859062a521a1c3513ab129c31866c618feb</id>
<content type='text'>
don't modernize the Scrubber handler.

The is the last of the handler test conversions until we figure out what to do
with the Approve handler.  In a unified user database the semantics of this
are unclear.
</content>
</entry>
<entry>
<title>Convert ToArchive tests to doctests and do a minimal amount of handler module</title>
<updated>2007-07-11T11:06:34Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-11T11:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=ca6bbd0ef9dfa503f2cbbcc65cf25e695c0b78ec'/>
<id>urn:sha1:ca6bbd0ef9dfa503f2cbbcc65cf25e695c0b78ec</id>
<content type='text'>
cleanup (really, not much was necessary).
</content>
</entry>
<entry>
<title>Conversion of the ToDigest tests to doctests, along with just enough handler</title>
<updated>2007-07-11T02:39:57Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-11T02:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=de429f33191b84bc261535d8deba54399fb1bd4a'/>
<id>urn:sha1:de429f33191b84bc261535d8deba54399fb1bd4a</id>
<content type='text'>
module update to make the thing pass.  Much more coverage is still necessary,
but this at least recreates the existing tests.

Changes to the test infrastructure to make REPORT_ONLY_FIRST_FAILURE
conditional on lower (default) verbosity.  Increase the verbosity via
'bin/testall -v' and you get all the failure output.
</content>
</entry>
<entry>
<title>Convert ToOutgoing handler to a doctest.  Minor cleanup of the handler code to</title>
<updated>2007-07-08T11:47:03Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-08T11:47:03Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=bebaec0e24f3492ff4190c36074b6c51cd44589b'/>
<id>urn:sha1:bebaec0e24f3492ff4190c36074b6c51cd44589b</id>
<content type='text'>
a more modern Python style.
</content>
</entry>
<entry>
<title>Convert the ToUsenet handlerto a doctest.  No other handler clean up is</title>
<updated>2007-07-06T04:08:56Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-06T04:08:56Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=b9ad1b7308a7e174e1539b600fa3af0586af6dcd'/>
<id>urn:sha1:b9ad1b7308a7e174e1539b600fa3af0586af6dcd</id>
<content type='text'>
included.
</content>
</entry>
<entry>
<title>Convert MimeDel tests to doctest.  No other changes to the handler module are</title>
<updated>2007-07-06T03:01:23Z</updated>
<author>
<name>Barry Warsaw</name>
</author>
<published>2007-07-06T03:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/mailman.git/commit/?id=559745444331ae3e69e7f30e950ad1116f090c36'/>
<id>urn:sha1:559745444331ae3e69e7f30e950ad1116f090c36</id>
<content type='text'>
made.
</content>
</entry>
</feed>
