tools/createrepo.git
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.

19 years agoFix cachedir/groupfile handling with --basedir and using paths not
Paul Nasrat [Thu, 8 Dec 2005 19:25:39 +0000 (19:25 +0000)]
Fix cachedir/groupfile handling with --basedir and using paths not
relative to cwd when run without --basedir.

19 years agoSupport --split option to label media with urls across directories.
Paul Nasrat [Thu, 8 Dec 2005 19:24:22 +0000 (19:24 +0000)]
Support --split option to label media with urls across directories.

19 years agoSplit out processing into smaller methods. Make ts internal. Files and
Paul Nasrat [Thu, 8 Dec 2005 19:22:11 +0000 (19:22 +0000)]
Split out processing into smaller methods.  Make ts internal.  Files and
base/file/other data attributes.

19 years agoCleanup of generator class to use cmds internally as an attribute.
Paul Nasrat [Thu, 8 Dec 2005 19:21:33 +0000 (19:21 +0000)]
Cleanup of generator class to use cmds internally as an attribute.

19 years agoInitial work to form metadata generator class.
Paul Nasrat [Thu, 8 Dec 2005 19:19:51 +0000 (19:19 +0000)]
Initial work to form metadata generator class.

19 years agospeed up by caching file mode lookup by Dennis Gregorovic
Seth Vidal [Sun, 27 Nov 2005 23:01:01 +0000 (23:01 +0000)]
speed up by caching file mode lookup by Dennis Gregorovic

19 years agoEnable basedir to be used - dgregor
Paul Nasrat [Fri, 11 Nov 2005 21:03:40 +0000 (21:03 +0000)]
Enable basedir to be used - dgregor

19 years agopatch from Christoph Thiel to make it work on suse 9.3 and to allow for non
Seth Vidal [Wed, 2 Nov 2005 20:23:56 +0000 (20:23 +0000)]
patch from Christoph Thiel to make it work on suse 9.3 and to allow for non
absolute-path cache dirs.

19 years agoturn off all signature checking when reading in headers
Seth Vidal [Thu, 11 Aug 2005 21:09:12 +0000 (21:09 +0000)]
turn off all signature checking when reading in headers

19 years agodocument that the -g option is for a file relative to the directory you are
Seth Vidal [Sun, 24 Jul 2005 23:54:08 +0000 (23:54 +0000)]
document that the -g option is for a file relative to the directory you are
creating the repository for.

19 years agoman page for cachedir
Seth Vidal [Thu, 14 Jul 2005 06:34:38 +0000 (06:34 +0000)]
man page for cachedir

19 years ago0.4.3
Seth Vidal [Thu, 14 Jul 2005 06:31:25 +0000 (06:31 +0000)]
0.4.3

19 years ago- disable the checksum flag - default and only use sha1sum's
Seth Vidal [Mon, 11 Jul 2005 05:45:15 +0000 (05:45 +0000)]
- disable the checksum flag - default and only use sha1sum's
- add in -c,--cachedir option to setup a cachedir for the cache files of the
checksums of the packages. Uses name-hdrid from the package hdr as
filenames. Contents of the file is a single line of the package's checksum.
This dramatically speeds up rebuilding a repository's metadata b/c the
checksum of the package file was the item taking the most time.

20 years agoApply Arun Bhanu's patch to add in --quiet and --verbose options instead of
Seth Vidal [Sun, 29 May 2005 03:14:15 +0000 (03:14 +0000)]
Apply Arun Bhanu's patch to add in --quiet and --verbose options instead of
just -q and -v

20 years agofix mandir path for docs
Seth Vidal [Wed, 30 Mar 2005 05:32:51 +0000 (05:32 +0000)]
fix mandir path for docs

20 years agofix the Makefiles, f'real
Seth Vidal [Tue, 18 Jan 2005 07:14:51 +0000 (07:14 +0000)]
fix the Makefiles, f'real

20 years agoreal commit
Seth Vidal [Tue, 18 Jan 2005 06:59:07 +0000 (06:59 +0000)]
real commit

20 years agoadding man page and upating the Makefiles and specfile accordingly.
Seth Vidal [Tue, 18 Jan 2005 06:58:44 +0000 (06:58 +0000)]
adding man page and upating the Makefiles and specfile accordingly.
Thanks Bob Kashani for the man page.

20 years agoneed to seek to the beginning before doing a new read operation.
Seth Vidal [Tue, 18 Jan 2005 06:24:05 +0000 (06:24 +0000)]
need to seek to the beginning before doing a new read operation.

20 years agospec and Makefile to 0.4.2
Seth Vidal [Mon, 17 Jan 2005 07:52:43 +0000 (07:52 +0000)]
spec and Makefile to 0.4.2

20 years agomove around gzipOpen for use in another program
Seth Vidal [Mon, 17 Jan 2005 07:52:06 +0000 (07:52 +0000)]
move around gzipOpen for use in another program
relabel 0.4.2

20 years agosingle open for all file operations. about a 30% time savings.
Seth Vidal [Fri, 7 Jan 2005 21:39:47 +0000 (21:39 +0000)]
single open for all file operations. about a 30% time savings.

20 years agosmall fix for --exclude to work.
Seth Vidal [Tue, 2 Nov 2004 05:55:18 +0000 (05:55 +0000)]
small fix for --exclude to work.
-x works, but --exclude didn't, now it is fixed

20 years agoupdate version numbers
Seth Vidal [Thu, 21 Oct 2004 07:42:37 +0000 (07:42 +0000)]
update version numbers

20 years agoproblem with ghost entries not showing up in primary.xml even if they matched
Seth Vidal [Thu, 21 Oct 2004 07:40:45 +0000 (07:40 +0000)]
problem with ghost entries not showing up in primary.xml even if they matched
the regex strings.