commit 4ca09c01e7424d088fd69ccd28e9c82eef0852b5
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Oct 1 19:35:56 2009 +0100

    Don't touch v2+ rzdb files

 librazor/razor.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit b98997a565439f7f8f23fe42cbd337bde24dfba0
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Oct 1 18:58:55 2009 +0100

    Fix bug causing razor update foo to always install foo

 src/main.c           |    3 +++
 test/mult-install.sh |   10 ++++++++++
 test/update.sh       |   15 +++++++++++++++
 3 files changed, 28 insertions(+), 0 deletions(-)

commit 1eed43715416c90e4c0f926eed390d8bc6fd8b53
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Oct 1 18:51:02 2009 +0100

    Implement proper locking

 librazor/razor-internal.h |    4 +++
 librazor/razor.c          |   64
 +++++++++++++++++++++++++++++++++++++++++++++
 librazor/root.c           |   64
 +++++++++++++++++++++++++++++++++-----------
 3 files changed, 116 insertions(+), 16 deletions(-)

commit a3533607539013b069df1200e62e9d2e086ac3b6
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Sep 29 19:31:16 2009 +0100

    Fix bug causing multiple installs to abort

 librazor/razor.c     |   40 ++++++++++++++++++++++++--
 test/Makefile.am     |    6 +++-
 test/mult-install.sh |   75
 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 117 insertions(+), 4 deletions(-)

commit f0c9d907d4688edc7faea8c65c2a1537d3623e6d
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Sep 28 18:29:05 2009 +0100

    Fix bug causing updates to fail on systems with multiple versions
    of a package installed

 librazor/transaction.c |   11 +++++++----
 test/update.sh         |   12 ++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

commit 1b70cf562199194254bf390020f5227dd2b29562
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Sep 28 18:26:02 2009 +0100

    Start 0.3

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit e1510696ca88716ad62fb39e2692f40e0f34fdfe
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Aug 18 14:04:11 2009 +0100

    Fix bug causing remove to abort

 librazor/razor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 92269419cee7ed28c0d85988b938ebfecd0cd4a7
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Aug 13 07:14:51 2009 +0100

    Basic support for update

 librazor/razor.c |   51 ++++++++++++++++++-----------
 librazor/razor.h |    7 ++--
 src/main.c       |   93
 ++++++++++++++++++-----------------------------------
 test/Makefile.am |   39 +++++++++++++++++------
 test/update.sh   |   89
 +++++++++++++++++++++++++++++++++++++++++++++++++++
 test/zip.spec    |    4 +-
 6 files changed, 186 insertions(+), 97 deletions(-)

commit d5597f47e78e206d901e9525beff1279151c9cec
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Aug 13 07:08:45 2009 +0100

    Fix a bug causing libtool versioning to be ignored.

    This bug meant that razor 0.1 was recorded as interface 0 rather
    than the intended interface 1. razor 0.2 will use interface 1.

 librazor/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 6441bf80c6e119729316858090cddc7fb1516f8f
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Aug 11 12:53:16 2009 +0100

    Start 0.2

 AUTHORS      |    2 +-
 configure.ac |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 77448121577da35bf3beb0f3700ec833a496f2cc
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jul 9 00:01:18 2009 +0100

    Fix problems found by distcheck

 librazor/test-lua.c |   21 ++++++++++++++++++++-
 po/POTFILES.in      |    3 +++
 test/Makefile.am    |    7 +++++++
 3 files changed, 30 insertions(+), 1 deletions(-)

commit 28d340b2b75c77f6884f2531fe5f059f83540e04
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jul 8 22:14:16 2009 +0100

    Fix bugs when removing files and directories

 librazor/iterator.c       |   14 +++++++++++---
 librazor/razor-internal.h |    2 ++
 librazor/razor.c          |   32 ++++++++++++--------------------
 librazor/razor.h          |    2 +-
 librazor/types/list.c     |   38 ++++++++++++++++++++++++++++++++------
 librazor/types/types.h    |    2 ++
 librazor/util.c           |   34 ++++++++++++++++++++++++++++++++++
 src/main.c                |    2 +-
 8 files changed, 95 insertions(+), 31 deletions(-)

commit 58ddb11d7e35dee7ba56c8273c210c77d488960c
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Jul 7 22:50:22 2009 +0100

    Pass installation-count to scripts

 librazor/lua.c            |   16 +++++++++++++++-
 librazor/razor-internal.h |    4 ++--
 librazor/razor.c          |    9 ++++++---
 librazor/razor.h          |    5 +++--
 librazor/rpm.c            |   41
 +++++++++++++++++++++++++++--------------
 librazor/test-lua.c       |    2 +-
 src/main.c                |    4 ++--
 test/zip.spec             |    4 ++--
 test/zsh.spec             |    4 ++--
 9 files changed, 60 insertions(+), 29 deletions(-)

commit 8af30e942ac1ef347345ce554743a15f7ea0ea8c
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Jul 6 18:19:13 2009 +0100

    Set RPM_INSTALL_PREFIX{n} in preun as well

 librazor/razor.c |   32 ++++++++++++++++++++------------
 1 files changed, 20 insertions(+), 12 deletions(-)

commit d014450d987526fbc2228fc05d822358de85a6db
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Sat Jul 4 11:11:59 2009 +0100

    Formally fork in preparation for release

 README       |    7 +++++++
 TODO         |    3 +++
 configure.ac |    2 +-
 3 files changed, 11 insertions(+), 1 deletions(-)

commit 3485ee6cb08bb652ac54655bef7ffb5e0ae02f38
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jul 3 19:06:29 2009 +0100

    Go back to having all info in one rzdb file.

    We can still split the rzdb file into a main file and a file data and
    a details file, but that's only for optimizing the required download
    size. On the system we always combine the parts back into one rzdb
    file once downloaded.

 librazor/razor-internal.h |   14 +--
 librazor/razor.c          |  230
 ++++++++++++++++++---------------------------
 librazor/razor.h          |   21 ++--
 librazor/root.c           |   63 +-----------
 src/main.c                |   34 ++-----
 src/rpm.c                 |   18 +----
 6 files changed, 121 insertions(+), 259 deletions(-)

commit 5dff2c97cf4a3e73aa85f548e00a3d8757992695
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jul 3 18:02:33 2009 +0100

    Support RPM_INSTALL_PREFIX{n} during uninstall

 librazor/importer.c       |   24 +++++++++++++++
 librazor/merger.c         |   17 ++++++++++-
 librazor/razor-internal.h |   16 ++++++++++
 librazor/razor.c          |   61 ++++++++++++++++++++++++++++++++++-----
 librazor/razor.h          |    5 ++-
 librazor/rpm.c            |   48 +++++++++++++++++++++----------
 librazor/util.c           |   69
 +++++++++++++++++++++++++++++++++++++++++++++
 src/import-rpmdb.c        |    7 ++++
 src/main.c                |   15 +++++++++-
 test/remove.sh            |   24 ++++++++--------
 10 files changed, 246 insertions(+), 40 deletions(-)

commit fe45387b457aa5d403d690de09b1a09740c0b424
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jul 2 11:31:45 2009 +0100

    Test uninstall scripts survive merge

 test/remove.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 2c99fedea90f3226b5027081eba28173a772ce9e
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jul 2 11:31:03 2009 +0100

    Support empty scripts

 librazor/rpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 89d9f2c1cd3609902b2692e25f849f7a4804daa9
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jun 12 16:59:11 2009 +0100

    Add basic support for uninstall scripts.
    RPM_INSTALL_PREFIX{n} is not yet supported and upgrading a package
    where an uninstall script changes may need more work to ensure the
    old script doesn't get included in the merged set (when it is too
    late to remove). I haven't yet tested whether this is a real problem.

 librazor/importer.c       |   41 +++++++++++
 librazor/merger.c         |   62 +++++++++++++++--
 librazor/razor-internal.h |   21 ++++++-
 librazor/razor.c          |   72 +++++++++++++++++++
 librazor/razor.h          |   23 ++++++-
 librazor/rpm.c            |  167
 +++++++++++++++++++++++++++++++++++++++------
 librazor/transaction.c    |   42 +++++++++---
 src/import-rpmdb.c        |   22 ++++++
 src/main.c                |  119 ++++++++++++++++++++------------
 src/rpm.c                 |   25 +++++--
 src/test-driver.c         |    4 +-
 test/remove.sh            |   27 +++++--
 test/zip.spec             |    1 -
 13 files changed, 527 insertions(+), 99 deletions(-)

commit ba508ae6918dc551b955d28dcd358b42f4a8c746
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jun 3 08:26:09 2009 +0100

    Add automatic provides for lua pre-loaded modules

 librazor/lua.c         |   18 ++++++++++++++++++
 librazor/razor.h       |    8 +++++++-
 librazor/transaction.c |   15 +++++++++++++--
 3 files changed, 38 insertions(+), 3 deletions(-)

commit 1d130ed26ff666f9b0132e98c5ed0d18d5bb79aa
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu May 14 05:55:19 2009 +0100

    Order the installation and removal of packages correctly so scripts
    can run

 librazor/razor.c |   83
 ++++++++++++++++++++++++++++++++++++++++++++----------
 test/Makefile.am |    5 +++
 test/order.sh    |   16 ++++++++++
 test/zip.spec    |   30 +++++++++++++++++++
 test/zsh.spec    |   29 +++++++++++++++++++
 5 files changed, 148 insertions(+), 15 deletions(-)

commit 83577b758cd729572964ae48f8d44d1332dce08f
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu May 14 05:51:05 2009 +0100

    Take advantage of gcc's builtin implementation of ffs under mingw

 librazor/types/types.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 3c277965ae544c6872ae7c52cae71d68c8146c3c
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu May 14 05:50:37 2009 +0100

    Fix documentation typo

 librazor/types/graph.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 362293329a88fcff788786ffea607824e35f9708
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Sat May 9 21:30:22 2009 +0100

    Add support for topological sorting (needed to order transactions)

 configure.ac                    |    1 +
 librazor/Makefile.am            |   20 +--
 librazor/razor-internal.h       |   44 +-----
 librazor/test-hashtable.c       |   75 --------
 librazor/types.c                |  265 --------------------------
 librazor/types/Makefile.am      |   21 ++
 librazor/types/array.c          |   64 +++++++
 librazor/types/deque.c          |  206 ++++++++++++++++++++
 librazor/types/graph.c          |  392
 +++++++++++++++++++++++++++++++++++++++
 librazor/types/hashtable.c      |  147 +++++++++++++++
 librazor/types/list.c           |  102 ++++++++++
 librazor/types/test-deque.c     |  221 ++++++++++++++++++++++
 librazor/types/test-graph.c     |  196 +++++++++++++++++++
 librazor/types/test-hashtable.c |   75 ++++++++
 librazor/types/types.h          |  284 ++++++++++++++++++++++++++++
 15 files changed, 1718 insertions(+), 395 deletions(-)

commit 2071b01d98b9d23bf2512415b3f22891d3c9158a
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri May 1 16:48:47 2009 +0100

    Add very basic support for removing packages

 librazor/razor.c |   17 +++++-
 librazor/razor.h |    1 +
 src/main.c       |  147
 ++++++++++++++++++++++++++++++++++++-----------------
 test/Makefile.am |   10 +++-
 test/remove.sh   |   61 ++++++++++++++++++++++
 test/zsh.spec    |    2 +-
 test/zsh2.spec   |   30 +++++++++++
 7 files changed, 215 insertions(+), 53 deletions(-)

commit 6931121cbd6dc1e6df039f640c95a2d0cf2b1126
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri May 1 16:43:37 2009 +0100

    Set RPM_INSTALL_PREFIX{n} environment variables for use in scripts

 librazor/rpm.c |   39 ++++++++++++++++++++++++++++++++-------
 1 files changed, 32 insertions(+), 7 deletions(-)

commit a5bc12ddeb09d7900749ac7966a80819be4fb840
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Apr 29 17:00:01 2009 +0100

    Add support for preloading lua modules. This is useful both when
    providing lua bindings to applications based on librazor and when
    producing static binaries using librazor (where otherwise the lua
    POSIX library would need to be included as an additional dynamic
    object).

 librazor/Makefile.am |    2 +-
 librazor/lua.c       |   61
 ++++++++++++++++++++++++++++++++++++++++++++++++++
 librazor/razor.h     |    2 +
 3 files changed, 64 insertions(+), 1 deletions(-)

commit b3a8a3245a37fc860361c5cbb18fd1a43694e6f8
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Apr 22 16:27:11 2009 +0100

    Ensure ssize_t is declared before we use it

 librazor/razor-internal.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit ef9be30732230f03cc5874a7fb1ab5d8dbc37d62
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Apr 22 15:09:17 2009 +0100

    Add support for named roots so that we can understand MS-Windows paths
    such as c:/windows. Without this, the user always has to ensure they
    are on the correct drive before running razor.

 librazor/importer.c |   83
 +++++++++++++++++++++++++++++++++------------------
 librazor/merger.c   |   42 ++++++++++++++-----------
 librazor/razor.c    |   49 +++++++++++++++++++-----------
 librazor/razor.h    |    2 +
 librazor/rpm.c      |    2 -
 librazor/util.c     |   38 ++++++++++++++++++++++-
 src/main.c          |    3 ++
 test/Makefile.am    |    6 +++-
 test/named-root.sh  |   53 ++++++++++++++++++++++++++++++++
 9 files changed, 207 insertions(+), 71 deletions(-)

commit b474829ef7638d5493c22a677b1c3a542b32dc2a
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Apr 17 23:08:11 2009 +0100

    Make 0 a valid hashtable value consistently (and 0xFFFFFFFF invalid).

 librazor/types.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

commit 7587ee6ce83410faa662114a3da08ca78cb3bd03
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Apr 17 21:09:55 2009 +0100

    Add hashtable test to expose confusion as to whether 0 is a valid
    value or not

 librazor/Makefile.am      |   10 +++++-
 librazor/test-hashtable.c |   75
 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+), 2 deletions(-)

commit a7121b6e7607201e03255574c88e1ec1d1313022
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Mar 12 20:52:12 2009 +0000

    Avoid use of legacy rpm library types

 src/import-rpmdb.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit 4023acf2b640be54194ea85ffbf1e52f3bad040e
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Mar 12 20:23:35 2009 +0000

    Don't list libcurl as a requirement in the .pc file
    since it's not needed by librazor.

 configure.ac |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 505f72f033acfa8641d675a18474e97a889c0b30
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Mar 12 20:22:52 2009 +0000

    Generate dynamic library on MS-Windows

 configure.ac         |    1 +
 librazor/Makefile.am |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

commit f78e7d58d56439b7e6f7ba076e22f09937b69156
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Sat Feb 14 11:35:32 2009 +0000

    Refactor run_script for improved readability

 librazor/rpm.c |  210
 ++++++++++++++++++++++++++-----------------------------
 1 files changed, 99 insertions(+), 111 deletions(-)

commit ac1cba56d6c5bf0e3871e67abe5a98365874fa7f
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Feb 5 22:43:29 2009 +0000

    Implement lua scripts with support for standard and posix libraries.

 configure.ac              |   21 +++
 librazor/Makefile.am      |   20 +++-
 librazor/lua.c            |  361
 +++++++++++++++++++++++++++++++++++++++++++++
 librazor/razor-internal.h |    3 +
 librazor/rpm.c            |   51 ++++++-
 librazor/test-lua.c       |  102 +++++++++++++
 librazor/test.lua         |   60 ++++++++
 src/Makefile.am           |    3 +-
 test/Makefile.am          |   11 ++-
 test/filesystem.spec      |   38 +++++
 test/lua.sh               |   28 ++++
 11 files changed, 693 insertions(+), 5 deletions(-)

