tools/createrepo.git
17 years agoclean up api to simplify all of the code calling it
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

17 years agomake sure we have empty stubs for items in the rpm-format section, older versions of
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.

17 years ago- add debug output for database time generation
Seth Vidal [Tue, 15 Jan 2008 15:37:45 +0000 (10:37 -0500)]
- add debug output for database time generation

17 years ago- add --skip-stat to skip the stat() call on updates - this is mostly
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

17 years ago- add copyright statements and licenses to top of files
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

17 years agoreturn src for arch when it's a srpm
Seth Vidal [Fri, 11 Jan 2008 21:08:51 +0000 (16:08 -0500)]
return src for arch when it's a srpm

17 years agomake sure that files are run through the xml escaping, too.
Seth Vidal [Thu, 10 Jan 2008 13:53:52 +0000 (08:53 -0500)]
make sure that files are run through the xml escaping, too.

17 years agoupdate changelog, add changelog target to makefile
Seth Vidal [Wed, 9 Jan 2008 17:22:26 +0000 (12:22 -0500)]
update changelog, add changelog target to makefile

17 years agoclean up old comments and cruft
Seth Vidal [Wed, 9 Jan 2008 17:02:32 +0000 (12:02 -0500)]
clean up old comments and cruft

17 years ago- clean up interface a lot
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

17 years agomake --update work correctly - by getting the right item from os.stat() for mtime
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

17 years agofree up memory in the changelog output used by generating the xml node
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

17 years agoclean up a debug output
Seth Vidal [Wed, 9 Jan 2008 04:23:38 +0000 (23:23 -0500)]
clean up a debug output

17 years agofix up a lot of xml creation errors and make --update work again
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

17 years agobump to 0.9.1
Seth Vidal [Tue, 8 Jan 2008 20:47:24 +0000 (15:47 -0500)]
bump to 0.9.1

17 years agoand a little more utf8'ing - just for completeness and insanity
Seth Vidal [Tue, 8 Jan 2008 20:46:12 +0000 (15:46 -0500)]
and a little more utf8'ing - just for completeness and insanity

17 years agoutf8 files, too :(
Seth Vidal [Tue, 8 Jan 2008 20:42:02 +0000 (15:42 -0500)]
utf8 files, too :(

17 years agoall of the xml tools suck, this is evidence of them
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

17 years agopolitely bounce over damaged rpms - output an error report
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

17 years agoremove debug prints :)
Seth Vidal [Tue, 8 Jan 2008 15:47:12 +0000 (10:47 -0500)]
remove debug prints :)

17 years agomake sure that we check for nonexistent items in the hdr
Seth Vidal [Tue, 8 Jan 2008 15:44:01 +0000 (10:44 -0500)]
make sure that we check for  nonexistent items in the hdr

17 years agomake it a more proper ts
Seth Vidal [Tue, 8 Jan 2008 15:14:43 +0000 (10:14 -0500)]
make it a more proper ts

17 years agotry except on package opening
Seth Vidal [Tue, 8 Jan 2008 14:43:28 +0000 (09:43 -0500)]
try except on package opening

17 years ago- clean out old classes from yumbased.py
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

17 years agomake the version stuff make sense
Seth Vidal [Mon, 7 Jan 2008 16:15:30 +0000 (11:15 -0500)]
make the version stuff make sense

17 years ago- make rpmbuild work
Seth Vidal [Mon, 7 Jan 2008 16:12:17 +0000 (11:12 -0500)]
- make rpmbuild work
- mark a fixme

17 years ago- port to optionparser from getopt
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

17 years agoa little more class-full
Seth Vidal [Thu, 20 Dec 2007 17:19:18 +0000 (12:19 -0500)]
a little more class-full

17 years agoWhew: this is the beginning of a big conversion of createrepo to use the yum modules,
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.

17 years agoMerge branch 'master' of ssh://login.linux.duke.edu/home/groups/createrepo/git/createrepo
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

17 years agomerge maintenance changes up to head before we nuke it from orbit
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

17 years agoUpdate ChangeLog
Luke Macken [Fri, 7 Dec 2007 03:45:54 +0000 (22:45 -0500)]
Update ChangeLog

17 years agoRemove some unnecessary imports
Luke Macken [Fri, 7 Dec 2007 03:44:41 +0000 (22:44 -0500)]
Remove some unnecessary imports

17 years agoBetter unicode handling in modifyrepo
Luke Macken [Fri, 7 Dec 2007 03:44:24 +0000 (22:44 -0500)]
Better unicode handling in modifyrepo

17 years agoAdd a man page for modifyrepo
Luke Macken [Mon, 3 Dec 2007 21:35:22 +0000 (16:35 -0500)]
Add a man page for modifyrepo

17 years agomerge pkglist option to HEAD
Seth Vidal [Wed, 14 Nov 2007 20:16:26 +0000 (15:16 -0500)]
merge pkglist option to HEAD

