tools/createrepo.git
16 years agominor changes for handling a packagesack and/or list of package objects as the pkglis...
Seth Vidal [Fri, 8 Aug 2008 19:40:46 +0000 (15:40 -0400)]
minor changes for handling a packagesack and/or list of package objects as the pkglist to create
the repo from also rename the xml_dump functions - eventually going to remove them.

17 years agoAdd missing doc. for --skip-stat option
James Antill [Tue, 17 Jun 2008 05:23:19 +0000 (01:23 -0400)]
Add missing doc. for --skip-stat option

17 years agosome fixmes and starts - and recommit a working --database-only
Seth Vidal [Thu, 5 Jun 2008 16:06:04 +0000 (12:06 -0400)]
some fixmes and starts - and recommit a working --database-only

17 years agoRemove -n option, it's a noop atm. anyway
James Antill [Mon, 12 May 2008 12:49:39 +0000 (08:49 -0400)]
Remove -n option, it's a noop atm. anyway

17 years agoPass just dir. to getFileList(), makes -C work. Fixes bug#446040
James Antill [Mon, 12 May 2008 12:48:17 +0000 (08:48 -0400)]
Pass just dir. to getFileList(), makes -C work. Fixes bug#446040

17 years agoTalk to libxml maintainer ... tweak
James Antill [Wed, 16 Apr 2008 15:22:40 +0000 (11:22 -0400)]
Talk to libxml maintainer ... tweak

17 years agoJust remove bad small bytes, like 0x01 atm.
James Antill [Wed, 16 Apr 2008 14:34:10 +0000 (10:34 -0400)]
Just remove bad small bytes, like 0x01 atm.

17 years agoAdd some missing options to man page
James Antill [Wed, 2 Apr 2008 14:00:53 +0000 (10:00 -0400)]
Add some missing options to man page

17 years agoa few tweaks to speed up the database creation
Seth Vidal [Tue, 11 Mar 2008 21:17:16 +0000 (17:17 -0400)]
a few tweaks to speed up the database creation

17 years agomore or less complete createrepo --database-only
Seth Vidal [Tue, 11 Mar 2008 20:18:19 +0000 (16:18 -0400)]
more or less complete createrepo --database-only

17 years ago- partial patch to enable --database-only output from createrepo
Seth Vidal [Tue, 11 Mar 2008 05:33:28 +0000 (01:33 -0400)]
- partial patch to enable --database-only output from createrepo
- still to implement filelists direct to sqlite, changelogs direct to sqlite
- this check in is just a hedge against loss from my laptop, do not use the feature in this commit

17 years agobetter name for node
Seth Vidal [Mon, 3 Mar 2008 16:35:47 +0000 (11:35 -0500)]
better name for node

17 years agoexclude rpmlib requires from metadata b/c they are silly
Seth Vidal [Mon, 3 Mar 2008 15:58:52 +0000 (10:58 -0500)]
exclude rpmlib requires from metadata b/c they are silly
store them in the repomd.xml per-repo so we have them if we ever actually need them

17 years agoFix line overflow, minor IO optimisation
James Antill [Fri, 29 Feb 2008 21:12:32 +0000 (16:12 -0500)]
Fix line overflow, minor IO optimisation

17 years agoallow --pkglist or self.conf.pkglist to be a list of arbitrary
Seth Vidal [Wed, 20 Feb 2008 20:22:49 +0000 (15:22 -0500)]
allow --pkglist or self.conf.pkglist to be a list of arbitrary
urls to packages. createrepo will download the remote urls to
a tempdir, read them in and add them to the metadata.

17 years agomerge changelog
Seth Vidal [Mon, 18 Feb 2008 20:29:08 +0000 (15:29 -0500)]
merge changelog

17 years agobump version numbers
Seth Vidal [Mon, 18 Feb 2008 18:18:53 +0000 (13:18 -0500)]
bump version numbers

17 years ago- clean up some garbage spaces and an extra 'return'
Seth Vidal [Mon, 18 Feb 2008 18:09:39 +0000 (13:09 -0500)]
- clean up some garbage spaces and an extra 'return'
- write some notes on something interesting to do for completely arbitrary
  repositories
- make sure that under no circumstances will a package that we
  cannot get a pkgid/checksum from will be in the metadata. And it will
  output an error message

17 years agoraise, don't print
Seth Vidal [Wed, 13 Feb 2008 20:48:52 +0000 (15:48 -0500)]
raise, don't print

17 years agoClean up some more unused modules
Luke Macken [Tue, 12 Feb 2008 21:28:45 +0000 (16:28 -0500)]
Clean up some more unused modules

17 years agoIf we want to use MDError in utils.py, we need to define it outside of __init__ to...
Luke Macken [Tue, 12 Feb 2008 21:28:15 +0000 (16:28 -0500)]
If we want to use MDError in utils.py, we need to define it outside of __init__ to avoid circular deps

17 years agoPull in createrepo.utils.errorprint in our __init__ module.
Luke Macken [Tue, 12 Feb 2008 21:27:04 +0000 (16:27 -0500)]
Pull in createrepo.utils.errorprint in our __init__ module.

17 years agoImport shutil since we use it in createrepo.__init__
Luke Macken [Tue, 12 Feb 2008 21:26:22 +0000 (16:26 -0500)]
Import shutil since we use it in createrepo.__init__

17 years agos/conf.checkts/self.conf.checkts/
Luke Macken [Tue, 12 Feb 2008 21:25:57 +0000 (16:25 -0500)]
s/conf.checkts/self.conf.checkts/