commit f4244de21a92517157cc90961b1ea9d33a19c48d
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 22 22:54:45 2009 +0000

    Implement relocatations when installing rpms.

 Makefile.am               |    2 +-
 configure.ac              |    1 +
 librazor/iterator.c       |   78 ++++++++++++++++++++
 librazor/razor-internal.h |    6 ++
 librazor/razor.c          |   70 ++----------------
 librazor/razor.h          |   20 +++++
 librazor/rpm.c            |  173
 +++++++++++++++++++++++++++++++++++++++++++-
 src/Makefile.am           |    1 +
 src/main.c                |  118 ++++++++++++++++++++++++++++---
 test/Makefile.am          |   30 ++++++++
 test/relocate.sh          |   24 ++++++
 test/zap.spec             |   26 +++++++
 test/zip.spec             |   27 +++++++
 test/zsh.spec             |   30 ++++++++
 14 files changed, 530 insertions(+), 76 deletions(-)

commit d2c2922fccf38fdb3863223c7a9a15058f17455e
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 14 12:21:38 2009 +0000

    Fix bug causing "razor remove" to quietly fail.

 src/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 6d0de4a139a7839a49d722e74b7415f83499b037
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 14 11:48:50 2009 +0000

    Fix bug causing "razor list-files" to fail to see any files.

 src/main.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

commit 7f2464137a81bd712d3317fa98c706ff7bc6f1dc
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 14 11:47:55 2009 +0000

    Fix bug causing merger to place file names in the main string pool
    rather than the files string pool.

 librazor/merger.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit d2821063f0ff0c1b87a3e3cdaa6b310822e065b8
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Jan 13 17:04:51 2009 +0000

    Don't try and stat the installation root if it's the empty string.

 librazor/rpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 8b55f549e4c9c2cf51e08b51bebc6050cc9de7e6
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Jan 12 18:53:02 2009 +0000

    Cope with the non-atomic behaviour of rename on MS-Windows
    and add some error checking to razor_set_commit.

 librazor/root.c |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

commit e423fe0e46bae40da8ed9f1a07b588bee3c0e2d5
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Jan 12 17:54:13 2009 +0000

    Treat razor data files as binary consistently

 librazor/razor.c |    6 +++++-
 librazor/root.c  |    7 ++++++-
 librazor/rpm.c   |    7 ++++++-
 src/main.c       |    2 +-
 4 files changed, 18 insertions(+), 4 deletions(-)

commit f759c24eeefac62af83f558581953542ba70e2ac
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Jan 12 16:37:55 2009 +0000

    Generate razor.pc in line with details determined during config

 configure.ac     |   22 +++++++++++++++-------
 data/razor.pc.in |    4 ++--
 2 files changed, 17 insertions(+), 9 deletions(-)

commit e3976cc37069ad0acc653f9b1ce89dd8c60d7833
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jan 9 18:59:38 2009 +0000

    Include test.xml in the distribution since it is needed for make
    check.

 src/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 5408cb62d3a65197896dc8a1a40a185e8edda697
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jan 9 17:34:15 2009 +0000

    Add some error checking and reporting for writing upstream data
    after import from yum.

 src/main.c |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

commit dc3db20c477a23b6c978a16531653cf1a5da8c65
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jan 9 16:35:09 2009 +0000

    Close files before deleting them for compatibility with MS-Windows

 librazor/root.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 17bf3359226c5efc2636f05ae1945306f92db3c1
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jan 9 15:28:50 2009 +0000

    Use CSIDL on MS-Windows platforms instead of FHS paths.

 configure.ac    |    2 +-
 librazor/root.c |   32 +++++++++++++++++++++++++++++++-
 2 files changed, 32 insertions(+), 2 deletions(-)

commit b94da3c31f62a60780607d3443b7081546556cbb
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Fri Jan 9 12:32:57 2009 +0000

    Avoid use of non-standard %m printf conversion code.
    Also switch to the more conventional ": <error>"
    format allowing us to use perror() in more places.

 librazor/rpm.c    |   35 ++++++++++++++++++++---------------
 librazor/util.c   |    7 ++++---
 src/test-driver.c |    5 +++--
 3 files changed, 27 insertions(+), 20 deletions(-)

commit 37b5981177ca8b97c0907f7a7902067b46c1ab98
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 17:50:04 2009 +0000

    Provide a program_name global variable as required by gnulib to
    avoid the need for all programs that use librazor to do so.

 librazor/util.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 15340f9ec75b39f42a4ee2910b6d986fbeee8cfd
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 17:36:50 2009 +0000

    Replace call to random() with the more portable rand() since we
    don't have any need for a "good" random number generator.

 librazor/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 0e434f5c648235b74ba80dfaa949c7c5694f296c
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 17:29:31 2009 +0000

    Use fsync from gnulib for portability

 gl/.gitignore         |    1 +
 gl/m4/.gitignore      |    1 +
 gl/m4/gnulib-cache.m4 |    3 ++-
 3 files changed, 4 insertions(+), 1 deletions(-)

commit 9882e8fa5ea3f81b40496ace2591eca977d8c2c2
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 17:12:28 2009 +0000

    Link to winsock2 under mingw (needed for ntohl).

 configure.ac         |    2 ++
 data/razor.pc.in     |    2 +-
 librazor/Makefile.am |    2 +-
 librazor/rpm.c       |    2 +-
 src/Makefile.am      |    6 +++---
 5 files changed, 8 insertions(+), 6 deletions(-)

commit bc2143aef18d909c5d59a1c059e5175e8fac27f9
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 16:54:05 2009 +0000

    Add an early include of config.h as required by gnulib

 librazor/razor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 9c22f3f170989cd370ef61e3e36c86f7a23da47c
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 15:44:43 2009 +0000

    Remove another unnecessary include of sys/mman.h

 src/import-yum.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 676331cd739f0234ad8b6b26407cb1dfb0d3baee
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 15:36:35 2009 +0000

    Use gnulib with the razor binary for portability (for fnmatch in
    particular).

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit bc2a315f9fa66ff273ac9b0140a219d5f080d609
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 15:22:34 2009 +0000

    Remove unnecessary include of sys/mman.h

 librazor/transaction.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 0d34d5fa4903c3e695c13e474f8717cf99ba4238
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 15:18:01 2009 +0000

    Only include sys/wait.h on platforms that have it.

 configure.ac   |    1 +
 librazor/rpm.c |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

commit 1f19538509301304a55e6ecfb306ff4d7fd5adb2
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 15:08:08 2009 +0000

    Include winsock.h rather than arpa/inet.h on mingw platforms.
    Also fix a trivial int/long mismatch.

 librazor/rpm.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit 17e6ba68d6d41f30cce566fe96033e4683f2f164
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 14:35:18 2009 +0000

    Don't attempt to use chroot() on systems that don't support it.

    This has the added bonus of allowing us to use popen() rather than
    fork()/exec() for improved portability. Of course, the loss of an
    install root is a major reduction of functionality but it's hard to
    see what else we could substitute for chroot().

 configure.ac   |   12 +++++++++++-
 librazor/rpm.c |   24 ++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletions(-)

commit 665326206286d677d1e847ce29e5b712b5cadee2
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Thu Jan 8 13:51:07 2009 +0000

    Don't try and create symbolic links on platforms that don't support
    symlink()

 configure.ac   |    1 +
 librazor/rpm.c |   18 ++++++++++++------
 2 files changed, 13 insertions(+), 6 deletions(-)

commit e75d7f95f829e746e143df850f1152cf9251ef2b
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 7 18:00:06 2009 +0000

    Support platforms where mkdir only takes one argument (eg.,
    MS-Windows)

 gl/.gitignore         |   24 ++++++++++++++++++++++++
 gl/m4/.gitignore      |   17 +++++++++++++++++
 gl/m4/gnulib-cache.m4 |    3 ++-
 3 files changed, 43 insertions(+), 1 deletions(-)

commit 64e55061769a585546abc2c728c3fbed232ebad7
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 7 17:59:12 2009 +0000

    Include limits.h in files which used PATH_MAX for portability

 librazor/root.c    |    1 +
 librazor/rpm.c     |    1 +
 src/import-rpmdb.c |    1 +
 src/main.c         |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

commit 25c8c1423e04ea501b8347150c4817119e615fda
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 7 17:26:33 2009 +0000

    Avoid unportable "uint" type

 librazor/razor-internal.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 1d58c0b201b4a9120042889b46a24778cb61c576
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Wed Jan 7 17:17:10 2009 +0000

    Add support for platforms without fnmatch.

    This uses gnulib so you will need to have a copy in order
    to run autogen.sh (but not to build from a tarball). Either
    arrange for gnulib-tool to be in your path or set the
    environment variable GNULIB_TOOL to point to its location.

 .gitignore            |    1 +
 Makefile.am           |    4 +++-
 autogen.sh            |   16 +++++++++++++++-
 configure.ac          |    3 +++
 gl/.gitignore         |   11 +++++++++++
 gl/m4/.gitignore      |   12 ++++++++++++
 gl/m4/gnulib-cache.m4 |   36 ++++++++++++++++++++++++++++++++++++
 librazor/Makefile.am  |    3 ++-
 8 files changed, 83 insertions(+), 3 deletions(-)

commit c8dfa611cf8707ed55f6e9e83f04ce6138bf5c24
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Jan 6 17:33:37 2009 +0000

    Support platforms without mmap

 configure.ac              |    1 +
 librazor/razor-internal.h |    3 ++
 librazor/razor.c          |   21 +++++--------
 librazor/rpm.c            |   24 ++------------
 librazor/util.c           |   71
 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 87 insertions(+), 33 deletions(-)

commit aedfc2e296d3bcc5009f87482329bf31cf6baa8d
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Jan 6 16:00:32 2009 +0000

    Make curl an optional dependancy

 configure.ac |   11 ++++++++++-
 src/main.c   |    8 ++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

commit 6f73c2804023a6ff2152cf65459ec4c5db2f66eb
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Tue Jan 6 14:06:00 2009 +0000

    Make rpmlib an optional dependency

    Use configure --without-rpm to avoid the dependency (default is
    unchanged).

 configure.ac    |   26 ++++++++++++++------------
 src/Makefile.am |    5 ++++-
 src/main.c      |    4 ++++
 3 files changed, 22 insertions(+), 13 deletions(-)

commit d9a9bd79507af9499535cad48be5882e4e172a70
Author: J. Ali Harlow <ali@juiblex.co.uk>
Date:   Mon Jan 5 17:39:05 2009 +0000

    Reduce intltool requirements to version 0.35 for compatibility with
    Centos 5

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit bad9d8fd033c8f2bf5c08436a16442783a3d8549
Author: James Bowes <jbowes@redhat.com>
Date:   Wed Jul 9 08:16:08 2008 -0400

    Use strings to identify section types in the on-disk repo format.

    Previously, a given razor file type had a fixed number of sections
    in a
    fixed order, identified by an integer type. Now, sections are
    identified
    by a named string (stored in a string pool after the section lists).

    This will allow for razor files to contain arbitrary sections.

    For bonus points, also drop the 4k section alignment and change the
    magic byte string to "RZDB".

 TODO                      |    9 +--
 librazor/razor-internal.h |   34 ++++---
 librazor/razor.c          |  213
 ++++++++++++++++++++-------------------------
 3 files changed, 116 insertions(+), 140 deletions(-)

commit 48047240d3157ef9f8525ccd9d5c2342eb10abc6
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 8 22:57:34 2008 -0400

    Convert main.c to use razor_root for most cases.

    With this we change the default repo location to /var/lib/razor,
    but let the env
    variable RAZOR_ROOT override it.

 librazor/root.c |   44 ++++++++++++++++++++++++++++++++++++--
 src/main.c      |   62
 +++++++++++++++++++++++++++++++------------------------
 2 files changed, 76 insertions(+), 30 deletions(-)

commit 934988759a7ec9c7d58de3504846287fa25d94de
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 8 22:02:58 2008 -0400

    Change the install iterator API to what we want.

 librazor/razor.c |  108
 ++++++++++++++++++++++++++++++++++++------------------
 librazor/razor.h |   21 ++++++++--
 src/main.c       |   54 +++++++++++++++++---------
 3 files changed, 124 insertions(+), 59 deletions(-)

commit 5e777955178cbb1eb37ca9c95ec9c04ff90be939
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 8 21:59:36 2008 -0400

    Always open all three rzdb files when we're merging package sets.

 librazor/root.c |   10 +++++++++-
 src/main.c      |   17 ++++++++++++++++-
 2 files changed, 25 insertions(+), 2 deletions(-)

commit d255e6c8c6c8a2282e35b8b43c1bd8e12e7a6906
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 8 21:56:48 2008 -0400

    Fix old typo in file merging code.

 librazor/merger.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit a54a032daaf935da3006902c7fbc7064026cd158
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 8 21:55:56 2008 -0400

    Use the file string pool when merging directories.

 librazor/merger.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 0b5cd06a3d5e24abe0264068638334ebb2ada587
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Jul 2 14:39:44 2008 -0400

    Rename a couple more .repo references.

 docs/package-set.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit a30382c58cffc9d798dc9767a094b1d63470713a
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Jul 2 14:35:58 2008 -0400

    Move DEPSOLVE.txt and REPO.txt into docbook.

    A little messy, but it's a first step towards pulling all the
    docs into
    a nice self-contained document.

 docs/DEPSOLVE.txt    |  364
 -------------------------------------------------
 docs/Makefile.am     |    7 +-
 docs/REPO.txt        |  172 -----------------------
 docs/package-set.xml |  239 ++++++++++++++++++++++++++++++++
 docs/razor-docs.xml  |    2 +
 docs/solver.xml      |  370
 ++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 615 insertions(+), 539 deletions(-)

commit d1b453584fb827a41760a8808792e702ee7be851
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed Jul 2 18:46:47 2008 +0100

    rename the .repo files to .rzdb files

 TODO              |   24 ++++++++++++------------
 data/razor.sh     |    2 +-
 docs/DEPSOLVE.txt |    2 +-
 librazor/root.c   |    8 ++++----
 src/.gitignore    |    2 +-
 src/main.c        |   35 ++++++++++++++++++-----------------
 src/rpm.c         |    8 ++++----
 7 files changed, 41 insertions(+), 40 deletions(-)

commit da939e15c26fa327cd387b5ad142f5142484f430
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 1 10:49:48 2008 -0400

    Document the razor_importer API.

 librazor/importer.c |  124
 +++++++++++++++++++++++++++++++++++++++++----------
 librazor/razor.h    |   34 +++++++++++++-
 2 files changed, 132 insertions(+), 26 deletions(-)

commit 6cb3738132866a00bf51497d69cdb641b1dd664b
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Jul 1 09:44:46 2008 -0400

    Update docs for the RAZOR_DETAIL_LAST change.

 librazor/iterator.c |    2 +-
 librazor/razor.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit a6a8f407fb539a884a132f3289919aeb4a8d78df
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue Jul 1 09:22:25 2008 +0100

    convert the NULL sentinel to RAZOR_DETAIL_LAST

 librazor/iterator.c    |    6 ++++--
 librazor/razor.c       |   14 ++++++++------
 librazor/razor.h       |   16 ++++------------
 librazor/transaction.c |   24 ++++++++++++++++--------
 src/main.c             |   40 ++++++++++++++++++++++++++++------------
 src/rpm.c              |   17 ++++++++++-------
 src/test-driver.c      |    5 ++++-
 7 files changed, 74 insertions(+), 48 deletions(-)

commit 27e3b5098d6c01d978cb5d530ea98f5f4069b25d
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Sun Jun 29 22:38:57 2008 -0400

    Get rid of razor_set_get_package().

    This was always a silly little helper function, not general enough for
    real world applications.  Use an iterator to search through the set to
    find the package of interest.

 docs/razor-sections.txt |    1 -
 librazor/razor.c        |   31 ++-------------------------
 librazor/razor.h        |    3 +-
 src/main.c              |   52
 ++++++++++++++++++++++++++++------------------
 src/rpm.c               |    2 +-
 src/test-driver.c       |   26 ++++++++++++++++++-----
 6 files changed, 58 insertions(+), 57 deletions(-)

commit 2d4487425bcbca6b4f0f86aaa8e2f276ec54c0a5
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Sun Jun 29 22:03:13 2008 -0400

    Tweak razor search a bit: casefold, print summary, search rawhide
    instead.

 src/main.c |   32 +++++++++++++++-----------------
 1 files changed, 15 insertions(+), 17 deletions(-)