17 years agoupdate readme, point to better url, clean up explanation
Seth Vidal [Wed, 8 Aug 2007 19:19:57 +0000 (15:19 -0400)]
update readme, point to better url, clean up explanation

17 years agoAdd delta metadata diff and patch script
James Bowes [Sun, 1 Jul 2007 14:34:24 +0000 (14:34 +0000)]
Add delta metadata diff and patch script

18 years agoBump version
Paul Nasrat [Thu, 7 Jun 2007 10:31:56 +0000 (10:31 +0000)]
Bump version

18 years agoPrepare for release
Paul Nasrat [Thu, 7 Jun 2007 08:24:47 +0000 (08:24 +0000)]
Prepare for release

18 years agoThis patch adds a --update option to createrepo.
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>

18 years agoFix for older rpm versions
Paul Nasrat [Fri, 18 May 2007 15:01:16 +0000 (15:01 +0000)]
Fix for older rpm versions
Christoph Thiel <cthiel@suse.de>

18 years agoUpdate ChangeLog
Paul Nasrat [Wed, 16 May 2007 08:05:44 +0000 (08:05 +0000)]
Update ChangeLog
Bump version to 0.4.9

18 years agoFigure out appropriate dbversion
Paul Nasrat [Wed, 16 May 2007 08:02:18 +0000 (08:02 +0000)]
Figure out appropriate dbversion
Jeremy Katz <katzj@redhat.com>

18 years ago createrepo-0.4.8-cachefix.patch
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>

18 years ago createrepo-0.4.8-skip-symlinks.patch
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>

18 years agoupdate changelog, again
Seth Vidal [Tue, 13 Feb 2007 04:43:13 +0000 (04:43 +0000)]
update changelog, again

18 years agoadd copying and copying.lib to makefile for 'make archive'
Seth Vidal [Tue, 13 Feb 2007 04:40:22 +0000 (04:40 +0000)]
add copying and copying.lib to makefile for 'make archive'

18 years agocheck in changelog
Seth Vidal [Tue, 13 Feb 2007 04:37:56 +0000 (04:37 +0000)]
check in changelog

18 years agoand makefile ver
Seth Vidal [Tue, 13 Feb 2007 04:37:22 +0000 (04:37 +0000)]
and makefile ver

18 years agomark as 0.4.8
Seth Vidal [Tue, 13 Feb 2007 04:37:11 +0000 (04:37 +0000)]
mark as 0.4.8

18 years agoAdd LGPL file
Paul Nasrat [Thu, 8 Feb 2007 10:02:03 +0000 (10:02 +0000)]
Add LGPL file

18 years agoAdd COPYING
Paul Nasrat [Thu, 8 Feb 2007 10:00:01 +0000 (10:00 +0000)]
Add COPYING

18 years agomerge in Christoph Thiel's patch to fix string conversion for odd EVR's
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

18 years agomerge Jesse Keatings' patch to find groups file properly
Seth Vidal [Wed, 7 Feb 2007 20:34:05 +0000 (20:34 +0000)]
merge Jesse Keatings' patch to find groups file properly

18 years agover number in Makefile
Seth Vidal [Wed, 7 Feb 2007 06:16:20 +0000 (06:16 +0000)]
ver number in Makefile

18 years agoyum-metadata-parser dep and new version number
Seth Vidal [Tue, 6 Feb 2007 06:12:54 +0000 (06:12 +0000)]
yum-metadata-parser dep and new version number

18 years agoupdate docs for -d
Seth Vidal [Tue, 6 Feb 2007 06:12:04 +0000 (06:12 +0000)]
update docs for -d

18 years ago0.4.7 version number
Seth Vidal [Tue, 6 Feb 2007 06:10:51 +0000 (06:10 +0000)]
0.4.7 version number

18 years agomake database version listed in repomd
Seth Vidal [Sun, 4 Feb 2007 20:50:21 +0000 (20:50 +0000)]
make database version listed in repomd

18 years agoadd dbversion to sqlite metadata in repomd.
Seth Vidal [Sun, 4 Feb 2007 18:48:35 +0000 (18:48 +0000)]
add dbversion to sqlite metadata in repomd.

18 years agodefault to max compression
Seth Vidal [Sat, 3 Feb 2007 22:07:48 +0000 (22:07 +0000)]
default to max compression

18 years agomake the sqlite file names not look stupid
Seth Vidal [Sat, 3 Feb 2007 20:40:58 +0000 (20:40 +0000)]
make the sqlite file names not look stupid

18 years agoallow optionally creating compressed sqlite databases
Seth Vidal [Sat, 3 Feb 2007 19:06:24 +0000 (19:06 +0000)]
allow optionally creating compressed sqlite databases

18 years agouse the mdname for the 'href' element, so it doesn't explode when dealing with xml...
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.

18 years ago2006-10-14 01:30 lmacken
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.

18 years ago2006-08-23 15:40 lmacken
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

