Seth Vidal [Wed, 16 Jan 2008 17:12:44 +0000 (12:12 -0500)]
clean up api to simplify all of the code calling it
probably severely break --split for the moment, though
Seth Vidal [Tue, 15 Jan 2008 18:29:40 +0000 (13:29 -0500)]
make sure we have empty stubs for items in the rpm-format section, older versions of
yum will go bonkers if not.
Seth Vidal [Tue, 15 Jan 2008 15:37:45 +0000 (10:37 -0500)]
- add debug output for database time generation
Seth Vidal [Tue, 15 Jan 2008 15:21:35 +0000 (10:21 -0500)]
- add --skip-stat to skip the stat() call on updates - this is mostly
b/c the fedora createrepo call is done over nfs and that is VERY VERY
slow for 20K stat() calls :(
- fix --pkglist - patch from jesse keating
- document options in --help output
Seth Vidal [Mon, 14 Jan 2008 16:45:02 +0000 (11:45 -0500)]
- add copyright statements and licenses to top of files
- start function to remove all the directory mauling in genpkgmetadata
- fixmes
Seth Vidal [Fri, 11 Jan 2008 21:08:51 +0000 (16:08 -0500)]
return src for arch when it's a srpm
Seth Vidal [Thu, 10 Jan 2008 13:53:52 +0000 (08:53 -0500)]
make sure that files are run through the xml escaping, too.
Seth Vidal [Wed, 9 Jan 2008 17:22:26 +0000 (12:22 -0500)]
update changelog, add changelog target to makefile
Seth Vidal [Wed, 9 Jan 2008 17:02:32 +0000 (12:02 -0500)]
clean up old comments and cruft
Seth Vidal [Wed, 9 Jan 2008 16:27:38 +0000 (11:27 -0500)]
- clean up interface a lot
- add callback interface for progress output
- more proper catching of exceptions
- remove improper sys.exit() calls from the base class
Seth Vidal [Wed, 9 Jan 2008 06:59:23 +0000 (01:59 -0500)]
make --update work correctly - by getting the right item from os.stat() for mtime
Seth Vidal [Wed, 9 Jan 2008 06:50:07 +0000 (01:50 -0500)]
free up memory in the changelog output used by generating the xml node
Seth Vidal [Wed, 9 Jan 2008 04:23:38 +0000 (23:23 -0500)]
clean up a debug output
Seth Vidal [Wed, 9 Jan 2008 03:59:28 +0000 (22:59 -0500)]
fix up a lot of xml creation errors and make --update work again
Seth Vidal [Tue, 8 Jan 2008 20:47:24 +0000 (15:47 -0500)]
bump to 0.9.1
Seth Vidal [Tue, 8 Jan 2008 20:46:12 +0000 (15:46 -0500)]
and a little more utf8'ing - just for completeness and insanity
Seth Vidal [Tue, 8 Jan 2008 20:42:02 +0000 (15:42 -0500)]
utf8 files, too :(
Seth Vidal [Tue, 8 Jan 2008 20:33:49 +0000 (15:33 -0500)]
all of the xml tools suck, this is evidence of them
fall back to the generating the xml via libxml2 for the changelog
hopefully this won't make memory explode
Seth Vidal [Tue, 8 Jan 2008 15:59:47 +0000 (10:59 -0500)]
politely bounce over damaged rpms - output an error report
new errorlog() method - can be easily replaced in subclass
Seth Vidal [Tue, 8 Jan 2008 15:47:12 +0000 (10:47 -0500)]
remove debug prints :)
Seth Vidal [Tue, 8 Jan 2008 15:44:01 +0000 (10:44 -0500)]
make sure that we check for nonexistent items in the hdr
Seth Vidal [Tue, 8 Jan 2008 15:14:43 +0000 (10:14 -0500)]
make it a more proper ts
Seth Vidal [Tue, 8 Jan 2008 14:43:28 +0000 (09:43 -0500)]
try except on package opening
Seth Vidal [Mon, 7 Jan 2008 16:21:23 +0000 (11:21 -0500)]
- clean out old classes from yumbased.py
- clean out debug prints from genpkgmetadata.py
Seth Vidal [Mon, 7 Jan 2008 16:15:30 +0000 (11:15 -0500)]
make the version stuff make sense
Seth Vidal [Mon, 7 Jan 2008 16:12:17 +0000 (11:12 -0500)]
- make rpmbuild work
- mark a fixme
Seth Vidal [Thu, 3 Jan 2008 17:26:45 +0000 (12:26 -0500)]
- port to optionparser from getopt
- redo config class to make use outside of cli more do-able
- handle repomd.xml creation in class, too
- still have a lot of changes to complete
Seth Vidal [Thu, 20 Dec 2007 17:19:18 +0000 (12:19 -0500)]
a little more class-full
Seth Vidal [Thu, 20 Dec 2007 07:18:23 +0000 (02:18 -0500)]
Whew: this is the beginning of a big conversion of createrepo to use the yum modules,
behave more like a modular program and have a proper class structure. It's not done,
but it's a start.
Seth Vidal [Tue, 18 Dec 2007 18:43:28 +0000 (13:43 -0500)]
Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/createrepo/git/createrepo
* 'master' of ssh://login.linux.duke.edu/home/groups/createrepo/git/createrepo:
Update ChangeLog
Remove some unnecessary imports
Better unicode handling in modifyrepo
Add a man page for modifyrepo
Seth Vidal [Tue, 18 Dec 2007 18:43:19 +0000 (13:43 -0500)]
merge maintenance changes up to head before we nuke it from orbit
Luke Macken [Fri, 7 Dec 2007 03:45:54 +0000 (22:45 -0500)]
Update ChangeLog
Luke Macken [Fri, 7 Dec 2007 03:44:41 +0000 (22:44 -0500)]
Remove some unnecessary imports
Luke Macken [Fri, 7 Dec 2007 03:44:24 +0000 (22:44 -0500)]
Better unicode handling in modifyrepo
Luke Macken [Mon, 3 Dec 2007 21:35:22 +0000 (16:35 -0500)]
Add a man page for modifyrepo
Seth Vidal [Wed, 14 Nov 2007 20:16:26 +0000 (15:16 -0500)]
merge pkglist option to HEAD
Seth Vidal [Wed, 8 Aug 2007 19:19:57 +0000 (15:19 -0400)]
update readme, point to better url, clean up explanation
James Bowes [Sun, 1 Jul 2007 14:34:24 +0000 (14:34 +0000)]
Add delta metadata diff and patch script
Paul Nasrat [Thu, 7 Jun 2007 10:31:56 +0000 (10:31 +0000)]
Bump version
Paul Nasrat [Thu, 7 Jun 2007 08:24:47 +0000 (08:24 +0000)]
Prepare for release
Paul Nasrat [Thu, 7 Jun 2007 08:17:46 +0000 (08:17 +0000)]
This patch adds a --update option to createrepo.
https://lists.dulug.duke.edu/pipermail/rpm-metadata/2007-March/000756.html
Patch from Mike Bonnet <mikeb@redhat.com>
Paul Nasrat [Fri, 18 May 2007 15:01:16 +0000 (15:01 +0000)]
Fix for older rpm versions
Christoph Thiel <cthiel@suse.de>
Paul Nasrat [Wed, 16 May 2007 08:05:44 +0000 (08:05 +0000)]
Update ChangeLog
Bump version to 0.4.9
Paul Nasrat [Wed, 16 May 2007 08:02:18 +0000 (08:02 +0000)]
Figure out appropriate dbversion
Jeremy Katz <katzj@redhat.com>
Paul Nasrat [Wed, 16 May 2007 07:59:25 +0000 (07:59 +0000)]
createrepo-0.4.8-cachefix.patch
* changes the way the hashkey for the cache is generated. (The original
version just used rpm.RPMTAG_SIGMD5, which was the same for the same
signed and unsigned package. However, this lead to a wrong checksum
ending up in the metadata.)
Christoph Thiel <cthiel@suse.de>
Paul Nasrat [Wed, 16 May 2007 07:58:49 +0000 (07:58 +0000)]
createrepo-0.4.8-skip-symlinks.patch
* adds an option to skip symlinks (-S, --skip-symlinks)
Christoph Thiel <cthiel@suse.de>
Seth Vidal [Tue, 13 Feb 2007 04:43:13 +0000 (04:43 +0000)]
update changelog, again
Seth Vidal [Tue, 13 Feb 2007 04:40:22 +0000 (04:40 +0000)]
add copying and copying.lib to makefile for 'make archive'
Seth Vidal [Tue, 13 Feb 2007 04:37:56 +0000 (04:37 +0000)]
check in changelog
Seth Vidal [Tue, 13 Feb 2007 04:37:22 +0000 (04:37 +0000)]
and makefile ver
Seth Vidal [Tue, 13 Feb 2007 04:37:11 +0000 (04:37 +0000)]
mark as 0.4.8
Paul Nasrat [Thu, 8 Feb 2007 10:02:03 +0000 (10:02 +0000)]
Add LGPL file
Paul Nasrat [Thu, 8 Feb 2007 10:00:01 +0000 (10:00 +0000)]
Add COPYING
Seth Vidal [Wed, 7 Feb 2007 20:35:01 +0000 (20:35 +0000)]
merge in Christoph Thiel's patch to fix string conversion for odd EVR's
Seth Vidal [Wed, 7 Feb 2007 20:34:05 +0000 (20:34 +0000)]
merge Jesse Keatings' patch to find groups file properly
Seth Vidal [Wed, 7 Feb 2007 06:16:20 +0000 (06:16 +0000)]
ver number in Makefile
Seth Vidal [Tue, 6 Feb 2007 06:12:54 +0000 (06:12 +0000)]
yum-metadata-parser dep and new version number
Seth Vidal [Tue, 6 Feb 2007 06:12:04 +0000 (06:12 +0000)]
update docs for -d
Seth Vidal [Tue, 6 Feb 2007 06:10:51 +0000 (06:10 +0000)]
0.4.7 version number
Seth Vidal [Sun, 4 Feb 2007 20:50:21 +0000 (20:50 +0000)]
make database version listed in repomd
Seth Vidal [Sun, 4 Feb 2007 18:48:35 +0000 (18:48 +0000)]
add dbversion to sqlite metadata in repomd.
Seth Vidal [Sat, 3 Feb 2007 22:07:48 +0000 (22:07 +0000)]
default to max compression
Seth Vidal [Sat, 3 Feb 2007 20:40:58 +0000 (20:40 +0000)]
make the sqlite file names not look stupid
Seth Vidal [Sat, 3 Feb 2007 19:06:24 +0000 (19:06 +0000)]
allow optionally creating compressed sqlite databases
Luke Macken [Sun, 22 Oct 2006 03:00:42 +0000 (03:00 +0000)]
use the mdname for the 'href' element, so it doesn't explode when dealing with xml.dom.minidom.Document objects.
Luke Macken [Sat, 14 Oct 2006 17:26:30 +0000 (17:26 +0000)]
2006-10-14 01:30 lmacken
* Makefile, bin/Makefile, createrepo.spec: Makefile changes for
modifyrepo, and added it to the spec as well.
Luke Macken [Wed, 23 Aug 2006 19:42:47 +0000 (19:42 +0000)]
2006-08-23 15:40 lmacken
* modifyrepo.py, bin/modifyrepo: Initial import
Paul Nasrat [Fri, 11 Aug 2006 20:16:02 +0000 (20:16 +0000)]
Update changelog with cvs2cl
Paul Nasrat [Fri, 11 Aug 2006 20:03:16 +0000 (20:03 +0000)]
update date
Paul Nasrat [Fri, 11 Aug 2006 20:01:38 +0000 (20:01 +0000)]
Patch from Hans-Peter Jansen <hpj@urpla.net>
-C, --checkts option added to avoid metadata generation, if ctime
filestamps are up to date. It's currently mutually exclusive with
the --split option.
Paul Nasrat [Fri, 28 Jul 2006 19:49:29 +0000 (19:49 +0000)]
Fix cache output dir to 0.4.5 behaviour
Paul Nasrat [Fri, 28 Jul 2006 19:42:41 +0000 (19:42 +0000)]
Fix filtering out path from file list and passing correct path to writeMetaData
Paul Nasrat [Fri, 28 Jul 2006 19:35:10 +0000 (19:35 +0000)]
nuke tests for now
Paul Nasrat [Fri, 21 Jul 2006 17:16:02 +0000 (17:16 +0000)]
Bump
Paul Nasrat [Thu, 20 Jul 2006 22:27:51 +0000 (22:27 +0000)]
Make splitmetadata handler do it' own getFileList to correctly manipulate paths.
Paul Nasrat [Thu, 20 Jul 2006 22:22:31 +0000 (22:22 +0000)]
Improve tests for split cases
Paul Nasrat [Thu, 20 Jul 2006 21:15:36 +0000 (21:15 +0000)]
duplicate for split tests
Paul Nasrat [Thu, 20 Jul 2006 21:02:38 +0000 (21:02 +0000)]
More consistent naming
Relative and parallel dir testing
Paul Nasrat [Thu, 20 Jul 2006 20:34:46 +0000 (20:34 +0000)]
Refactor tests, add additional tests
Paul Nasrat [Thu, 20 Jul 2006 20:09:44 +0000 (20:09 +0000)]
Start unit testing so we don't regress behaviour
Paul Nasrat [Thu, 20 Jul 2006 17:33:18 +0000 (17:33 +0000)]
Set outputdir correctly
Paul Nasrat [Thu, 20 Jul 2006 17:20:24 +0000 (17:20 +0000)]
Move to split basedir and directory everywhere to preserve command line paths.
Use os.path.walk rather than our own implementation
Improve error messages
Paul Nasrat [Wed, 19 Jul 2006 19:43:44 +0000 (19:43 +0000)]
genpkgmetadata.py
Paul Nasrat [Wed, 19 Jul 2006 19:43:44 +0000 (19:43 +0000)]
Consistent directory handling and errors
Paul Nasrat [Wed, 19 Jul 2006 19:25:08 +0000 (19:25 +0000)]
Patch from hpj@urpla.net to use a more robust rpm header signature retrieval
method for cache files, as recommended by Jeff Johnson.
Luke Macken [Wed, 19 Jul 2006 18:26:16 +0000 (18:26 +0000)]
2006-07-19 14:23 lmacken
* createrepo.spec: remove python-urlgrabber dependency
Paul Nasrat [Wed, 19 Jul 2006 12:29:47 +0000 (12:29 +0000)]
Tolerate unknown files in repodata dirs - Ville Skyttä
Paul Nasrat [Wed, 19 Jul 2006 11:44:05 +0000 (11:44 +0000)]
fix up relative paths (#199228)
Paul Nasrat [Fri, 30 Jun 2006 12:53:36 +0000 (12:53 +0000)]
Fix srpm detection for rpm-4.4.6 and later
Seth Vidal [Mon, 26 Jun 2006 15:03:25 +0000 (15:03 +0000)]
overwrite changelog
Luke Macken [Thu, 15 Jun 2006 15:39:44 +0000 (15:39 +0000)]
2006-06-15 11:40 lmacken
* genpkgmetadata.py, docs/createrepo.8:
Revert --update-info-location patch, since yum now supports arbitrary
metadata via YumRepository::retrieveMD()
Seth Vidal [Fri, 9 Jun 2006 13:49:44 +0000 (13:49 +0000)]
include Panu's patch to support --noepoch for use with old versions of rpm
Seth Vidal [Fri, 9 Jun 2006 13:47:38 +0000 (13:47 +0000)]
fix the dep
Seth Vidal [Fri, 9 Jun 2006 13:46:29 +0000 (13:46 +0000)]
fix versions and bump by one.
Thanks to Gareth Armstrong for noticing this.
Paul Nasrat [Sat, 4 Mar 2006 06:30:27 +0000 (06:30 +0000)]
add changelog
Paul Nasrat [Sat, 4 Mar 2006 06:28:01 +0000 (06:28 +0000)]
release
Paul Nasrat [Tue, 21 Feb 2006 23:30:26 +0000 (23:30 +0000)]
Documentation and version updates
Paul Nasrat [Tue, 21 Feb 2006 20:10:08 +0000 (20:10 +0000)]
Enable seperate outputdir (dgregor)
Luke Macken [Sat, 18 Feb 2006 02:22:00 +0000 (02:22 +0000)]
Add support for -U (--update-info-location) flag to query a specified server
for package update metadata. The metadata will currently be stored in
'repodata/update-info' and each package in the primary.xml will have
an <update id="FEDORA-XXXX-XX" location="update-info/pkg-ver-rel.xml"/> tag
which points to it's corresponding update information.
Seth Vidal [Fri, 13 Jan 2006 06:24:50 +0000 (06:24 +0000)]
apply two patches from dgregor@redhat.com
- verifies that the checksum cache file is more recent than the
corresponding rpm
- move around cmds dict initialization to make it more consistent.