commit e911090d427fcf3cf57fa57d51c65cf724be770d
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jun 30 10:46:20 2008 +0100

    the vararg list must be terminated with zero else 64bit machines
    may crash

    On 64 bit systems, the integer 0 is 32 bits and the pointer 0 is
    64 bits.
    The upper 32 bits will not be cleared and the loop will never
    terminate.
    Also add the RAZOR_SENTINEL __attribute__ ((__sentinel__(0))) on GCC4
    so we catch where we get this wrong automatically.

    This also fixes the new search functionality from James which
    was missed
    in the merge.

 librazor/iterator.c    |    4 ++--
 librazor/razor.c       |   12 ++++++------
 librazor/razor.h       |   16 +++++++++++++---
 librazor/transaction.c |   16 ++++++++--------
 src/main.c             |   31 ++++++++++++++++++-------------
 src/rpm.c              |   14 +++++++-------
 6 files changed, 54 insertions(+), 39 deletions(-)

commit d66068c79b8bb9173a3fa6dc5baf78ed1c9861de
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jun 30 09:47:32 2008 +0100

    trivial: razor_property_iterator_create() can have package NULL and
    be valid

 librazor/iterator.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit c6045dca519b0d576d9b08ef2c9833527d11f2e1
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jun 30 08:51:26 2008 +0100

    convert razor_package_get_details() and razor_package_iterator_next()
    to varargs

    The functions for getting package details about a package were
    limited to a few
    things, when in the future we will want to support much more about
    a package.
    The iterator was also limited to name,version,arch when most of the
    time we
    didn't need all this data.

 librazor/iterator.c       |   36 ++++++++-----
 librazor/razor-internal.h |    8 +++
 librazor/razor.c          |  122
 ++++++++++++++++++++++++++++++++++++++-------
 librazor/razor.h          |   19 +++++---
 librazor/transaction.c    |   41 ++++++++++------
 src/main.c                |   42 ++++++++++------
 src/rpm.c                 |   32 ++++++------
 7 files changed, 215 insertions(+), 85 deletions(-)

commit 82692a3772e5a18d3202cd09db759054ac9a5e52
Author: Richard Hughes <richard@hughsie.com>
Date:   Sun Jun 29 17:32:19 2008 +0100

    protect all exported functions by checking the input parameters for
    NULL input

 librazor/iterator.c    |   33 +++++++++++++++++++++++++++++++++
 librazor/razor.c       |   40 ++++++++++++++++++++++++++++++++++++++++
 librazor/root.c        |   17 +++++++++++++++++
 librazor/rpm.c         |   11 +++++++++++
 librazor/transaction.c |   14 ++++++++++++++
 5 files changed, 115 insertions(+), 0 deletions(-)

commit 7f5f0c6a4aedbe3c5760545a924e2d151f0b68bc
Author: Richard Hughes <richard@hughsie.com>
Date:   Sun Jun 29 10:55:17 2008 +0100

    add missing licencing information at the top of each source file

    The licence text is needed when razor is packaged for Debian. :-)

 librazor/razor-internal.h |   19 +++++++++++++++++++
 librazor/root.c           |   19 +++++++++++++++++++
 librazor/types.c          |   19 +++++++++++++++++++
 librazor/util.c           |   19 +++++++++++++++++++
 src/test-driver.c         |   19 +++++++++++++++++++
 5 files changed, 95 insertions(+), 0 deletions(-)

commit 90d373c9d956deddef3f64da8e57d7be18e0880a
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Sat Jun 28 20:34:29 2008 -0400

    Remove a couple of done TODO items.

 TODO |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

commit 4243cad2bb5bc49d237a8c9afe064b2253268ed3
Merge: 413a553... 0150493...
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Sat Jun 28 19:22:55 2008 -0400

    Merge commit 'fdo/master'

commit 413a553fd5f86088395d942c85a78debdec32a6d
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Sat Jun 28 18:27:55 2008 -0400

    Revert "Get api docs building"

    Pass --enable-gtk-doc to ./configure to build API docs.  Add a
    status print-out at the end of configure.ac to show whether gtk-doc
    was enabled.

    This reverts commit 436386fb11ee56e50c2c76c496b1f6c39530e170.

 configure.ac     |    2 +-
 docs/Makefile.am |    4 ++++
 src/main.c       |    2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

commit 6fc1b6d481387a88b782b3551d793a3850fb6bec
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 20:49:11 2008 -0400

    Add more gtk-doc artifacts to gitignore

 docs/.gitignore |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 9795b68febdde5a3077009ef69e8e20abdf77d82
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 19:11:36 2008 -0400

    Add 'search' command

 src/main.c |   49 ++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 48 insertions(+), 1 deletions(-)

commit e85c7b8eac548a22e523c3e746d07b5fda72c726
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 18:41:55 2008 -0400

    Save the details and files repo files when importing a dir of rpms

 src/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 534165157b2e93bf01d1353f8d5e25ac96fda7ef
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 18:39:37 2008 -0400

    Add import-rpms to bash-completion

 data/razor.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 145002da7ffa173c14c6560e6ee26e6487554008
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 18:15:59 2008 -0400

    get rpm -qpi working fully

 librazor/rpm.c |   10 +++++++++-
 src/rpm.c      |   20 ++++++++++----------
 2 files changed, 19 insertions(+), 11 deletions(-)

commit c57370decf4e204cf4e3323e669cc676a2760707
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 17:16:13 2008 -0400

    Add return codes to razor_set_open_files and open_details

 librazor/razor.c |   16 ++++++++++------
 librazor/razor.h |    4 ++--
 src/main.c       |   16 ++++++++++++----
 src/rpm.c        |    9 ++++++---
 4 files changed, 30 insertions(+), 15 deletions(-)

commit 436386fb11ee56e50c2c76c496b1f6c39530e170
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 10:37:45 2008 -0400

    Get api docs building

 docs/Makefile.am |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

commit 4755934a102160562cf9dac56fef499a7b744cbd
Author: James Bowes <jbowes@redhat.com>
Date:   Thu Jun 26 09:21:14 2008 -0400

    Add missing newline for conflicts output

 librazor/transaction.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 0150493f0c3c29d1224ac2a0abd8dfe93531e5de
Author: Richard Hughes <richard@hughsie.com>
Date:   Thu Jun 26 07:17:48 2008 +0100

    include stdint.h in razor.h to fix an error

    This fixes the error: /usr/include/razor/razor.h:161: error: expected
    declaration specifiers or '...' before 'uint32_t'

 librazor/razor.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 97d4672ecf26d911c26d05312b3d992f4671fa7c
Author: James Bowes <jbowes@redhat.com>
Date:   Wed Jun 25 21:11:33 2008 -0400

    Update gitignore files for docs and test-driver

 .gitignore      |    1 +
 docs/.gitignore |    1 +
 src/.gitignore  |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

commit b7d61478693541470933bcd2cc27534bc540b8a7
Author: James Bowes <jbowes@redhat.com>
Date:   Wed Jun 25 20:53:48 2008 -0400

    Get the test driver compiling and running again (but not passing).

 librazor/razor.h       |    2 +
 librazor/transaction.c |    4 +-
 src/Makefile.am        |    6 ++++
 src/test-driver.c      |   67
 ++++++++++++++++++++++++++++++------------------
 src/test.xml           |    4 +-
 5 files changed, 54 insertions(+), 29 deletions(-)

commit 72be99df310fab9466eff9ea5814761334f72b2c
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed Jun 25 15:31:50 2008 -0400

    Allow NULL pointers in razor_package_get_details().

 librazor/razor.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

commit 8434a032e960215cfffd8954fef92c5562b4c980
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Jun 25 15:29:49 2008 -0400

    Fix pkg-config file problems.

    It's libcurl, and expat doesn't have a pkg-config file.

 data/razor.pc.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 174586f2d38a39dbf0a4d8a0acf3190c51c41070
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Jun 25 11:48:46 2008 -0400

    Also don't explode when a given path doesn't exist.

 librazor/razor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 10cf5c2cd7dda5bf606a9ddca2ded889d35e8b0c
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed Jun 25 11:44:54 2008 -0400

    Don't explode when listing files.

 librazor/razor.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 12fb65b94ffd8e66901da7b1799779a15045cb15
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Jun 25 11:24:55 2008 -0400

    Factor out package selection and listing in main.c.

 src/main.c |  114
 +++++++++++++++++++++++++++++++++++++----------------------
 1 files changed, 71 insertions(+), 43 deletions(-)

commit ca62a2cfa6c62599544b3cf086ca8982251d5c70
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed Jun 25 11:00:25 2008 -0400

    Error out if package isn't found instead of listing all properties.

 src/main.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

commit da9cc1b00a1e9b52d369bb430a5628a0c9a41fb7
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 21:38:33 2008 -0400

    For rpm --query, --requires is also -R

 src/rpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit fd60e3a9808554f753e0466b36977aba98841656
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 21:20:16 2008 -0400

    Create an empty package iterator when we don't know about the
    given file.

    This is an easy way to stop segfaults when trying to destroy
    iterators for
    unknown files.

 librazor/iterator.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

commit 24e8398fb80019f488396776df3b22f53c47c7a1
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 20:48:48 2008 -0400

    Implement rpm --query --file

 librazor/razor.h |    9 +++++++++
 src/rpm.c        |   21 +++++++++++++++++----
 2 files changed, 26 insertions(+), 4 deletions(-)

commit 2929e9ff9032aae4e063fbb62ea73d0d32234376
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 20:20:08 2008 -0400

    Display razor version number for rpm --version

 src/rpm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 4033be683b882579421778ca6c3f2e710f2a9a84
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 20:09:56 2008 -0400

    Implement rpm --query --list

 src/rpm.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

commit 76a0be7e28f5d4e74b79b61dfe911e2f5d0514ce
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 19:58:13 2008 -0400

    Make file listing (either per-repo or per-package) use the correct
    string pool

 librazor/razor.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit b6de825d81947d3c0cd060c4a6eb24fa32027d59
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 19:43:52 2008 -0400

    Save all 3 repo files on razor_root_create

 librazor/root.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

commit 690f4c25c800b4dc42c17d72365711893d5bf376
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jun 23 17:41:10 2008 -0400

    Fix configure.ac version, remove /usr/bin/rpm workaround from
    spec file.

 configure.ac       |    2 +-
 contrib/razor.spec |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

commit 3a4df91a3c128e626ff1b83b5fd08c4f749dbd83
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 17:31:32 2008 -0400

    Nuke ARRAY_SIZE and obsolete razor_set_list_unsatisfied from razor.h.

 librazor/razor-internal.h |    4 ++--
 librazor/razor.h          |    4 ----
 src/main.c                |    2 ++
 3 files changed, 4 insertions(+), 6 deletions(-)

commit 3c711911fba4ac0eea9fc74e0d9a181fb1e3c14b
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 17:21:03 2008 -0400

    Move a couple of unrelated functions out of transaction.c.

 librazor/razor.c       |   41 +++++++++++++++++++++++++++++++++++++++++
 librazor/transaction.c |   41 -----------------------------------------
 2 files changed, 41 insertions(+), 41 deletions(-)

commit fa4aba092832c1de58db59bd918b114db99d6608
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 17:19:20 2008 -0400

    Use GCC 4 -fvisibility to control exported symbols.

 configure.ac              |   19 +++++++++++++++++++
 librazor/importer.c       |   16 ++++++++--------
 librazor/iterator.c       |   26 +++++++++++++-------------
 librazor/razor-internal.h |    8 ++++++++
 librazor/razor.c          |   38 ++++++++++++++++++++------------------
 librazor/root.c           |   14 +++++++-------
 librazor/rpm.c            |    8 ++++----
 librazor/transaction.c    |   24 ++++++++++++------------
 8 files changed, 91 insertions(+), 62 deletions(-)

commit 298fd6434e6d144147ebf738db6cb09f5ac41095
Merge: 24d26c4... 3f71223...
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 14:52:39 2008 -0400

    Merge commit 'krh/master'

commit 24d26c44455074dab13e5f20de9ca0a23b62edb7
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 14:51:56 2008 -0400

    Actually store the files strings in the files string pool

 librazor/importer.c |    7 +++++--
 librazor/razor.c    |    2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

commit 3f712232b97aa72f7f3a6560443f5c8a7f22363e
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 14:43:08 2008 -0400

    Compare the right index against pq->count.

    Fix a little logic error there.

 librazor/iterator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit d52745a2ec3f28dcdd4332e4e49f2255a4b704ad
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 14:34:47 2008 -0400

    Add some support for --info.

 src/rpm.c |   27 +++++++++++++++++++++++----
 1 files changed, 23 insertions(+), 4 deletions(-)

commit a29ab20718bafd0c02bce8e9dc9025a5479ff234
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 14:07:07 2008 -0400

    Don't install /usr/bin/rpm just yet...

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 1c08e4250944048d5eedcb8eb5553aaa3e232ec6
Author: James Bowes <jbowes@redhat.com>
Date:   Mon Jun 23 11:28:00 2008 -0400

    Display progress when importing rpms

 src/import-rpmdb.c |    5 +++++
 src/import-yum.c   |   15 ++++++++++++++-
 src/main.c         |    6 +++++-
 3 files changed, 24 insertions(+), 2 deletions(-)

commit 13de66077f3f4c67705589bf0c36c25d9b9e10e1
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 13:48:18 2008 -0400

    Set up gtkdoc for razor.

    Despite its name, gtkdoc doesn't require gtk+ and is a nice way to
    generate DocBook format API documentation.

 autogen.sh              |    2 +
 configure.ac            |    3 +
 docs/Makefile.am        |   30 +++++++++++
 docs/razor-docs.xml     |   85 ++++++++++++++++++++++++++++++
 docs/razor-sections.txt |  100 ++++++++++++++++++++++++++++++++++++
 docs/version.xml.in     |    1 +
 librazor/razor.c        |    1 +
 librazor/razor.h        |  130
 +++++++++++++++++++++++++++++++++++++---------
 8 files changed, 326 insertions(+), 26 deletions(-)

commit ef514b295d29cba3f8faa6e798cb56c413d0453b
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jun 23 10:31:04 2008 -0400

    Rename bash completion script to razor.sh

    More suitable for installation into /etc/bash_completion.d.

 data/Makefile.am        |    2 +-
 data/bash-completion.sh |   47
 -----------------------------------------------
 data/razor.sh           |   47
 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 48 deletions(-)

commit 638a535d1a1d268559c27f7d9f4edf36eecfb53a
Author: Richard Hughes <richard@hughsie.com>
Date:   Sun Jun 22 16:01:51 2008 +0100

    Don't assume razor is being run locally in bash-completion.

    Breaks when installed system wide.

 data/bash-completion.sh |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit e7a9df418a6b680878e8e3c0b0129d0b07326ff0
Merge: 3892895... c778afe...
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Jun 23 09:59:08 2008 -0400

    Merge commit 'jbowes/master'

commit 389289592f745d1d506417425211c44b7637b458
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 23:13:09 2008 -0400

    When uniquifying properties, also sort them on the owning package.

    This ensures that whenever two packages provide or (or require,
    obsolete
    or conflict) the same property, they appear in the same order in the
    propertys list of packages.

 librazor/importer.c    |    4 +++-
 librazor/transaction.c |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 59cbe436435c1c908fe5103d61469f6e7ae8a609
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 22:27:07 2008 -0400

    Call exit() instead of just returning if child fails.

 librazor/rpm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 20616aa76defb7a07971842861b7bed2c4049bd6
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 22:26:41 2008 -0400

    Return if we fail to open root.

 src/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 8a813368430e6773afbfd9c34a7da9454d4799ae
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 21:56:43 2008 -0400

    Introduce install/remove iterators.

    These iterator constructors lets you pass in two sets and creates
    an iterator for the packages to remove or the packages to install.
    The iterators will step through the packages in a sequence that
    respects
    the pre, post, preun and postun modifiers.

    Right now, the install order isn't actually implemented, this
    patch just
    implements the API changes and updates the applications.

 librazor/razor.c |   52 +++++++++++++++++++++
 librazor/razor.h |    6 +++
 src/main.c       |  133
 ++++++++++++++++++++++++++++-------------------------
 3 files changed, 128 insertions(+), 63 deletions(-)