17 years agoRemove a bunch of module imports that we aren't using.
Luke Macken [Tue, 12 Feb 2008 21:25:15 +0000 (16:25 -0500)]
Remove a bunch of module imports that we aren't using.
One of which being 'hashlib', which prevents createrepo from running on anything by Python 2.5.

17 years ago- make sure group files are compressed/sha-named
Seth Vidal [Fri, 1 Feb 2008 00:14:34 +0000 (19:14 -0500)]
- make sure group files are compressed/sha-named
- add group_gz section for compressed group file
- add addArbitraryMetadata() method to MetaDataGenerator class
- fix up modifyrepo to generate sha-named files
- make modifyrepo act a bit more like createrepo for its operations

17 years agochangelog merge
Seth Vidal [Wed, 30 Jan 2008 20:51:39 +0000 (15:51 -0500)]
changelog merge

17 years agomake sure things work out as the right default
Seth Vidal [Tue, 29 Jan 2008 15:06:12 +0000 (10:06 -0500)]
make sure things work out as the right default

17 years agobump ver to 0.9.4 in spec and module
Seth Vidal [Tue, 29 Jan 2008 04:07:30 +0000 (23:07 -0500)]
bump ver to 0.9.4 in spec and module

17 years agomake sure non-unique-md-filenanmes-repos cleanup sqlite files
Seth Vidal [Tue, 29 Jan 2008 02:50:58 +0000 (21:50 -0500)]
make sure non-unique-md-filenanmes-repos cleanup sqlite files
if we switch to unique-md-filenames

17 years agoclean up old versions of primary, filelists and other that are lingering in
Seth Vidal [Tue, 29 Jan 2008 02:48:34 +0000 (21:48 -0500)]
clean up old versions of primary, filelists and other that are lingering in
the repodata dir due to sha1-addition

17 years agoswap around the filename creation order so it doesn't make leaves files around
Seth Vidal [Tue, 29 Jan 2008 02:37:22 +0000 (21:37 -0500)]
swap around the filename creation order so it doesn't make leaves files around

17 years agomake readMetadata.py take its metadata file locations from
Seth Vidal [Tue, 29 Jan 2008 02:28:17 +0000 (21:28 -0500)]
make readMetadata.py take its metadata file locations from
repomd.xml using the yum parser for it.
complete --unique-md-filenames implementation

17 years agopart of --unique-md-filenames is complete. This lets createrepo
Seth Vidal [Mon, 28 Jan 2008 21:57:37 +0000 (16:57 -0500)]
part of --unique-md-filenames is complete. This lets createrepo
generate metadata files with the file's checksum included in the
filename. This helps it work more nicely with proxies. --update support will not
work with --unique-md-filenames at the moment. Need to read in repomd.xml to make that
work.

17 years agochangelog merge
Seth Vidal [Tue, 22 Jan 2008 19:04:58 +0000 (14:04 -0500)]
changelog merge

17 years ago0.9.3
Seth Vidal [Tue, 22 Jan 2008 19:04:33 +0000 (14:04 -0500)]
0.9.3

17 years agoadd changelog-limit option to restrict the number of changelogs we add, by default
Seth Vidal [Tue, 22 Jan 2008 17:44:19 +0000 (12:44 -0500)]
add changelog-limit option to restrict the number of changelogs we add, by default

17 years agomake sure empty directories still work
Seth Vidal [Fri, 18 Jan 2008 03:06:04 +0000 (22:06 -0500)]
make sure empty directories still work

17 years agoupdate changelog
Seth Vidal [Thu, 17 Jan 2008 20:44:07 +0000 (15:44 -0500)]
update changelog

17 years agocomment out a debug print
Seth Vidal [Thu, 17 Jan 2008 20:43:28 +0000 (15:43 -0500)]
comment out a debug print

17 years agore-enable --cachedir in code
Seth Vidal [Thu, 17 Jan 2008 20:41:12 +0000 (15:41 -0500)]
re-enable --cachedir in code
fix logic issues in cachedir from 0.4.X

17 years ago- fix more problems with relative paths and --split
Seth Vidal [Thu, 17 Jan 2008 19:50:54 +0000 (14:50 -0500)]
- fix more problems with relative paths and --split
- revert cachedir disabling
- cachedir isn't working yet, but it's no longer deprecated due to a use case I hadn't considered.

17 years agomake --update and --split mostly work again
Seth Vidal [Thu, 17 Jan 2008 17:52:36 +0000 (12:52 -0500)]
make --update and --split mostly work again

17 years ago- move a bunch of tests into the base class
Seth Vidal [Thu, 17 Jan 2008 17:48:19 +0000 (12:48 -0500)]
- move a bunch of tests into the base class
- deprecate --cachedir - make it enable --update instead b/c it is MUCH
  faster

17 years agobump version to 0.9.2
Seth Vidal [Thu, 17 Jan 2008 17:28:54 +0000 (12:28 -0500)]
bump version to 0.9.2

17 years agoadd some more correct outputs about the sqlite db generation
Seth Vidal [Thu, 17 Jan 2008 17:22:05 +0000 (12:22 -0500)]
add some more correct outputs about the sqlite db generation

17 years ago--split works again, fix relative paths with ../../
Seth Vidal [Thu, 17 Jan 2008 17:15:24 +0000 (12:15 -0500)]
--split works again, fix relative paths with ../../
curse in the direction of --split and --basedir :(

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