18 years agoUpdate changelog with cvs2cl
Paul Nasrat [Fri, 11 Aug 2006 20:16:02 +0000 (20:16 +0000)]
Update changelog with cvs2cl

18 years agoupdate date
Paul Nasrat [Fri, 11 Aug 2006 20:03:16 +0000 (20:03 +0000)]
update date

18 years agoPatch from Hans-Peter Jansen <hpj@urpla.net>
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.

18 years agoFix cache output dir to 0.4.5 behaviour
Paul Nasrat [Fri, 28 Jul 2006 19:49:29 +0000 (19:49 +0000)]
Fix cache output dir to 0.4.5 behaviour

18 years agoFix filtering out path from file list and passing correct path to writeMetaData
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

18 years agonuke tests for now
Paul Nasrat [Fri, 28 Jul 2006 19:35:10 +0000 (19:35 +0000)]
nuke tests for now

18 years agoBump
Paul Nasrat [Fri, 21 Jul 2006 17:16:02 +0000 (17:16 +0000)]
Bump

18 years agoMake splitmetadata handler do it' own getFileList to correctly manipulate paths.
Paul Nasrat [Thu, 20 Jul 2006 22:27:51 +0000 (22:27 +0000)]
Make splitmetadata handler do it' own getFileList to correctly manipulate paths.

18 years agoImprove tests for split cases
Paul Nasrat [Thu, 20 Jul 2006 22:22:31 +0000 (22:22 +0000)]
Improve tests for split cases

18 years agoduplicate for split tests
Paul Nasrat [Thu, 20 Jul 2006 21:15:36 +0000 (21:15 +0000)]
duplicate for split tests

18 years agoMore consistent naming
Paul Nasrat [Thu, 20 Jul 2006 21:02:38 +0000 (21:02 +0000)]
More consistent naming
Relative and parallel dir testing

18 years agoRefactor tests, add additional tests
Paul Nasrat [Thu, 20 Jul 2006 20:34:46 +0000 (20:34 +0000)]
Refactor tests, add additional tests

18 years agoStart unit testing so we don't regress behaviour
Paul Nasrat [Thu, 20 Jul 2006 20:09:44 +0000 (20:09 +0000)]
Start unit testing so we don't regress behaviour

18 years agoSet outputdir correctly
Paul Nasrat [Thu, 20 Jul 2006 17:33:18 +0000 (17:33 +0000)]
Set outputdir correctly

18 years agoMove to split basedir and directory everywhere to preserve command line paths.
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

18 years agogenpkgmetadata.py
Paul Nasrat [Wed, 19 Jul 2006 19:43:44 +0000 (19:43 +0000)]
genpkgmetadata.py

18 years agoConsistent directory handling and errors
Paul Nasrat [Wed, 19 Jul 2006 19:43:44 +0000 (19:43 +0000)]
Consistent directory handling and errors

18 years agoPatch from hpj@urpla.net to use a more robust rpm header signature retrieval
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.

18 years ago2006-07-19 14:23 lmacken
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

18 years agoTolerate unknown files in repodata dirs - Ville Skyttä
Paul Nasrat [Wed, 19 Jul 2006 12:29:47 +0000 (12:29 +0000)]
Tolerate unknown files in repodata dirs - Ville Skyttä

18 years agofix up relative paths (#199228)
Paul Nasrat [Wed, 19 Jul 2006 11:44:05 +0000 (11:44 +0000)]
fix up relative paths (#199228)

18 years agoFix srpm detection for rpm-4.4.6 and later
Paul Nasrat [Fri, 30 Jun 2006 12:53:36 +0000 (12:53 +0000)]
Fix srpm detection for rpm-4.4.6 and later

18 years agooverwrite changelog
Seth Vidal [Mon, 26 Jun 2006 15:03:25 +0000 (15:03 +0000)]
overwrite changelog

19 years ago2006-06-15 11:40 lmacken
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()

19 years agoinclude Panu's patch to support --noepoch for use with old versions of rpm
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

19 years agofix the dep
Seth Vidal [Fri, 9 Jun 2006 13:47:38 +0000 (13:47 +0000)]
fix the dep

19 years agofix versions and bump by one.
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.

19 years agoadd changelog
Paul Nasrat [Sat, 4 Mar 2006 06:30:27 +0000 (06:30 +0000)]
add changelog

19 years agorelease
Paul Nasrat [Sat, 4 Mar 2006 06:28:01 +0000 (06:28 +0000)]
release

19 years agoDocumentation and version updates
Paul Nasrat [Tue, 21 Feb 2006 23:30:26 +0000 (23:30 +0000)]
Documentation and version updates

19 years agoEnable seperate outputdir (dgregor)
Paul Nasrat [Tue, 21 Feb 2006 20:10:08 +0000 (20:10 +0000)]
Enable seperate outputdir (dgregor)

19 years agoAdd support for -U (--update-info-location) flag to query a specified server
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.

19 years agoapply two patches from dgregor@redhat.com
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.