commit 4d070f05b5e5616c238302e0e49877e7bff2c2fe
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 21:38:29 2008 -0400

    Fix the razor_set_diff() callback prototype.

    The old proto type didn't let us pass the razor_package.

 librazor/razor.c |   10 ++++++----
 librazor/razor.h |   19 +++++++++++++------
 src/main.c       |   43 ++++++++++++++++++++++++-------------------
 src/rpm.c        |   39 ++++++++++++---------------------------
 4 files changed, 55 insertions(+), 56 deletions(-)

commit fbdf16df80f78f67aea0e3ce682507c90e49c81c
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 21:33:29 2008 -0400

    command_update: check the right return code to see if transaction
    failed.

 src/main.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

commit b8ddfec6c21dffca5a867aeb3bc9d873aeeb4f56
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Fri Jun 20 20:57:51 2008 -0400

    Fix package queries for empty sets.

 librazor/iterator.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

commit c778afefaa189c6aa8437fc00512f140a6a68efe
Merge: 08973b4... e557f97...
Author: James Bowes <jbowes@redhat.com>
Date:   Fri Jun 20 19:04:06 2008 -0400

    Merge branch 'krh/master'

    Conflicts:

	librazor/razor.h
	librazor/rpm.c
	razor.c
	src/main.c

commit 18edc4ab189b56e1d56db201f6cc73d4b5f58222
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Jun 20 18:26:46 2008 -0400

    Add getter to return system set for a razor_root.

 librazor/razor.h |   19 +++++++------------
 librazor/root.c  |   37 +++++++++++++++----------------------
 src/main.c	  |   11 ++++++-----
 3 files changed, 28 insertions(+), 39 deletions(-)

commit 1e9df0cb2d4c377b14732441a8ced0d304903722
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Jun 20 16:48:44 2008 -0400

    Rename razor_importer_new to _create to follow convention.

 librazor/importer.c |	  2 +-
 librazor/razor.h    |	  2 +-
 src/import-rpmdb.c  |	  2 +-
 src/import-yum.c    |	  2 +-
 src/main.c	     |	  2 +-
 src/rpm.c	     |	  2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

commit e557f97da15b1682b2e9854672b019485bc48362
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Jun 20 15:10:34 2008 -0400

    Break up the monolithic razor.c.

 librazor/Makefile.am	   |	9 +-
 librazor/importer.c	   |  488 ++++++++++
 librazor/iterator.c	   |  265 ++++++
 librazor/merger.c	   |  525 +++++++++++
 librazor/razor-internal.h |  158 ++++
 librazor/razor-root.c	   |  168 ----
 librazor/razor.c	   | 2201
 +--------------------------------------------
 librazor/razor.h	   |	1 +
 librazor/root.c	   |  168 ++++
 librazor/transaction.c    |  912 +++++++++++++++++++
 librazor/types.c	   |	2 +-
 librazor/types.h	   |   59 --
 src/.gitignore		   |	7 +-
 13 files changed, 2540 insertions(+), 2423 deletions(-)

commit 17138ad12dda6da15358726f19ba8f94993ddfc1
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Jun 20 14:18:52 2008 -0400

    Record the time of dependencies (post, pre, postun, preun).

 librazor/razor.c   |  215
 ++++++++++++++++++++++++++++++----------------------
 librazor/razor.h   |	51 +++++++------
 librazor/rpm.c     |	50 +++++++-----
 src/import-rpmdb.c |	44 ++++++-----
 src/import-yum.c   |	66 ++++++----------
 src/main.c	    |	49 +++++++-----
 src/rpm.c	    |	28 +++----
 7 files changed, 274 insertions(+), 229 deletions(-)

commit 157b904acee4209f6555550768edf1e150046146
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jun 19 15:09:48 2008 -0400

    Handle NULL dirnames when importing rpms into a set.

 librazor/rpm.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit c646549b9b19d89de74b0af01b1ad2e92ee2e6e3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jun 19 00:32:24 2008 -0400

    Make razor install work again after the razor_root changes.

 src/main.c |	 7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

commit fc8154dd5a5af9f2e61fe023c0946dc70ddab9c2
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 16 22:35:09 2008 -0400

    Don't fail to update if there is not older package found.

 librazor/razor.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit 8d9c75f44ae1640f84dacc9410e081e3f4e9327e
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 16 22:28:51 2008 -0400

    Fix a typo when creating the root path.

 librazor/razor-root.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit dd3840c84dbf24e06f9c301bec233b2735cc712f
Author: Richard Hughes <rhughes@redhat.com>
Date:	Mon Jun 16 17:54:29 2008 -0400

    Add spec file.

 contrib/razor.spec |  100
 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 docs/Makefile.am   |	 3 +-
 2 files changed, 102 insertions(+), 1 deletions(-)

commit e967bfd71a068d6c3f5831cfa93de92d78136065
Author: Richard Hughes <rhughes@redhat.com>
Date:	Mon Jun 16 14:43:03 2008 -0400

    Autoconfify razor.

 .gitignore		   |   38 +-
 AUTHORS		   |	2 +
 DEPSOLVE.txt		   |  364 -------
 Makefile		   |   27 -
 Makefile.am		   |   38 +
 REPO.txt		   |  172 ---
 autogen.sh		   |   95 ++
 bash-completion.sh	   |   47 -
 configure.ac		   |  201 ++++
 data/.gitignore	   |	2 +
 data/Makefile.am	   |   11 +
 data/bash-completion.sh   |   47 +
 data/razor.pc.in	   |   12 +
 docs/DEPSOLVE.txt	   |  364 +++++++
 docs/Makefile.am	   |	5 +
 docs/REPO.txt		   |  172 +++
 librazor/.gitignore	   |	5 +
 librazor/Makefile.am	   |   34 +
 librazor/razor-internal.h |   19 +
 librazor/razor-root.c	   |  168 +++
 librazor/razor.c	   | 2611
 +++++++++++++++++++++++++++++++++++++++++++++
 librazor/razor.h	   |  189 ++++
 librazor/rpm.c		   |  813 ++++++++++++++
 librazor/types.c	   |  246 +++++
 librazor/types.h	   |   59 +
 librazor/util.c	   |  167 +++
 main.c			   |  804 --------------
 po/.gitignore		   |	4 +
 razor-internal.h	   |   19 -
 razor-root.c		   |  168 ---
 razor.c		   | 2611
 ---------------------------------------------
 razor.h		   |  189 ----
 rpm-razor.c		   |  897 ----------------
 rpm.c			   |  748 -------------
 src/.gitignore		   |	5 +
 src/Makefile.am	   |   26 +
 src/import-rpmdb.c	   |  157 +++
 src/import-yum.c	   |  337 ++++++
 src/main.c		   |  804 ++++++++++++++
 src/rpm.c		   |  897 ++++++++++++++++
 src/test-driver.c	   |  458 ++++++++
 src/test.xml		   |  858 +++++++++++++++
 test-driver.c		   |  458 --------
 test.xml		   |  858 ---------------
 types.c		   |  246 -----
 types.h		   |   59 -
 util.c			   |  167 ---
 yum.c			   |  337 ------
 48 files changed, 8836 insertions(+), 8179 deletions(-)

commit 614b267207d0caf51c33d5c3e7036195aa0624c4
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Jun 15 23:15:59 2008 -0400

    Do the same for rpm -i and rpm -U.

 rpm-razor.c |	 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 47 insertions(+), 7 deletions(-)

commit d0effd8fe00f7e7194398a73a5e24e24d822d4de
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Jun 15 22:33:15 2008 -0400

    Use depsolver to verify rpm -e, flush out more options.

 main.c      |	  6 ++++--
 razor.c     |	 43 ++++++++++++++++++++++++++++---------------
 razor.h     |	  2 +-
 rpm-razor.c |	 52 +++++++++++++++++++++++++++++++++++++++++++---------
 4 files changed, 76 insertions(+), 27 deletions(-)

commit 08973b4c9c22a4dcbed220daa38fcf510ba9146d
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 15 18:16:20 2008 -0400

    WIP patch for seperate files for filelists and package details

 main.c  |   22 ++++++---
 razor.c |  156
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 razor.h |   15 +++++-
 3 files changed, 165 insertions(+), 28 deletions(-)

commit dfb12737a2b0a2cb57f38a30052a8e656e67b639
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 15 11:21:24 2008 -0400

    Use a seperate string pool for package details

 razor.c |   38 ++++++++++++++++++++++++--------------
 1 files changed, 24 insertions(+), 14 deletions(-)

commit 07af9a62c1a265dcf791cf3fe29b777a489ab746
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 15 10:50:32 2008 -0400

    Use a seperate string pool for files

 razor.c |   37 ++++++++++++++++++++++++-------------
 1 files changed, 24 insertions(+), 13 deletions(-)

commit c1b582e870fe3fa437d129ff67e7f9ea8e9f9e53
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 15 10:50:16 2008 -0400

    Add info command to bash completion

 bash-completion.sh |	 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 9467facac39f69bb70fd474757b8aa5612076c8d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 23:51:52 2008 -0400

    Make razor_transaction_describe() work and use it in rpm wrapper.

 razor.c     |	 48 ++++++++++++++++++++++++++++++++++++------------
 rpm-razor.c |	 25 ++++++++++++++++++++++++-
 2 files changed, 60 insertions(+), 13 deletions(-)

commit 7230127c32b1e090cc8d185e3bbd16a4ebd95ff5
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 22:58:49 2008 -0400

    Remove some debug prints from depsolver.

 razor.c |   81
 +++++++++++++++++++++++---------------------------------------
 1 files changed, 30 insertions(+), 51 deletions(-)

commit c9e94d69988072fa8f5e4e014e2d5b0a5c0e236f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 22:41:37 2008 -0400

    Add read-only open function for razor_root and support --root in
    rpm wrapper.

 razor-root.c |   11 +++++++++++
 razor.h      |    2 ++
 rpm-razor.c  |   11 ++++++-----
 3 files changed, 19 insertions(+), 5 deletions(-)

commit 44c04be6610e19b96e6a171b5e132ac10fd30d3c
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 16:38:58 2008 -0400

    Add --initdb support for rpm wrapper.

 razor-root.c |    2 +-
 rpm-razor.c  |   15 +++++++++++++--
 2 files changed, 14 insertions(+), 3 deletions(-)

commit cd69987ad4f60fc87bdbc6cfd0fddf9e68c83f31
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 16:14:05 2008 -0400

    Move razor root code to its own file.

 Makefile     |    2 +-
 main.c       |  165
 ++--------------------------------------------------------
 razor-root.c |  157
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 razor.h      |   18 ++++++
 4 files changed, 181 insertions(+), 161 deletions(-)

commit f6bb85b2719bcdbde20f5ce146aae4107c2f9e7c
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 16:01:34 2008 -0400

    Add librazor.a to Makefile to make it clearer what is core razor.

 Makefile |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

commit 7443f9186cb432313e5f31303547cd140fa89f73
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 15:39:23 2008 -0400

    Introduce struct razor_root.

    This object encapsulates the directory layout and locking protocol for
    a razor install root.

 main.c |  245
 ++++++++++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 168 insertions(+), 77 deletions(-)

commit f4d61e6478b94d6ecbbe86c966fa163f670b015a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jun 9 14:38:58 2008 -0400

    Make yum url overridable by environment variable YUM_URL.

 main.c |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

commit 76b8805f3e61cb5d36c382450c840e63dc835269
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 14 16:56:35 2008 -0400

    Rewrite depsolver to use a series of passes over all packages.

    The big change is that we follow one step of the depedency chain for
    each package to resolve in each iteration, and repeat until there are
    no more possible moves.  In contrast the old depsolver would try to
    follow the dependency chain completely for one package at a time.

    This new approach is simpler and faster, and at the same time more
    roboust. Instead of knowing how one newly installed package may
    affect other packages (obsoleting, pulling in new packages etc), the
    new algorithm just looks at the total list of requires, provides,
    obsoletes and conflicts after installing new packages.

 main.c        |   22 +-
 razor.c       | 1707
 +++++++++++++++++++++------------------------------------
 razor.h       |   38 +--
 rpm-razor.c   |    7 +-
 test-driver.c |    6 +-
 types.c       |   31 -
 6 files changed, 629 insertions(+), 1182 deletions(-)

commit dfa684b1a9c340d9ee66d5b6453b63bec2a40d45
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 8 18:29:24 2008 -0400

    Add url and license package data as well

 main.c  |   10 ++++++++--
 razor.c |   30 ++++++++++++++++++------------
 razor.h |   12 +++++++-----
 rpm.c	 |    9 +++++++--
 yum.c	 |   19 +++++++++++++++++--
 5 files changed, 57 insertions(+), 23 deletions(-)

commit 9074e439d6102180298f5dcb4822fbcf2399a226
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 8 17:10:39 2008 -0400

    Import summary and description into the repo files.

    Also add a 'info' command for displaying them.

 main.c  |   32 +++++++++++++++++++++++++++++++-
 razor.c |   25 +++++++++++++++++++++++++
 razor.h |    8 ++++++++
 rpm.c	 |    8 ++++++--
 yum.c	 |   16 +++++++++++++++-
 5 files changed, 85 insertions(+), 4 deletions(-)

commit 6b8b00f4b58bd1e42251e49bc51fd4ffec9787b7
Author: James Bowes <jbowes@redhat.com>
Date:	Sun Jun 8 11:56:11 2008 -0400

    Clean up some segfaults in the test driver

 test-driver.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

commit a198fe281fba30e5882bdde1b1ddb2324b6abc71
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 21:28:26 2008 -0400

    Factor out --query package selection, share with --verify.

 rpm-razor.c |	 94
 +++++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 62 insertions(+), 32 deletions(-)

commit 362ee8eeb85dfd9fd8aeec9fe4cf9013af4b9c33
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 21:06:09 2008 -0400

    Start implementing rpm -i.

 rpm-razor.c |	 40 +++++++++++++++++++++++++++++++---------
 1 files changed, 31 insertions(+), 9 deletions(-)

commit 4fc6059f62d85455ffbfbffff7d90237b836bea0
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 20:53:17 2008 -0400

    Start implementing erase - still need better depsolver.

 razor.c     |	  2 +-
 rpm-razor.c |	 27 ++++++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 2 deletions(-)

commit c1c804c8232029e4a1b77f0dad2393d0224cb078
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 20:16:50 2008 -0400

    Support bundling of single letter options.

 rpm-razor.c |	 56
 +++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 37 insertions(+), 19 deletions(-)

commit db73cf69b2545fb2b312271484498a8e279055a3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 20:04:57 2008 -0400

    Process all option structs that match a given arg.

    This lets us handle options such as -i that have different meanings
    depending on what other options are present on the command line.

 rpm-razor.c |	132
 +++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 80 insertions(+), 52 deletions(-)

commit 74d4119790d83eaf1dd2f2b33cf91fa0adc68f29
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 14:57:14 2008 -0400

    Implement the rpm --package option.

 Makefile    |	  2 +-
 rpm-razor.c |	 34 +++++++++++++++++++++++++++++++---
 2 files changed, 32 insertions(+), 4 deletions(-)

commit 4c7b974690cd633ae0e6a4f08a4c7591cc05cea2
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Jun 4 13:19:54 2008 -0400

    Flesh out the rpm -q part of the rpm command line wrapper.

 Makefile    |	  2 +-
 razor.c     |	 79 ++++++++++++++++++++++++++
 razor.h     |	 11 ++++
 rpm-razor.c |	178
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 4 files changed, 258 insertions(+), 12 deletions(-)

commit 9cb8c3e3fb8bddc108d70050c3a07b09bbcfafe6
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Jun 3 15:20:00 2008 -0400

    Start rpm commandline compatible wrapper.

 Makefile    |	  4 +-
 rpm-razor.c |	482
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 485 insertions(+), 1 deletions(-)

