finish split of trunk into seperate directories


git-svn-id: https://nsscache.googlecode.com/svn/trunk@51 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.7.3.

     - verify command now recognizes when modules use libnss-cache and when
       they do not.
     - Add patch from 'pingu' that synchronises crypted userPassword in
       the shadow map if available.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@54 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.8.0.

     - automount support
     - fixed bug where we keep re-merging on incremental updates sometimes


git-svn-id: https://nsscache.googlecode.com/svn/trunk@60 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.8.3.

     - Uses posix exit codes.  (jaq)


git-svn-id: https://nsscache.googlecode.com/svn/trunk@67 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.8.6.

   * Worked around set(), subprocess, ConfigParser, and logging to allow
     nsscache to run on python2.3 systems.  (code.google.com issue #15)
   * Call flush after write and fsync before close on timestamps
     and temporary files to ensure data is committed to disk before
     renaming to overwrite old data, reducing chance of data loss.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@70 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.8.8.

   * gracefully handle a missing auto.master when using the local automount
     master map -- issues a warning and skips auto.* updates.
 .
 nsscache (0.8.7-2) unstable; urgency=low
 .
   * Explicit dependency on python2.4 instead of using ${python:Depends}
     as we call python2.4 as the interpreter in /usr/bin/nsscache.
 .
 nsscache (0.8.7-1) hardy; urgency=low
 .
   * Handle comments in map files.
   * Stop FileCache.Write() from closing the cache file
   * Handle closed cache files more gracefully in _Commit()


git-svn-id: https://nsscache.googlecode.com/svn/trunk@72 174328a7-c139-0410-853f-79eade525fa0
Add nsscache.spec RPM spec file from Oliver Hookins.   Fixes issue 16.

git-svn-id: https://nsscache.googlecode.com/svn/trunk@75 174328a7-c139-0410-853f-79eade525fa0
Merge new release.
  
  * Allow a 206 response code when fetching the GPG signature.
  * Remove the norange_conn. A range of 0- rather than blank will do
    the job.
  * Bugfix for zsyncsource.Verify()
  * Change behaviour when fetching full files. Use a separate connection
    that doesn't have the range header set at all.
  * Add Verify() to the zsync source.
  * Treat non-existent file maps as empty.
  * Fix some errors in the GPG handling in zsyncsource.py
  * Create /var/lib/nsscache
  * Remove unit tests and test runner from package
  * Add support for GPG signed files to the zsyncsource
  * Add the zsync source
  * Added file based Updater classes
  * Add support for netgroups and automounts to the HTTP file source.
  * Install into /usr/bin instead of /usr/local/bin
  * Fix setup.py to include the new util package.
  * Add a HTTPSource. This only supports the passwd/shadow/group maps for now,
    and adds a pycurl dependency. The long term plan is to support zsync.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@79 174328a7-c139-0410-853f-79eade525fa0
Update for Debian release; fix distributions in changelog, lintian clean, update to debhelper 7, don't install runtests, update control file, add watch file

git-svn-id: https://nsscache.googlecode.com/svn/trunk@84 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.2.

   * Bump version number in nss_cache/__init__.py so that the code knows
     what version it's running.
 .
 nsscache (0.21-1) unstable; urgency=low
 .
   * Include exit code in Exiting message
 .
 nsscache (0.20-1) unstable; urgency=low
 .
   * Do all work in a tempdir that we clean up on a normal exit.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@85 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.3.

   * Reduce the size of netgroup files by half for ldap servers that use
     memberNisNetgroup attributes like they use nisNetgroupTriple; they're
     both just text fields so easy to do it incorrectly; use a set instead
     of a list to remove duplicates.
   * Convert timestamp handling to use time.struct_time instead of epoch
     timestamps, the former lets us control the timezone of the timestamp
     correctly.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@87 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.4.

     * Sort netgroup membership.
     * Log the time it takes to perform a whole run.
     * Factor out the updater factory method from app.py.
     * Don't quit the updater if one map fails, wait for all maps to finish
       processing before exiting.
     * Add the pid, module, and function name to the syslog format string.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@89 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.5.

     * Change the log message formatting depending on where the logs go,
       adding timestamp, level, and source location when on the console, and
       removing everything but the level and message when going to syslog.
     * Actually sort netgroup membership.
     * Create temp files in the same directory as the destination, as
       cross-filesystem renames aren't atomic.
     * Create a temporary directory in the target directory, and chdir into
       it, in case a zsync source is used; zsync's librcksum creates its
       temporary files in the cwd, and sometimes doesn't clean up after
       itself.
     * Fix printing of timestamps in nsscache status output.
     * Don't abort on EmptyMap errors, continue onto the next map.
   * Put nsscache back in /usr/bin


git-svn-id: https://nsscache.googlecode.com/svn/trunk@91 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.6.

    * Don't retrieve the auto.master file from the zsync source if
      zsync_local_automount_master is set to yes.
    * Fix a crash caused by bad code clagging between update/files.py and
      update/maps.py.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@93 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.7.

    * Improve logging around adding to an automount map.
    * Ignore elements of automount master that we can't parse, instead of
     crashing.
    * Rename automount_info to automount_mountpoint for clarity.
    * Work around a bug in bdb-4.8 that doesn't like writing to a
     zero-length file, instead we create a security hole race condition on
     the tempfile we want it to write to. Oh well, if you use bdb for nss
     caching then you are going to suffer many more problems than just this
     one.
    * Drop python2.3 and lower support by insisting on the set() type, and
     using subprocess instead of popen*.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@95 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.8.

    * Update the status output to be flexible, adding --template and
     --automount-template options.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@97 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.9.

    * Fix bugs in the ldapsource module introduced by changing the
     timestamp type from an int to a time.struct_time.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@99 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.10.

    * Handle relative paths in the config when creating temporary directories.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@101 174328a7-c139-0410-853f-79eade525fa0
Merge version 0.21.14.

   * Raise InvalidMap if the zsync decompress fails.
   * Handle EmptyMap before trying to gpg decrypt the result.
   * Handle missing and multiple signatures from pyme without crashing.
   * Catch InvalidMap in the command object.
   * No longer falls back to pycurl to retrieve a full file if zsync
     fetches fail.
   * Fix package dependencies on pycurl and python-ldap.
   * If a timestamp stored locally is more than an hour in the future,
     ignore it and use 'now'.
   * Fix the unit tests for full updates, and make the handling of the
     --force-write flag act as documented.
   * Update the test runner to show log output if --verbosity is enabled.


git-svn-id: https://nsscache.googlecode.com/svn/trunk@106 174328a7-c139-0410-853f-79eade525fa0
Add watch file.

git-svn-id: https://nsscache.googlecode.com/svn/trunk@116 174328a7-c139-0410-853f-79eade525fa0