commit 062aa6071c0f72d6f8408f5be51aa027f0771c4e
Author: Kristian Høgsberg <krh@localhost.localdomain>
Date:	Wed Apr 30 18:18:27 2008 -0400

    Add more TODO items.

 TODO |   74
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 72 insertions(+), 2 deletions(-)

commit 2cc4b94bbb8cfe52cac1736b809e03e4ba161749
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Wed Apr 9 21:28:17 2008 -0400

    Edit TODO a bit.

 TODO |   27 +++++++++++++++++++--------
 1 files changed, 19 insertions(+), 8 deletions(-)

commit d3ca56819aa2e17d1e97ec677f5920389a3dfe38
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Wed Apr 9 21:14:31 2008 -0400

    Add GPLv2 license headers.

    Make it all GPLv2 for now, we may want to break out an LGPLv2
    librazor later.

 COPYING |  339
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 main.c  |   19 ++++
 razor.c |   19 ++++
 razor.h |   19 ++++
 rpm.c	 |   19 ++++
 yum.c	 |   19 ++++
 6 files changed, 434 insertions(+), 0 deletions(-)

commit 364a2355f02df99334628c682b7b3d062eb897bd
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Wed Apr 9 02:41:03 2008 -0400

    Use the cpio headers instead of the rpm headers when unpacking.

    The files in the cpio payload doesn't actually follow the file order
    in the rpm headers, so we need to decode the cpio header and use the
    information there.

 main.c |    4 ++-
 rpm.c	|  106
 +++++++++++++++++++++++++++++++++++++++++----------------------
 util.c |    8 ++--
 3 files changed, 76 insertions(+), 42 deletions(-)

commit d3771ab9d72a70648bb2ab09d663d6042592d9ee
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Tue Apr 8 23:53:57 2008 -0400

    Make transaction resolve step optional.

 main.c        |   23 +++++++++++++++--------
 razor.c       |    6 +-----
 razor.h       |    2 +-
 test-driver.c |    2 +-
 4 files changed, 18 insertions(+), 15 deletions(-)

commit 90df298613174da7e4567edc5a0221857247e267
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Tue Apr 8 00:10:31 2008 -0400

    Don't add package to transaction more than once.

 razor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit d67faacbf4d1eda443013b802c55e2ce55ceaaea
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Mon Apr 7 23:52:14 2008 -0400

    Mark package to be installed or removed after creating the
    transaction.

    This lets us implement support for fnmatch wildcard and do
    better error checking.

 main.c        |   83 +++++++++++++++++++++++++++++++++++---
 razor.c       |  124
 ++++++++++++++++++++++++++++++---------------------------
 razor.h       |    9 +++-
 test-driver.c |   20 ++++++---
 4 files changed, 161 insertions(+), 75 deletions(-)

commit 70e43ba8d4ee76ff43b51948f37f6db0bf3e2bb0
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Mon Apr 7 21:32:19 2008 -0400

    Detect failure to create download target file.

 main.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 7b7f7677945609a6b0015e471c272a9c2ebebb8e
Author: Kristian Høgsberg <krh@jiraiya.boston.redhat.com>
Date:	Mon Apr 7 21:28:13 2008 -0400

    Create rpms dir on demand.

 main.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

commit 69e12a1fb27f7c6a7a54fb57a740ecff719f861f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 12:38:21 2008 -0400

    Silly spelling error.

 main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1823566ba21d36b5cf2825dbdaa884ae095cc892
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 12:29:13 2008 -0400

    Handle http errors better.

 main.c |   26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

commit a31427096c79d77097c619181da7b47301907833
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 12:09:50 2008 -0400

    Handle arch correctly in command_download() and print some status
    at the end.

 main.c |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

commit bcb05b8d92c82487ac927a03995913000f1ec918
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 11:56:48 2008 -0400

    Remove redundant curl initialization.

 main.c |    9 +--------
 rpm.c	|    2 +-
 2 files changed, 2 insertions(+), 9 deletions(-)

commit 8b047c83a47b9dbc9aa7352b577f9917698b274f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 01:19:13 2008 -0400

    Skip epoch prefix when creating filenames/urls.

 main.c |   26 ++++++++++++++++++++------
 1 files changed, 20 insertions(+), 6 deletions(-)

commit 6a4d08edadafbd9e270b15f3c9ffce2e1f79aa3d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 01:06:09 2008 -0400

    Misc comment/todo changes.

 TODO	|    5 -----
 main.c |    2 ++
 2 files changed, 2 insertions(+), 5 deletions(-)

commit 6bf418ae3cf85d71085e4297c201b150a518bef4
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 01:03:07 2008 -0400

    Reduce harmless warnings from run_script().

 Makefile |    2 +-
 rpm.c	  |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

commit 666e4ae2dca266183b6a92d8bb6f80a74d0c2d80
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 00:56:16 2008 -0400

    Don't install files if package has no files.

 rpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 749f6041a00b218a7d1fe668fa5efd455563e92e
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 00:31:01 2008 -0400

    Create the new repo file O_EXCL to prevent racing with another
    razor process.

    And remember to clean it up on exit paths.

 main.c  |   38 ++++++++++++++++++++++++++++----------
 razor.c |   28 ++++++++++++++++++++--------
 razor.h |    1 +
 3 files changed, 49 insertions(+), 18 deletions(-)

commit 6f98c9947e0f2768f0ee44fabc352f8187889952
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 00:06:22 2008 -0400

    Merger razor_transaction_run() and destroy() as finish().

 main.c        |   14 +++-----------
 razor.c       |    8 ++++++--
 razor.h       |    2 +-
 test-driver.c |    3 +--
 4 files changed, 11 insertions(+), 16 deletions(-)

commit 4ddfe3d23a30e178c33bc9ee750c835557059cbe
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Apr 7 00:02:01 2008 -0400

    Finish razor_transaction_destroy some more.

 razor.c |    4 ++++
 types.c |    6 ++++++
 types.h |    1 +
 3 files changed, 11 insertions(+), 0 deletions(-)

commit 66e952e51e77eb5a7eabbd41046242f7ae1bbcef
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 23:57:13 2008 -0400

    Make install command download and install all requirements.

 bash-completion.sh |	 2 +-
 main.c		    |  159
 ++++++++++++++++++++++++----------------------------
 2 files changed, 74 insertions(+), 87 deletions(-)

commit 6489b48209ba0e8e981580ce55a9c39bdfd64c1c
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 23:36:45 2008 -0400

    Fix segfault on ./razor list.

 main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 57a0e7b9642610583933002cf5503458d5df2be9
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 23:35:46 2008 -0400

    Also store the package arch in the pacakge set file.

 main.c        |   32 +++++++++++++++++++-------------
 razor.c       |   31 ++++++++++++++++++++-----------
 razor.h       |    9 +++++++--
 rpm.c	       |   11 +++++++----
 test-driver.c |   12 +++++++++---
 yum.c	       |   11 +++++++++--
 6 files changed, 71 insertions(+), 35 deletions(-)

commit 9e556611a9e9ac37c36cb9cef24cc861f9ce7361
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 19:34:58 2008 -0400

    Merger structs razor_transaction and razor_transaction_resolver.

    Now that both are opaque and hidden in razor.c we can do this cleanup.

 razor.c |  122
 ++++++++++++++++++++++++++++++---------------------------------
 1 files changed, 58 insertions(+), 64 deletions(-)

commit 0b1dd60a9530f3e7d01f611bf09ae020aeb47bc4
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 19:24:07 2008 -0400

    Hide a bunch of depsolver internals in razor.c.

 main.c        |   16 +++++++-----
 razor.c       |   72
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 razor.h       |   50 +++++----------------------------------
 test-driver.c |   35 ++++++++++++---------------
 4 files changed, 102 insertions(+), 71 deletions(-)

commit d82df86ebfc726b74fac2cc35d26b16bc0fadd05
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 18:40:53 2008 -0400

    Make a note about how we don't handle release-less properties.

    Such as requires: glibc > 2.6.90.

 TODO |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

commit 181fed76399761b53be53be2f8a230520b42f3ac
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Apr 6 00:29:47 2008 -0400

    Don't print stray newline if nothing was downloaded.

 main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit ec83d943217becc1e7dc4f2701dc67d0078c8849
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Apr 5 23:54:39 2008 -0400

    Add download command to download packages from yum repo.

    Works with bash completion against upstream packages and
    supports wildcards suchs as gcc-*.

 bash-completion.sh |	11 +++++++-
 main.c		    |	69
 +++++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 67 insertions(+), 13 deletions(-)

commit 0f837fc98c5c48e075b16518c1e1879cefede104
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Apr 5 01:15:04 2008 -0400

    Move qsort_with_data to util.c.

 main.c		  |    2 +-
 razor-internal.h |    8 +++
 razor.c	  |  152
 ++++++++++--------------------------------------------
 util.c		  |   94 +++++++++++++++++++++++++++++++++
 4 files changed, 130 insertions(+), 126 deletions(-)

commit 42a856f9e4c77cacc794b59243af44dc99b9aaa3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Apr 5 01:02:12 2008 -0400

    No dirnames more likely means 'no files', not old-style filenames.

 rpm.c |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

commit a382a3f713a3989ad66ca4d6fdc764522c06eca1
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Apr 5 00:44:45 2008 -0400

    Use razor_write() for piping script to interpreter.

 rpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 7b32f768dd965269e7b76f00f7f5eff690c7b3d0
Author: Dan Winship <danw@gnome.org>
Date:	Thu Mar 20 14:36:50 2008 -0400

    fix find_package_matching to not accidentally skip some packages

 razor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit e975bd2c7135f58968c60fc9f8c89e347493b099
Merge: d50c94f... e9bc8cf...
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 18 11:44:28 2008 -0400

    Merge branch 'master' of git://people.freedesktop.org/~krh/razor

commit e9bc8cf7df8ee3a701b59e61da9be431c9054bb6
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Mar 17 19:28:42 2008 -0400

    Only mark pacakges for update if there is a newer version available.

 razor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit d50c94f74d08bd7d528c07d9916a9d4404123e89
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 14 15:32:24 2008 -0400

    description of the repo file format / struct razor_set

 REPO.txt |  172
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 172 insertions(+), 0 deletions(-)

commit 82519bd604a5f245d09a74f3c543ee6bae719ac0
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 14 13:37:06 2008 -0400

    remove some done things

 TODO |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

commit 6ed413835d530a4fae7d2c0856bdb2f6eabf6155
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 14 10:18:58 2008 -0400

    spell out the depsolving rules explicitly, separate from the algorithm

 DEPSOLVE.txt |  104
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)

commit 0b8061229891ea06d5713358eee087c9e953088f
Merge: 7caa425... b870969...
Author: Dan Winship <danw@gnome.org>
Date:	Thu Mar 13 08:29:05 2008 -0400

    Merge branch 'master' of git://people.freedesktop.org/~krh/razor

commit b870969fd62d148f7923c3acb44f980c691e380d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Mar 12 17:00:10 2008 -0400

    install: Handle the case where a directory already exists.

 rpm.c |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

commit 7caa4255d74fafb9f7633455da6eaa37ff11bc02
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 12 16:41:34 2008 -0400

    add more background to DEPSOLVE.txt

 DEPSOLVE.txt |   91
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 86 insertions(+), 5 deletions(-)

commit 92f0468559d926f026510539dbbdc90133d7054e
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 12 16:40:50 2008 -0400

    64-bit fixes

 rpm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 2315895f3c93f6c526f3260a0e1a9bff094489a9
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Mar 12 16:37:54 2008 -0400

    install: Initialize package array correctly.

 Makefile |    4 ++++
 main.c   |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

commit 704590a59c18658ae85feb1767759fdbfff7efaa
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Mar 12 16:26:26 2008 -0400

    Fix importing flags from RPM file.

 rpm.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit 4b04f1e116b1165855924492dd9fb43a10e28bfe
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Mar 12 15:38:56 2008 -0400

    Write out the new repo on install.

    We write the repo to a lock file repo, and once the RPMs are installed
    we rename() the lock repo back in place.

 main.c |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

commit 3cc3b10b5ced7c8be24899f3a3e0ea22717860cc
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 12 13:27:26 2008 -0400

    "requires x > n" matches "provides x", but "obsoletes x < n" doesn't

 razor.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 1f72f9d7c4066154066afaa1620872a57c4668ac
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 12 11:53:10 2008 -0400

    fix up transaction descriptions a little more

 razor.c |   88
 ++++++++++++++++++++++++++++++++++++++++-----------------------
 razor.h |   12 +++++++-
 2 files changed, 66 insertions(+), 34 deletions(-)

commit da577f890074d0be47618507c8174c36b7deed27
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 12 11:46:53 2008 -0400

    update to match latest DEPSOLVE.txt changes; find updates of
    obsoleted packages

 razor.c |  113
 +++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 89 insertions(+), 24 deletions(-)

commit 7c0d731fc4c28cdd0fffb265eddcab218c2c8089
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 18:12:02 2008 -0400

    move the initialization of the root entry name to razor_set_create

 razor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 3cbcf9be2190f686a4e4e0df7ea4d963f5db53a9
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 18:08:12 2008 -0400

    deal with a single package being the target of both a FORCED_UPDATE
    and an INSTALL

 razor.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

commit c875fcfca50c2d90e5a52309ff08520de566ab71
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 17:49:00 2008 -0400

    fix req_package in one case

 razor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9fe667f14644825cb97be9f4b8fab8f287326a12
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 17:15:02 2008 -0400

    Fix file tree merging (broken since 7b26d6b3)

 razor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 8fddaf22a7ccdddebc3e3ff416bf0b8ef759e22c
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 16:48:20 2008 -0400

    fix generated provides of files provided by more than one package

    (uniqueify_properties() assumes that each property only belongs to a
    single package, so our previous strategy of generating a single
    property
    with an indirect package list wouldn't work.)

 razor.c |   40 +++++++++++++++++-----------------------
 1 files changed, 17 insertions(+), 23 deletions(-)

commit 4180200db11e443cb291df4e7a09d0d016f1f502
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 15:45:53 2008 -0400

    fix the types of fields in razor_property for easier debugging

    also fix a case in razor_transaction_describe

 razor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 2d1338c190a42c96ef3c4174aa9fec406ca16d82
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 11:44:51 2008 -0400

    update to deal with obsoletes better

    when looking for a package "foo" to install/update, we have to look
    not just for a package named "foo", but also any package that
    obsoletes+provides "foo".

    So redo the algorithm to satisfy *all* installs/removes from the
    property list, so now we don't need to walk the package list at all.

 DEPSOLVE.txt |   37 +++++++++++++++++++++++++------------
 1 files changed, 25 insertions(+), 12 deletions(-)

commit f08fcae9143378ebc2c5c8aa2146db93ef3221c1
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 11 11:43:54 2008 -0400

    update to match DEPSOLVE.txt

    unfortunately not quite right; it can't figure out that "git-core"
    updates
    to "git"

 razor.c |  549
 +++++++++++++++------------------------------------------------
 1 files changed, 128 insertions(+), 421 deletions(-)

commit 137c4d32836fd3630eee4097c95836c3bb0cdaa3
Author: Dan Winship <danw@gnome.org>
Date:	Mon Mar 10 14:12:31 2008 -0400

    when importing, create fake file PROVIDES to match file REQUIRES

 razor.c |   90
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 89 insertions(+), 1 deletions(-)

commit 13d434340650d64da94f0ddef46bde2e8df5bca1
Author: Dan Winship <danw@gnome.org>
Date:	Mon Mar 10 11:30:00 2008 -0400

    update DEPSOLVE.txt after talking with Kristian

    In particular, we're going to do the fake PROVIDES for files
    thing now.

 DEPSOLVE.txt |  224
 ++++++++++++++++++++++++++++-----------------------------
 1 files changed, 110 insertions(+), 114 deletions(-)

commit 02cfe238ff6b01b10ee9967eaa6ed249ef9969bf
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 7 15:38:31 2008 -0500

    depsolving plan

 DEPSOLVE.txt |  170
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 170 insertions(+), 0 deletions(-)

commit c386aa49a49af250dfc47ca0b07a42489340b193
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 7 13:45:37 2008 -0500

    Fix both sides of provide/conflict handling to work the same way

    thus fixing conflicts-on-properties-rather-than-names, thus fixing the
    last remaining unpassed test

 razor.c |   77
 +++++++++------------------------------------------------------
 1 files changed, 11 insertions(+), 66 deletions(-)

commit c221d4cbf57a632fb3dc80780a5ae91c6bfefad0
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 7 13:44:22 2008 -0500

    kill warning

 main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 7b04f14809aa59e9a2dfdf193396a2275a510380
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 7 08:52:09 2008 -0500

    another checkpoint...

    there are a bunch of problems with doing things this way, and file
    provide removals are currently unhandled

 razor.c       |  341
 +++++++++++++++++++++++++++++++++++++++++++++++----------
 razor.h       |    4 +-
 test-driver.c |   17 ++--
 3 files changed, 293 insertions(+), 69 deletions(-)

commit c59701d2259bb55d846416ca67f1700c7d8bd00a
Author: Dan Winship <danw@gnome.org>
Date:	Fri Mar 7 08:24:09 2008 -0500

    fix version parsing to not sometimes use octal :)

 razor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit c9382e52dab7501b122432c4424388cacd93f0ec
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Mar 6 00:54:13 2008 -0500

    Use the razor transaction logic when installing rpms.

 main.c |  110
 +++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 92 insertions(+), 18 deletions(-)

commit 3a6b6f4fa61dae8590015a92ed349ad4625c52c6
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Mar 6 00:28:25 2008 -0500

    Split install root creation out into command_init().

 main.c |   47 ++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 38 insertions(+), 9 deletions(-)

commit 7b26d6b3e64902e6c4ccd764e1b83fc0a4ed14a2
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Mar 6 01:30:55 2008 -0500

    Initalize empty package sets with a proper empty file list.

 razor.c |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

commit 80e23541afcdc2100a6cf20450e44d0c9257ebb8
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Mar 6 00:27:43 2008 -0500

    Fix bug in razor_create_dir() path component loop.

 rpm.c	|    3 +--
 util.c |    5 ++++-
 2 files changed, 5 insertions(+), 3 deletions(-)

commit eca80042849b7b2735f3ac6a067f46d3f57bb290
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Mar 5 23:49:05 2008 -0500

    Fix epoch in rpm and rpmdb importer: epoch is an integer tag.

 rpm.c |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)

commit fa46c26272705b34adb07f14ff2b378e114b4250
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 5 19:02:29 2008 -0500

    keep track of both the install and the remove on an update

    razor_transaction_satisfy_removes() is now quite broken, as it thinks
    it should remove a package if a package it depends on was updated.

 razor.c |  213
 +++++++++++++++++++++++++++++++++++++++++++-------------------
 razor.h |    4 +-
 2 files changed, 150 insertions(+), 67 deletions(-)

commit 9423304621ad2c0ffece652986304b268f3cf8be
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 5 19:01:51 2008 -0500

    move razor_set_diff so it's not in the middle of the transaction code

 razor.c |   92
 +++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 46 insertions(+), 46 deletions(-)

commit d039a0d533cb539c4b8aae04ca0c5dbe9b51d05c
Author: Dan Winship <danw@gnome.org>
Date:	Wed Mar 5 10:46:40 2008 -0500

    clean up packages states some

 razor.c       |  295
 ++++++++++++++++++++++++++++++---------------------------
 razor.h       |   64 +++++++++----
 test-driver.c |    8 +-
 3 files changed, 206 insertions(+), 161 deletions(-)

commit 2c39f3d617ae979d96f434e413362864bfb4f12f
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 4 19:07:14 2008 -0500

    checkpoint, misc rewritage

 razor.c |  716
 +++++++++++++++++++++++++++++++++++++-------------------------
 1 files changed, 427 insertions(+), 289 deletions(-)

commit 60970a45d474d25601a3596f7eae4dfd33e192ef
Author: Dan Winship <danw@gnome.org>
Date:	Tue Mar 4 10:55:01 2008 -0500

    Fix version handling (particularly wrt epoch) on import

 razor.c |   23 +++++++++++++++++++++++
 razor.h |    5 ++++-
 rpm.c	 |   20 +++++++++++---------
 yum.c	 |   21 ++++++++++-----------
 4 files changed, 48 insertions(+), 21 deletions(-)

commit d12d5573be5daa1fd43d5cbbc11e2bb64e9493e0
Author: Dan Winship <danw@gnome.org>
Date:	Mon Mar 3 16:19:56 2008 -0500

    unduplicate file-finding code

 razor.c |  102
 +++++++++++++++++++++++++++-----------------------------------
 1 files changed, 44 insertions(+), 58 deletions(-)

commit e3ad8f2ea07fc3f0fec919116a189d09376bbe65
Author: Dan Winship <danw@gnome.org>
Date:	Mon Mar 3 16:05:33 2008 -0500

    add struct razor_transaction_resolver to reduce redundant procedure
    args

 razor.c |  250
 ++++++++++++++++++++++++++++++---------------------------------
 1 files changed, 118 insertions(+), 132 deletions(-)

commit 50096493de82d1b34ef4f313268b9930e5651e20
Author: Dan Winship <danw@gnome.org>
Date:	Mon Mar 3 14:55:16 2008 -0500

    redo some of the transaction code, get conflicts and obsoletes
    partly working

    now uses a bit array of to-be-installed/removed packages and uses
    that to
    avoid needing to do either per-property searches or repeated
    merges. but it
    really needs to have a bit array of properties too probably

    checkpoint before starting on simplifying/cleaning up the existing
    transaction code

 razor.c |  551
 ++++++++++++++++++++++++++++++++++++++++++++-------------------
 razor.h |    7 +-
 types.c |   25 +++
 types.h |   10 ++
 4 files changed, 430 insertions(+), 163 deletions(-)

commit 3b595c061848f8cdcd5d5dfb47536c303f1e258b
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 29 15:09:44 2008 -0500

    add somewhat inefficient file dep removal code

    (fwiw, the comment on the previous commit was incorrect)

 razor.c |  139
 +++++++++++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 101 insertions(+), 38 deletions(-)

commit ae0a9d9f95d4c7fd19fcadcd0a2b628716003d6a
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 29 12:45:08 2008 -0500

    implement file dependencies for installs

    removes are trickier because there are no backlinks from the files
    array
    the properties array, so there's currently no way to efficiently
    determine
    what packages are affected by the removal of a particular file

 razor.c |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)

commit 9bcec982455f1afccefc2d31dadd0a18ba864a3b
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 29 11:53:15 2008 -0500

    Redo updates and removes in terms of a single razor_transaction
    abstraction

    Also does versioned depsolving at least partially.
    Update main.c and test-driver.c for that, and fix some unrelated
    test-driver
    bugs.

    Now gets up to testUpdateSinglePackageObsoletesOldRequirement,
    although
    it really should not be passing the multilib tests; apparently
    they aren't
    clever enough in their testing of the depsolving algorithm and
    are allowing
    it to come up with the right answer for the wrong reason.

 main.c        |   26 ++-
 razor.c       |  760
 ++++++++++++++++++++++++++++++++++++---------------------
 razor.h       |   51 ++++-
 test-driver.c |  123 +++++++---
 4 files changed, 630 insertions(+), 330 deletions(-)

commit 5f5c2b337d2638427dbf0b04eac2e119071810c0
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 29 11:51:58 2008 -0500

    use -Wmissing-prototypes to help find dead code

    (by forcing us to declare functions static, allowing gcc to tell us
    "warning: foo defined by not used")

 Makefile |    2 +-
 util.c   |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

commit 00ed8c3226467fbf9128f7e9b81bb04a1f5dfeb2
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 29 11:46:37 2008 -0500

    fix

 test.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit 39c60c44d990c74a2b75fab3be5d415394117504
Author: Dan Winship <danw@gnome.org>
Date:	Tue Feb 26 16:39:01 2008 -0500

    redo razor_set_update to only rebuild the set once

    messy, and with too much duplicated code...

 razor.c |  207
 +++++++++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 148 insertions(+), 59 deletions(-)

commit 2c283807b1bb6e04fef5242d2f54805a35dabce2
Author: Dan Winship <danw@gnome.org>
Date:	Tue Feb 26 13:47:31 2008 -0500

    fix one of the tests to match the probably mistaken python version,
    and
    add two more comments pointing out oddities in the python tests

 test.xml |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

commit cb2ae5f0ea2ff24b344883d8edb3c5699c365e4c
Merge: 7b5b52b... a1ec9f1...
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 22 12:53:07 2008 -0500

    Merge branch 'master' of git+ssh://people.freedesktop.org/~danw/razor

    Conflicts:

	razor.c

commit 7b5b52b08af84cb78e00e91ca66ac64b193c9bea
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 22 12:49:13 2008 -0500

    redo razor_set_remove() to only do a single merge

 razor.c |  155
 +++++++++++++++++++++++++++++++++++---------------------------
 1 files changed, 87 insertions(+), 68 deletions(-)

commit a1ec9f1754d3a47ec986c7817bcd206e07993be7
Author: Dan Winship <danw@gnome.org>
Date:	Thu Feb 21 14:58:39 2008 -0500

    make razor_set_update not loop forever on unsatisfiable dependencies

    this is mostly a dead-end, as to get the next test working i need to
    rewrite the code as suggested in the comment above
    razor_set_revalidate

 razor.c       |  115
 +++++++++++++++++++++++++++++++++++++-------------------
 test-driver.c |   49 ++++++++++++++++--------
 2 files changed, 108 insertions(+), 56 deletions(-)

commit 2c9835a79a844327c061d4a0927d8683ddc65c0f
Author: Dan Winship <danw@gnome.org>
Date:	Thu Feb 21 12:09:13 2008 -0500

    Add support for removing packages

    Should be redone to avoid rebuilding the set multiple times

    First two tests pass now

 main.c        |   17 +++++
 razor.c       |  196
 ++++++++++++++++++++++++++++++++++++++++++++-------------
 razor.h       |    2 +
 test-driver.c |   10 +--
 4 files changed, 175 insertions(+), 50 deletions(-)

commit 42e11337459fa8461220c2a8411129f6c45b9519
Author: Dan Winship <danw@gnome.org>
Date:	Wed Feb 20 16:54:03 2008 -0500

    fix rebuild_property_package_lists to put the lists in the right pool

    (likewise rebuild_file_package_lists, which was copied from it)

 razor.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

commit 7e26dbb7f0166f05eaec708d61d02b83485dea4b
Author: Dan Winship <danw@gnome.org>
Date:	Wed Feb 20 13:34:55 2008 -0500

    Merge file lists when updating

    Currently a bit of a mess due to repeated rewriting. To be cleaned up
    after we decide whether or not to keep the current file layout

 razor.c |  273
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 263 insertions(+), 10 deletions(-)

commit 572a0837d6ea8ebb03ac412572bbeec294b5f1d5
Author: Dan Winship <danw@gnome.org>
Date:	Wed Feb 20 12:37:37 2008 -0500

    Fix file importing code to not generate some duplicate directories

    build_file_tree() depends on the fact that the contents of a directory
    are sorted immediately after it in the file list, but '.' sorts before
    '/'
    lexicographically, so you'd actually end up with, eg:

	/etc/yum
	/etc/yum.conf
	/etc/yum/pluginconf.d

    which would cause a second entry for /etc/yum to be added to the file
    list.

    For now I've fixed this by make compare_filenames() do a special
    strcmp
    by hand, manually sorting '/' before anything else.

 razor.c |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

commit baea143ed10998fbace2d2b98b7a9c442938aee5
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 15 15:09:37 2008 -0500

    redo test framework, with tests taken from yum sources

    (none of them pass yet...)

 sets.xml      |   24 --
 test-driver.c |  399 +++++++++++++++------------
 test.xml      |  858
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 1068 insertions(+), 213 deletions(-)

commit b76c44568d662e64c5270491b4652ae30a25f5b8
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 15 15:08:38 2008 -0500

    misc fixes for edge cases

    1) sets with only one package
    2) packages with only one property
    3) sets with only one property

 razor.c |   24 +++++++++++++++---------
 types.c |   27 ++++++++++++++++-----------
 types.h |    2 +-
 3 files changed, 32 insertions(+), 21 deletions(-)

commit b2c25f087e69a009da8970f6ccb232b8788b4af0
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 15 09:31:20 2008 -0500

    remove some unused code

 razor.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

commit 30bf796fa71410e456c32d283c37a6fa96f132c0
Author: Dan Winship <danw@gnome.org>
Date:	Thu Feb 14 10:35:25 2008 -0500

    (trivial optimization)

 razor.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 1ff2fd2b5b5ccdfafb03c53860a3df1d43908057
Author: Dan Winship <danw@gnome.org>
Date:	Thu Feb 14 10:35:10 2008 -0500

    add a missing comparison to ensure correct repo sorting

 razor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 8697dfda137cb511ec8a4a701a0fd91e39697b5e
Author: Dan Winship <danw@gnome.org>
Date:	Mon Feb 11 11:57:47 2008 -0500

    Split razor_package and razor_entry names into name and flags

 razor.c |   52 +++++++++++++++++++++++++++-------------------------
 1 files changed, 27 insertions(+), 25 deletions(-)

commit 5a18a8a73d5a17eb01f9c0cb3105ff004a4dce88
Author: Dan Winship <danw@gnome.org>
Date:	Mon Feb 11 11:21:54 2008 -0500

    split razor_property.name into name, flags, and type bitfields

 razor.c |   84
 +++++++++++++++++++++++++++++++++------------------------------
 1 files changed, 44 insertions(+), 40 deletions(-)

commit 95f1cf8d8989a70e0cf5b51902e506e00c924444
Author: Dan Winship <danw@gnome.org>
Date:	Mon Feb 11 09:50:17 2008 -0500

    Change list flags back to 8 bits instead of just 2

 types.c |    6 +++---
 types.h |    8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

commit db3ef414de5618afd2b8d46da7409e06b679d659
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 8 14:39:34 2008 -0500

    improve the list abstraction with "struct list_head" and "struct list"

    both structs are actually just uint32_t's in disguise, using bitfields
    to avoid the need for explicit bit operations, and using two type
    names
    to hide the RAZOR_IMMEDIATE hack from the public API

 razor.c |   92
 +++++++++++++++++++++++++++++++++-----------------------------
 types.c |   60 ++++++++++++++++++++++++-----------------
 types.h |   26 +++++++++++++-----
 3 files changed, 103 insertions(+), 75 deletions(-)

commit 64f4c0486b4d11aaeeb3853990105f07bac3a4a6
Author: Dan Winship <danw@gnome.org>
Date:	Fri Feb 8 11:19:36 2008 -0500

    Add a list abstraction for package/property lists

 razor.c |  211
 ++++++++++++++++++++++++---------------------------------------
 types.c |   63 +++++++++++++++++++
 types.h |    9 +++
 3 files changed, 151 insertions(+), 132 deletions(-)

commit 5d3e9c659fa12bf78a6432504ffbc07f8f01d7b8
Author: Dan Winship <danw@gnome.org>
Date:	Thu Feb 7 09:58:48 2008 -0500

    split array and hashtable code out into a new file

 Makefile |    5 +-
 razor.c  |  174
 +-------------------------------------------------------------
 types.c  |  168
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 types.h  |   27 ++++++++++
 4 files changed, 199 insertions(+), 175 deletions(-)

commit 0a52fce72a53d1d08e16a7b7369aff14879a4383
Author: Dan Winship <danw@gnome.org>
Date:	Wed Feb 6 13:02:50 2008 -0500

    clean up some duplicated code around calls to add_to_property_pool

 razor.c |   41 +++++++++++------------------------------
 1 files changed, 11 insertions(+), 30 deletions(-)

commit dc6159b2cb8d901b43fadb31abeea5719f9b3a48
Author: Dan Winship <danw@gnome.org>
Date:	Wed Feb 6 12:59:27 2008 -0500

    pad repo files with 0 bytes, not random memory

    so you can do:
      ./razor import-yum
      mv rawhide.repo rawhide.repo.orig
      make
      ./razor import-yum
      diff rawhide.repo.orig rawhide.repo

    (doesn't work with system.repo at the moment...)

 razor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit f8e5051f41bca102fd05695afc837f1b391a4397
Author: Dan Winship <danw@gnome.org>
Date:	Wed Feb 6 12:37:49 2008 -0500

    fix dependencies

 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 0491bce46b1e50ba5b4aaaac047f161f40faacd8
Author: Dan Winship <danw@gnome.org>
Date:	Tue Feb 5 12:14:50 2008 -0500

    s/import/yum/

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit c3c3ff0f18721f64ea4d2f6268517e619e8788da
Author: Dan Winship <danw@gnome.org>
Date:	Tue Feb 5 12:02:53 2008 -0500

    update

 .gitignore |	 2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 61950692c304ad53cab3f1c7d71806fbc153a63d
Author: Dan Winship <danw@gnome.org>
Date:	Mon Feb 4 14:25:45 2008 -0500

    Support for less/equal/greater version in requires/conflicts, etc

    Add less/equal/greater information to razor_property, and update
    importers and other code.

    Move the rpm importer from import.c to rpm.c to avoid code
    duplication, and then rename import.c to yum.c since that's all that's
    left.

 import.c      |  379
 ---------------------------------------------------------
 main.c        |   18 ++-
 razor.c       |   35 ++++--
 razor.h       |   16 ++-
 rpm.c	       |  126 +++++++++++++++++++-
 test-driver.c |   10 +-
 yum.c	       |  312 +++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 499 insertions(+), 397 deletions(-)

commit e6cc172fa0be38379f5bb01baf34aba99ea7ccfa
Author: Dan Winship <danw@gnome.org>
Date:	Mon Feb 4 10:46:29 2008 -0500

    Fix repo format on x86_64 by using uint32_t instead of unsigned long

 razor.c |  167
 ++++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 84 insertions(+), 83 deletions(-)

commit 3c23c58b2e728d091dad9fa78a0506817a8507df
Author: Dan Winship <danw@gnome.org>
Date:	Mon Feb 4 10:12:04 2008 -0500

    don't use -O2 for now

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 7be6f4ac52ea1307b6b5d92354bc99c4df9efb4a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Jan 22 11:34:28 2008 -0500

    Fix comparisong bug in razor_set_diff().

    We could end up calling the callback for p1 even if it's NULL,
    if p2 != NULL
    and the previous comparison left res == -1.

 razor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit ff048987e66a8b7656fc0851ab86067f525d211a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Jan 22 00:08:13 2008 -0500

    Use a package iterator in find_packages() to add packages sorted.

    Also avoids use of razor_set_get_package().

 razor.c |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

commit 96599f02616e3bfe78a5be1b7ced6b2b835101db
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jan 21 23:02:47 2008 -0500

    Factor out property importing for rpm importer.

 import.c |   86
 +++++++++++++++++++++++++++----------------------------------
 1 files changed, 38 insertions(+), 48 deletions(-)

commit 911acdcf86b475550bff7765f06dea1f6d5f2b93
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Jan 21 22:40:54 2008 -0500

    Use iterators for razor_set_diff() implementation.

 razor.c |   52 +++++++++++++++++++++++++---------------------------
 1 files changed, 25 insertions(+), 27 deletions(-)

commit 005a06e4933b31a3f917bf134ecdcf5270ec62dd
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 17 23:36:12 2008 -0500

    Use the package iterator for looping over file owners too.

 main.c  |   10 +++++++++-
 razor.c |   33 +++++++++++++--------------------
 razor.h |    4 +++-
 3 files changed, 25 insertions(+), 22 deletions(-)

commit 9c4ae2e3a5bb196088af89c7313708a8d9e94b5b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 17 23:28:37 2008 -0500

    Add a package iterator for iterating through property owners.

 main.c  |   16 +++++++++++-
 razor.c |   84
 ++++++++++++++++++++++++++++++++++++--------------------------
 razor.h |    9 ++----
 3 files changed, 67 insertions(+), 42 deletions(-)

commit 41d197eb10163b060041fdd8eb682660de30f7f8
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 23:42:42 2008 -0500

    Move more front-end logic from razor_set_list_property_packages()
    to main.c.

 main.c  |   47 +++++++++++++++++++++++++++++++++++------------
 razor.c |   49 ++++++++++++++-----------------------------------
 razor.h |    5 ++---
 3 files changed, 51 insertions(+), 50 deletions(-)

commit f31d3ea8eb74b6c00df1765f68fba3d95ab4d9a9
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 23:30:51 2008 -0500

    Use property iterator in razor_set_list_property_packages().

 razor.c |   55 +++++++++++++++++++------------------------------------
 razor.h |    3 ---
 2 files changed, 19 insertions(+), 39 deletions(-)

commit 34a84756ec2ec7cd868664be4b5d534d175d90ef
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 23:03:03 2008 -0500

    Clean up property iterator constructor a bit.

 razor.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

commit 6602986242c8238e0931dc71beac9de851f94374
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 22:50:51 2008 -0500

    Implement razor_set_get_package() using the package iterator.

    Drop bsearch and qsort with data TODO items.

 TODO	 |    3 ---
 razor.c |   29 ++++++++++++-----------------
 2 files changed, 12 insertions(+), 20 deletions(-)

commit be69e1c553ac383b67dad7c42c22ce64fa419e5d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 22:44:41 2008 -0500

    Use property iterator for razor_set_get_property().

 razor.c |   65
 +++++++++++++++++++++++++++-----------------------------------
 1 files changed, 28 insertions(+), 37 deletions(-)

commit c86bef1232b8c8932e89f1a33a7a988399bfab41
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 22:07:07 2008 -0500

    Get rid of razor_importer_tokenize() helper function.

 razor.c |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

commit b83fca44ad12827c6cc637954beb41dbeccd1d98
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 10 21:08:03 2008 -0500

    Fix a few warnings.

 main.c        |    1 +
 razor.c       |    1 -
 test-driver.c |    4 +---
 3 files changed, 2 insertions(+), 4 deletions(-)

commit a10ada9c0af6e87ffce3720bc6514fec33a6ebf2
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Jan 8 12:55:34 2008 -0500

    Add missing test.xml.

 test.xml |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

commit 9041a68272ff0dcac56aad8e44df8e6d1362da15
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 3 19:50:20 2008 -0500

    Add iterator API, boot-strap test suite.

 Makefile      |    2 +-
 main.c        |   68 ++++++++++++-------
 razor.c       |  171 ++++++++++++++++++++++++++++++------------------
 razor.h       |   30 ++++++++-
 sets.xml      |   13 ++++
 test-driver.c |  204
 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
 6 files changed, 379 insertions(+), 109 deletions(-)

commit 7c3e2d5eebcb584efe1b7cb22daf8c7b8c57e8d4
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Jan 3 09:32:21 2008 -0500

    Split a few functions out into new file util.c.

 Makefile	  |    4 +-
 razor-internal.h |   11 ++++++++
 razor.c	  |   23 +++---------------
 razor.h	  |    1 +
 rpm.c		  |   67
 ++++++----------------------------------------------
 util.c		  |   68
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 94 insertions(+), 80 deletions(-)

commit 2873b6debfe59819e1c44658a8f497b1065aa78b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Dec 29 18:59:51 2007 -0500

    Drop unused sha1.h.

 import.c |    1 -
 sha1.h   |   45 ---------------------------------------------
 2 files changed, 0 insertions(+), 46 deletions(-)

commit 37c474a406f83f99e799a0f31ec8e673a6f0199a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Dec 29 16:43:34 2007 -0500

    Fix a bit of return -1 / exit(-1) confusion.

 rpm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit c272049116d4644e8c0af2e115dc100a6ca2d884
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Dec 29 15:56:59 2007 -0500

    Use fstat() instead of stat() when opening rpm.

 rpm.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

commit 7c123fe5cc12b98736911efde0e0b7691a8c6612
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Dec 29 15:36:13 2007 -0500

    Drop table based section lookup and look up sections on demand.

 rpm.c |  242
 +++++++++++++++++++++++++---------------------------------------
 1 files changed, 95 insertions(+), 147 deletions(-)

commit 97c6c5aba4efcdcf19680cee7feae0c199e5c919
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Dec 27 17:01:52 2007 -0500

    Extend installer implementation further.

 rpm.c |  311
 +++++++++++++++++++++++++++++++++++++++++++----------------------
 1 files changed, 206 insertions(+), 105 deletions(-)

commit 99db40f38c3452b8146f6d02cd6ff2766366c908
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Dec 22 22:05:29 2007 -0500

    Run install scripts.

 rpm.c |   90
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 80 insertions(+), 10 deletions(-)

commit bc8d6e9a9141e5ed4dea7a8fe3938c5e756c63f1
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Dec 22 00:37:06 2007 -0500

    Use an array of tags instead of a big switch for parsing the RPM
    headers.

 rpm.c |  119
 ++++++++++++++++++++++++++--------------------------------------
 1 files changed, 48 insertions(+), 71 deletions(-)

commit 7372c8cd0ca7557708eae7c9212ac9c3559203ab
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Nov 16 17:14:51 2007 -0500

    Fix file tree traversal to not skip the last entry.

 razor.c |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

commit 48fb9175dbdd0ff16bf008189d05d480870efdee
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Nov 13 01:30:09 2007 -0500

    Dump a couple of ideas to TODO, prune a few old items.

 TODO |   53 +++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 37 insertions(+), 16 deletions(-)

commit f15eac983911b9a6bc9a1f22c3ec7b7b0e58e4db
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Nov 13 01:08:08 2007 -0500

    Drop unused sha1.c from repository.

 sha1.c |  151
 ----------------------------------------------------------------
 1 files changed, 0 insertions(+), 151 deletions(-)

commit 26b4dcbe0cb035e1f91ff0d660c4f33ab7ee4406
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Nov 13 01:07:03 2007 -0500

    Add the start of a test suite for the core razor functionality.

 Makefile      |    9 +++-
 sets.xml      |   11 ++++
 test-driver.c |  170
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 189 insertions(+), 1 deletions(-)

commit ed96e14f0fe708a7c4f6910481ef47cbd3a71091
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Nov 12 00:03:37 2007 -0500

    Clean up the merging code a bit.

    Use the hashtable instead of reusing razor_importer for this.
    Introduce struct razor_merger for this.  All this is steps
    towards making the merging policy external to the core razor_set code.

 razor.c |  142
 +++++++++++++++++++++++++++++++++++++-------------------------
 1 files changed, 85 insertions(+), 57 deletions(-)

commit 7e321071ac42be3f5b32927133376d96bf204923
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Nov 11 14:57:42 2007 -0500

    Split out hashtable functionality from importer.

 razor.c |   77
 +++++++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 48 insertions(+), 29 deletions(-)

commit a79a393aab2a4a4ab843c9c6388a6911c70860c3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Nov 8 22:45:27 2007 -0500

    First steps towards rpm installation.

 main.c  |   51 ++++++++++-
 razor.h |    9 ++-
 rpm.c	 |  302
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 3 files changed, 317 insertions(+), 45 deletions(-)

commit 51afe3e48509b76e2c01df95dc6110a368d194e8
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Nov 8 22:36:16 2007 -0500

    Drop support for half-baked rzr file idea.

 import.c |  138
 --------------------------------------------------------------
 razor.h  |    1 -
 2 files changed, 0 insertions(+), 139 deletions(-)

commit 84646b2bcf38369f29f5fe95cef28d22b6bc889e
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Nov 8 17:14:19 2007 -0500

    Extend rpm dumper into an rpm importer.

 TODO	 |    2 +
 main.c  |   60 +++++++++++++--
 razor.c |   11 +++
 razor.h |    5 +
 rpm.c	 |  251
 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
 5 files changed, 264 insertions(+), 65 deletions(-)

commit 1b2b945a07af3cbc802edb92e7ae67835ac1f343
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Nov 7 00:33:56 2007 -0500

    Add the first bits of rpm file parser.

 Makefile |    2 +-
 TODO	  |   11 ++++-
 main.c   |   11 +++++-
 razor.h  |    4 ++
 rpm.c	  |  126
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 149 insertions(+), 5 deletions(-)

commit 11f6c74d86a8b471fc2794f21ae778d423a54358
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Nov 5 22:54:33 2007 -0500

    Improve download error handling, don't use libcurl progress.

 main.c |   72
 ++++++++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 50 insertions(+), 22 deletions(-)

commit 191098230b00ae3fab437f953a920be7d0cfb6e4
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Nov 5 21:55:31 2007 -0500

    Only download yum files if they're not there.

 main.c |   33 +++++++++++++++++++++------------
 1 files changed, 21 insertions(+), 12 deletions(-)

commit 218e6b7f398545b941908928bcad665acfa1e1fb
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Nov 5 19:06:52 2007 -0500

    Link to curl and download yum files automatically.

 Makefile      |    8 +-------
 TODO	       |    5 +++--
 import-rpm.sh |   36 ------------------------------------
 main.c        |   26 ++++++++++++++++++++++++++
 4 files changed, 30 insertions(+), 45 deletions(-)

commit c1b8c0bc3e09830aacfb3f3d8bb45886ce6a4d6d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Nov 4 01:11:53 2007 -0400

    Parse filelists.xml.gz too, so we import the yum files too.

 Makefile |    2 +-
 TODO	  |    5 ++
 import.c |  157
 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 main.c   |    2 +-
 razor.h  |    2 +-
 5 files changed, 131 insertions(+), 37 deletions(-)

commit b305f1ea6191dd1ac62b89b0d3eaec8081002ce8
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Nov 4 00:58:57 2007 -0400

    Set the property type when merging package sets.

 razor.c |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

commit c22b5954287ade6426c61116d945f4d2e12e2236
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Nov 4 00:58:25 2007 -0400

    Don't reset yum parser state when finishing parsing rpm:entry.

    This fixes the bug where each package on got on of each property type.

 import.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

commit b8ebb69d3d0dce41ffb2c5c0861cf99868631ef7
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 31 22:59:42 2007 -0400

    Import obsoletes and conflicts; add commands to list them.

 import.c |   40 ++++++++++++++++++++++++++++++++++++++++
 main.c   |   30 ++++++++++++++++++++++++++++--
 2 files changed, 68 insertions(+), 2 deletions(-)

commit 2c05e4490bf9a3cde6129cb074eebbb0be904030
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 31 22:41:27 2007 -0400

    Store requires and provides in the same list.

 TODO	  |    2 +
 import.c |   22 ++-
 main.c   |   10 +-
 razor.c  |  448
 +++++++++++++++++++++++++-------------------------------------
 razor.h  |   26 ++--
 5 files changed, 214 insertions(+), 294 deletions(-)

commit d9ffcda3c5cc952c69432d096fe4a55eff8fdd67
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Oct 28 22:36:26 2007 -0400

    Trim TODO, start tracking what's needed for 0.1 (replace rpm+yum).

 TODO |   31 ++++++++++++++++++++++---------
 1 files changed, 22 insertions(+), 9 deletions(-)

commit e71644cc28d32d7c48ccb2b26ae84adb659e9ce3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Oct 25 23:35:42 2007 -0400

    Use a terminator bit instead of ~0 for all lists.

 razor.c |   79
 +++++++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 50 insertions(+), 29 deletions(-)

commit ce94cdd024e95183da678d4dceb829bb8e378c49
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Oct 25 13:25:45 2007 -0400

    More ideas for TODO.

 TODO |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

commit f4eda2807e7b743930c047bd76afcc371b5ce815
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Oct 25 13:19:49 2007 -0400

    Fix yum importer.

 Makefile |    2 +-
 import.c |   31 +++++++++++++++++++++++++++----
 2 files changed, 28 insertions(+), 5 deletions(-)

commit e39415e3fe650a11330bf649a3e64f55cbc6f10b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 13:39:57 2007 -0400

    Use immediate links for property package lists too.

 razor.c |   69
 +++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 54 insertions(+), 15 deletions(-)

commit ae50b65372a3fffe0a27073fa56399ea3a7f9ba9
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 13:20:12 2007 -0400

    Introduce an immediate bit for 1-length lists.

    Instead of linking to a ~0 terminated list of one package, use the
    high bit of the link to indicate it's a direct link to the one
    package.

 razor.c |   44 +++++++++++++++++++++++++++++++++-----------
 1 files changed, 33 insertions(+), 11 deletions(-)

commit 53d9c7fafb8a9528662196fcdff6f84a534f90a1
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 12:21:29 2007 -0400

    Import rpm release as part of the version.

 import.c |    5 +++--
 razor.c  |   14 +++++++-------
 2 files changed, 10 insertions(+), 9 deletions(-)

commit f3e6745cb70aee25a98cd8d0390ee31b4fd3eb08
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 00:50:29 2007 -0400

    Add README and add primary.xml.gz to .gitignore.

 .gitignore |	 1 +
 README     |	55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)

commit 333a9cac957d2cc68032c2f3af64f0321afec429
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 00:32:18 2007 -0400

    Fix problem where / would get added as an entry under root directory.

 razor.c |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

commit c07cdb7cee184beceef44e23006dfd81e48360c3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 00:05:42 2007 -0400

    Track files per package and add command to list them.

 TODO		    |	 6 +
 bash-completion.sh |	 5 +-
 main.c		    |	14 +++
 razor.c	    |  310
 +++++++++++++++++++++++++++++++++++-----------------
 razor.h	    |	 1 +
 5 files changed, 234 insertions(+), 102 deletions(-)

commit 28fcde039b3d5456da4c5a92eaf405b5cca93111
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Oct 24 00:01:43 2007 -0400

    Prune TODO items.

 TODO |   45 +++------------------------------------------
 1 files changed, 3 insertions(+), 42 deletions(-)

commit cf3914a44a9c8a3c9c0c6d7ad5db277fb8cf47fe
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Oct 23 01:57:39 2007 -0400

    Add fnmatch() filtering to output to improve tab-completion.

 bash-completion.sh |	12 ++++---
 main.c		    |	 2 +-
 razor.c	    |	93
 +++++++++++++++++++++++++++++++++------------------
 razor.h	    |	 2 +-
 4 files changed, 69 insertions(+), 40 deletions(-)

commit 3a8582dc6786dfc924216df3bd3d3feb62dfe075
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Oct 22 22:55:06 2007 -0400

    Add bash completion script.

 bash-completion.sh |	37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

commit 60ce708bb64a830527731bd6eda2eeb649127b1d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Oct 22 22:53:55 2007 -0400

    Track file owner ship.

 TODO	 |    4 ++
 main.c  |   16 ++++++++++
 razor.c |   95
 ++++++++++++++++++++++++++++++++++++++++++++------------------
 razor.h |    1 +
 4 files changed, 88 insertions(+), 28 deletions(-)

commit f611ffb924cacb61eda51fbfc7afb430785c271b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Oct 22 20:41:54 2007 -0400

    TODO: Add pipelined download and install idea.

 TODO |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 6db03be2e2bb4697ccd2540fb1e35544df849c0a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Oct 22 20:12:58 2007 -0400

    Fix argument parsing for a couple of commands.

 main.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit ba90b59c193fd3a55789a57ab5fe887a2112bf3f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Oct 21 22:41:02 2007 -0400

    Implement listing only files in a subdirectory.

 main.c  |    2 +-
 razor.c |   34 ++++++++++++++++++++++++++++++++--
 razor.h |    2 +-
 3 files changed, 34 insertions(+), 4 deletions(-)

commit 4612e95087f1f708ee1c561d39f7a2db6058974b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Oct 21 21:57:22 2007 -0400

    Add a file tree section to the package set structure.

 import.c |   23 +++++----
 main.c   |   15 ++++++
 razor.c  |  157
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 razor.h  |    1 +
 4 files changed, 186 insertions(+), 10 deletions(-)

commit b989317d4620bb5142775136e6957163e7d88d89
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Oct 21 21:42:31 2007 -0400

    Update TODO a bit.

 TODO |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

commit eca0279dab6793c059ef9c6a4a0d494a980a6e34
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Oct 7 14:25:06 2007 -0400

    Extend importers to also pick up filelists for packages.

 import.c |   37 +++++++++++++++++++++++++++----------
 razor.c  |    5 +++++
 razor.h  |    2 ++
 3 files changed, 34 insertions(+), 10 deletions(-)

commit 85dd80f63e1add7ab4093f59357db22aeb9c4a90
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Oct 5 16:38:59 2007 -0400

    Fix typo in command_update().

 main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit cf64825216e93eebb9a47c35da0d471591b57e1f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Oct 5 16:26:27 2007 -0400

    Add diff function to compute the difference between two package sets.

 main.c  |   36 +++++++++++++++++++++++++++++++++---
 razor.c |   45 +++++++++++++++++++++++++++++++++++++++++++++
 razor.h |   12 ++++++++++++
 3 files changed, 90 insertions(+), 3 deletions(-)

commit 34a1973d729f47e9153493d37253e336bae05c2d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sun Sep 30 00:18:08 2007 -0400

    Split command line interface out into main.c.

 Makefile |    2 +-
 main.c   |  181
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 razor.c  |  184
 +++++++-------------------------------------------------------
 razor.h  |   23 ++++++++
 4 files changed, 224 insertions(+), 166 deletions(-)

commit 7dffce049c25449f96fc9632bab748807e0e5b3a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Sep 29 23:30:35 2007 -0400

    Get version flags for requires in rpmdb importer.

 import.c |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

commit a96d6de1ba3e0200f100c22024b6b7779684e8f3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Sat Sep 29 19:25:38 2007 -0400

    Implement linear package set merger.

 TODO	 |    5 +
 razor.c |  349
 +++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 2 files changed, 298 insertions(+), 56 deletions(-)

commit ae55cfee68ae747c881a2c865f3662bbbff4a58d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 26 00:08:03 2007 -0400

    Update TODO; prune a couple of obsolete items, add a new few new.

 TODO |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

commit 572fbb928e8dc34196a3ef94275684d60a42bd9b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 20 19:28:09 2007 -0400

    Split the property pool into three pools; requires, provides and
    packages.

    This simplifies the remapping code a lot and reduces memory pressure
    during import a bit.

 Makefile |    2 +-
 razor.c  |  121
 +++++++++++++++++++++++---------------------------------------
 2 files changed, 46 insertions(+), 77 deletions(-)

commit ee8b96b40960a327d48509af3a88f889a1ccb1e3
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 20 14:53:03 2007 -0400

    Implement updating all packages.

 razor.c |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 50 insertions(+), 7 deletions(-)

commit fca8573c152d918f120be7711192ca95e852f096
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 20 14:21:28 2007 -0400

    Implement the rest of package updating.

 Makefile |    2 +-
 razor.c  |  107
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 98 insertions(+), 11 deletions(-)

commit cf3a197adbecefa1b812405cd0688a73b11e06d2
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 23:24:57 2007 -0400

    Add comment about how to implement package addition faster.

 razor.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

commit 86286c1ad8e1e22112b534bbfab76d83e6eadead
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 23:02:31 2007 -0400

    Implement comparison of version strings and use where appropriate.

 razor.c |   59
 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 52 insertions(+), 7 deletions(-)

commit 956db8c2f350700706c2bf4e6f8b9fa5cdf78133
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 17:23:53 2007 -0400

    Sort packages on version as second order criteria.

 razor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 90f2dc709d4992bc90f530f1f4c9638dea7ca537
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 17:19:11 2007 -0400

    First bits of package set update algorithm.

 razor.c |  106
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 105 insertions(+), 1 deletions(-)

commit 7851feeaff0f39f6752f15fe889acca222c3d855
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 15:50:36 2007 -0400

    Move string hash table buckets to importer object.

 razor.c |   71
 ++++++++++++++++++++++++++++----------------------------------
 1 files changed, 32 insertions(+), 39 deletions(-)

commit 76d94a1004fc61001e52be200e1563af4f0dca4d
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 15:28:19 2007 -0400

    Fix type-punning warnings.

 import.c |   37 ++++++++++++++++++++-----------------
 1 files changed, 20 insertions(+), 17 deletions(-)

commit 1d83bf48e02c4386a76cec8fac491bdaad1d6b6e
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 15:26:25 2007 -0400

    Refactor the import interface and make it opaque.

 import.c |   98 ++++++++++++++++++-------------
 razor.c  |  195
 +++++++++++++++++++++++++++++++++++++++++++++----------------
 razor.h  |   80 +++-----------------------
 3 files changed, 209 insertions(+), 164 deletions(-)

commit 96ae98986e065ecf253c50b446d22626e6127928
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 14:34:11 2007 -0400

    Fix swapping of map entries in __qsort_with_data.

 razor.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

commit 9f34b6c03cd5b9d5067d0f89b3724913284a8084
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 19 14:09:03 2007 -0400

    Add importer for system rpm database.

 Makefile |    2 +-
 import.c |   61
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 razor.c  |    7 +++++++
 razor.h  |    1 +
 4 files changed, 70 insertions(+), 1 deletions(-)

commit 9aa27578d2a23f5fc2e8405f3f9d4c36ae672872
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Sep 18 15:02:04 2007 -0400

    Split importers to import.c.

 Makefile |    2 +-
 import.c |  259 +++++++++++++++++++++++++++++++++++++++++++++
 razor.c  |  357
 ++------------------------------------------------------------
 razor.h  |   83 +++++++++++++++
 4 files changed, 350 insertions(+), 351 deletions(-)

commit 6abcf182981d608326321e31f72322f324274384
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Sep 18 14:14:34 2007 -0400

    Add makefile rule to download and import yum data.

 Makefile |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 855f087b657cca9b00e432ac95f6c4435875d177
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 14 13:22:44 2007 -0400

    Make qsort_with_data return a map and avoid import_package/property.

 razor.c |  243
 ++++++++++++++++++++++++++++++--------------------------------
 1 files changed, 118 insertions(+), 125 deletions(-)

commit b08e65cee3f201c695bdd1f16e36ce7a3cde3899
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 13 10:54:13 2007 -0400

    Fix warning.

 razor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 6c32c7b3ab0abc8d2b9e3e7347d562e3a2919d20
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 13 10:51:39 2007 -0400

    Use equality of string pool indices for string equality tests.

 Makefile |    2 +-
 razor.c  |   11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

commit 8a2528fbd9c7e8c774e55848c0649bd719d3cf1c
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 13 10:44:03 2007 -0400

    Add qsort_with_data that let's us pass user data to the compare
    callback.

 razor.c |   78
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 67 insertions(+), 11 deletions(-)

commit 590e5656ecbf11c1b30c4f2967d8150cf5a98e47
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 12 06:53:36 2007 -0400

    Implement package set validation.

 razor.c |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)

commit 3633b8d81b0043d5601942f19bafdcfcb0fd30b7
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 12 06:51:15 2007 -0400

    Make what-requires/provides support versioned queries.

 razor.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

commit b8920dc522ef7f5b3a56f0c811444f173612f112
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 12 05:31:07 2007 -0400

    Clean up writing/reading package sets a bit.

 razor.c |  124
 ++++++++++++++++++++++++++++++---------------------------------
 1 files changed, 59 insertions(+), 65 deletions(-)

commit 203e314eede414559d3dc87bcd87eeeb84b8250c
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Sep 11 19:25:32 2007 -0400

    Implement property (requires/provides) to package mapping.

 TODO	 |   12 ++++
 razor.c |  217
 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 192 insertions(+), 37 deletions(-)

commit dbd356d641f3d3266e0261ff4a4440733820b622
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 14:15:42 2007 -0400

    Refactor razor_set_write() a bit and stop writing the buckets section.

 razor.c |   81
 ++++++++++++++++++++------------------------------------------
 1 files changed, 26 insertions(+), 55 deletions(-)

commit be7a8cd9188194b6e3dfc73e6cabd992e0e5c28f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 14:00:19 2007 -0400

    Use bsearch instead of hash table when looking up packages.

 razor.c |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)

commit 45a48472fc89f453fe395d1ad1f60bd08c6e8660
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 13:48:42 2007 -0400

    Add import feature for yum primary.xml files.

 razor.c |  139
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 137 insertions(+), 2 deletions(-)

commit c32f9b0100676b65ad16dc3269e7cdf774af5341
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 12:11:37 2007 -0400

    Add a size field to the section headers to avoid sentinels.

 razor.c |   29 ++++++++++++-----------------
 1 files changed, 12 insertions(+), 17 deletions(-)

commit 949374188f5578965b7ef231c6c426efd1bb527b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 11:56:04 2007 -0400

    Clean up import logic and make it independent of XML parsing.

 razor.c |  196
 +++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 98 insertions(+), 98 deletions(-)

commit 6b07c8605b856b2330b142f839c10f0bd70e04c8
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 00:09:18 2007 -0400

    Sort on version as second order key for provides and requires.

 razor.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

commit faf6eb29fe4e7cff8937ae89bc3cbe4222580150
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Fri Sep 7 00:08:43 2007 -0400

    Also extract requires and provides versions in import-rpm.sh

 import-rpm.sh |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

commit 564afe9942d07f76982009d4a6341a7456f1204b
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 6 23:31:26 2007 -0400

    Track the requires and provides per package.

 razor.c |  230
 +++++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 186 insertions(+), 44 deletions(-)

commit 0f67fd3f68d85a422ffe82c6e507f0d39e2d0102
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 6 17:01:01 2007 -0400

    Uniqueify requires and provides after import.

 razor.c |  184
 +++++++++++++++++++++++++++++++++++---------------------------
 1 files changed, 104 insertions(+), 80 deletions(-)

commit 309b0933b4512a4c55f7c1c6791e1dcabaa8c798
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Thu Sep 6 15:11:49 2007 -0400

    Also import requires.

    Needs more work though, only 10% of requires are unique.

 TODO	 |   17 ++++++----
 razor.c |  107
 +++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 101 insertions(+), 23 deletions(-)

commit db830cbc888274978aeb10ef0f2769419b2aa0dd
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Wed Sep 5 00:32:09 2007 -0400

    Track provides in the package set.

 razor.c |  101
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 96 insertions(+), 5 deletions(-)

commit ab94d7601b1ed2025395bd9b0126f9185a37b2f4
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Sep 4 23:52:59 2007 -0400

    Factor out array code.

 razor.c |  270
 ++++++++++++++++++++++++++++++---------------------------------
 1 files changed, 130 insertions(+), 140 deletions(-)

commit b594b73abd5c9f8d5eb0939fecafd18fd67b2609
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Tue Sep 4 23:51:06 2007 -0400

    Add idea for representing all files in a package set.

 TODO |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

commit 0806ca72c1ca99dc085570a302bb0baecb62a38a
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Sep 3 23:31:32 2007 -0400

    Cleanup and renaming: hashtable and razor_context combined into
    razor_set.

    It's no longer just a hashtable, it's really a set of packages.

 razor.c |  408
 ++++++++++++++++++++++++++++-----------------------------------
 1 files changed, 183 insertions(+), 225 deletions(-)

commit bdd4478f9e6ff5de31ccffe24a4b9aeeeec70857
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Sep 3 23:13:19 2007 -0400

    Add a simple package list to the repo.

 razor.c |  167
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 158 insertions(+), 9 deletions(-)

commit 65fa49ddd305ead325bf6c36d8859fe168601191
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Sep 3 23:10:25 2007 -0400

    Improve import script to also pull version and release fields.

 import-rpm.sh |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

commit efeed5f811d04c3b106edddace918915d0b84b9f
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Sep 3 14:38:31 2007 -0400

    Add TODO and .gitignore.

 .gitignore |	 7 +++++++
 TODO	    |	37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)

commit 811b2adf3ad5bbdc41c1cff822d653ef271ced75
Author: Kristian Høgsberg <krh@redhat.com>
Date:	Mon Sep 3 14:36:59 2007 -0400

    Initial commit.

 Makefile      |    7 +
 import-rpm.sh |   24 +++
 razor.c       |  495
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sha1.c        |  151 ++++++++++++++++++
 sha1.h        |   45 +++++
 5 files changed, 722 insertions(+), 0 deletions(-)
