Seth Vidal [Wed, 17 Jun 2009 16:44:39 +0000 (12:44 -0400)]
more/better output about makedeltarpm timing
Seth Vidal [Wed, 17 Jun 2009 16:05:15 +0000 (12:05 -0400)]
output how long it took to make the drpm file
Seth Vidal [Tue, 16 Jun 2009 19:24:03 +0000 (15:24 -0400)]
- prestodelta.xml file generation is now roughly 60X faster than it was before
- python unicode string concatenation sucks, a lot.
- add a delta xml generation profile output
- get rid of some incorrect output about db files and delta metadata
- get rid of some old not-useful comments in the code
James Antill [Thu, 14 May 2009 17:02:57 +0000 (13:02 -0400)]
Make the UI for --checksum a bit nicer
James Antill [Thu, 14 May 2009 14:03:23 +0000 (10:03 -0400)]
Fix -profile in man page, to be --profile
James Antill [Thu, 14 May 2009 14:02:40 +0000 (10:02 -0400)]
Add some more documentation about --checksum
James Antill [Wed, 13 May 2009 22:36:50 +0000 (18:36 -0400)]
Add open-size and size fo *_db MD. Fix file to stat for *.xml.gz size
James Antill [Wed, 13 May 2009 19:39:57 +0000 (15:39 -0400)]
Merge branch 'master' of ssh://yum.baseurl.org/srv/projects/createrepo/git/createrepo
* 'master' of ssh://yum.baseurl.org/srv/projects/createrepo/git/createrepo:
if our deltarpm dir doesn't exist, don't go looking for it - and definitely
Seth Vidal [Fri, 8 May 2009 05:03:50 +0000 (01:03 -0400)]
if our deltarpm dir doesn't exist, don't go looking for it - and definitely
don't traceback
James Antill [Tue, 5 May 2009 16:52:19 +0000 (12:52 -0400)]
Merge branch 'size-in-repomd.xml'
* size-in-repomd.xml:
Add size to the repomd.xml output
Seth Vidal [Fri, 24 Apr 2009 21:07:33 +0000 (17:07 -0400)]
pylint fixes for __init__ - lots of line cleanups and a couple of potential bugs.
Seth Vidal [Fri, 24 Apr 2009 18:50:24 +0000 (14:50 -0400)]
pylint clean up on modifyrepo
Seth Vidal [Fri, 24 Apr 2009 16:26:47 +0000 (12:26 -0400)]
genpkgmetadata.py pylint cleanup.
Seth Vidal [Wed, 22 Apr 2009 18:16:22 +0000 (14:16 -0400)]
if we've not enabled the deltas, don't try to do them.
silly, but harmless in this case
Tim Lauridsen [Tue, 21 Apr 2009 07:24:33 +0000 (09:24 +0200)]
pylint: fixed Uses of a deprecated module 'string'
Tim Lauridsen [Tue, 21 Apr 2009 07:21:20 +0000 (09:21 +0200)]
pylint: fixed Redefining built-in
Tim Lauridsen [Tue, 21 Apr 2009 07:13:06 +0000 (09:13 +0200)]
pylint: fixed unused imports
Tim Lauridsen [Tue, 21 Apr 2009 07:09:05 +0000 (09:09 +0200)]
pylint: fixed Bad indentation
Tim Lauridsen [Tue, 21 Apr 2009 07:06:10 +0000 (09:06 +0200)]
Added the pylint basic and disabled the warning we dont care about
James Antill [Sat, 18 Apr 2009 17:52:51 +0000 (13:52 -0400)]
Fix copy and paste error on message
Seth Vidal [Fri, 17 Apr 2009 20:21:49 +0000 (16:21 -0400)]
make sure our sumtype specified propagates down to the pkg checksums, too
Seth Vidal [Fri, 17 Apr 2009 18:34:40 +0000 (14:34 -0400)]
set a max size option so we don't kill systems with < memory than deltarpm likes to use.
James Antill [Fri, 17 Apr 2009 18:22:49 +0000 (14:22 -0400)]
Use the same checksum type for the key, as for the data in the key
Seth Vidal [Thu, 16 Apr 2009 16:05:31 +0000 (12:05 -0400)]
remove the deprecation notice since: 1. it works fine 2. there is a legit use for it
Seth Vidal [Thu, 16 Apr 2009 16:04:21 +0000 (12:04 -0400)]
document the deltarpm options
Seth Vidal [Wed, 15 Apr 2009 18:47:29 +0000 (14:47 -0400)]
it helps to have the right order of items in the pkgtup :(
Seth Vidal [Wed, 15 Apr 2009 15:39:24 +0000 (11:39 -0400)]
quiet down output
Seth Vidal [Wed, 15 Apr 2009 15:13:21 +0000 (11:13 -0400)]
make sure we don't try to sqlite the prestodelta xml, yet.
Seth Vidal [Wed, 15 Apr 2009 14:34:18 +0000 (10:34 -0400)]
add missing '>'
Seth Vidal [Mon, 13 Apr 2009 18:03:10 +0000 (14:03 -0400)]
make sure the checksum type we use is being used everywhere.
closes rhbug: https://bugzilla.redhat.com/show_bug.cgi?id=494951
Seth Vidal [Tue, 24 Mar 2009 20:41:06 +0000 (16:41 -0400)]
changelog merge
Seth Vidal [Tue, 24 Mar 2009 20:40:45 +0000 (16:40 -0400)]
0.9.7
require yum 3.2.22
Seth Vidal [Mon, 9 Feb 2009 23:20:53 +0000 (18:20 -0500)]
when we process the rpms only do the drpm creation.
after we're done take the drpms and generate the metadata from there
Seth Vidal [Tue, 3 Feb 2009 22:54:32 +0000 (17:54 -0500)]
some fixes and to make it work on rhel5/python2.4
Seth Vidal [Tue, 3 Feb 2009 14:08:25 +0000 (09:08 -0500)]
and one more mistake
Seth Vidal [Tue, 3 Feb 2009 14:06:30 +0000 (09:06 -0500)]
correct tabbing so createrepo works when you're NOT using deltas
Seth Vidal [Thu, 29 Jan 2009 15:11:32 +0000 (10:11 -0500)]
add --num-deltas option
Seth Vidal [Thu, 29 Jan 2009 05:58:00 +0000 (00:58 -0500)]
Merge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git/createrepo
* 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git/createrepo:
Add missing documentation on --checksum and --profile
Seth Vidal [Thu, 29 Jan 2009 05:55:57 +0000 (00:55 -0500)]
--deltas, enable the creation and metadata-creation for presto/deltarpms
James Antill [Tue, 27 Jan 2009 17:19:38 +0000 (12:19 -0500)]
Merge branch 'master' of ssh://yum.baseurl.org/srv/projects/createrepo/git/createrepo
* 'master' of ssh://yum.baseurl.org/srv/projects/createrepo/git/createrepo:
make modifyrepo behave with sha256 as the default checksum
James Antill [Tue, 27 Jan 2009 17:19:31 +0000 (12:19 -0500)]
Add missing documentation on --checksum and --profile
Seth Vidal [Tue, 27 Jan 2009 16:20:54 +0000 (11:20 -0500)]
make modifyrepo behave with sha256 as the default checksum
Seth Vidal [Mon, 26 Jan 2009 15:30:05 +0000 (10:30 -0500)]
make sha256 the default checksum type everywhere
Seth Vidal [Fri, 23 Jan 2009 22:27:22 +0000 (17:27 -0500)]
add init options to specify your own yumbase object, mdconf object md generator class
Seth Vidal [Thu, 22 Jan 2009 21:33:19 +0000 (16:33 -0500)]
make sure we keep working on python 2.4 :(
Seth Vidal [Thu, 22 Jan 2009 21:29:06 +0000 (16:29 -0500)]
use gzip.name not gzip.filename to avoid python 2.6 deprecation warnings
Seth Vidal [Thu, 22 Jan 2009 21:22:20 +0000 (16:22 -0500)]
get rid of the md5 badness - use yum's Checksum class so we don't have to deal
with python 2.4 vs 2.6isms
Seth Vidal [Thu, 22 Jan 2009 16:30:08 +0000 (11:30 -0500)]
add --profile option to the cli interface so profile info is outputted
only when it is used.
James Antill [Mon, 19 Jan 2009 14:52:32 +0000 (09:52 -0500)]
Use correct cachedir after rename
Seth Vidal [Wed, 17 Dec 2008 21:49:01 +0000 (16:49 -0500)]
allow alternative path for --update via --update-md-path, So your old repodata
does not have to be in the path you want to look through.
Seth Vidal [Wed, 29 Oct 2008 03:27:03 +0000 (23:27 -0400)]
try/excepts on modifyrepo so we don't smack the user with a traceback
Seth Vidal [Tue, 28 Oct 2008 19:57:59 +0000 (15:57 -0400)]
remerge changelog
Seth Vidal [Tue, 28 Oct 2008 19:35:42 +0000 (15:35 -0400)]
minor changes to the make file so that it will make a proper archive :)
Seth Vidal [Mon, 27 Oct 2008 21:30:16 +0000 (17:30 -0400)]
merge changelog
Seth Vidal [Thu, 23 Oct 2008 20:47:41 +0000 (16:47 -0400)]
allow already-compressed metadata files to work and not be double-compressed
Seth Vidal [Tue, 21 Oct 2008 19:33:51 +0000 (15:33 -0400)]
mergerepo man page
todos added to mergerepo
Seth Vidal [Tue, 21 Oct 2008 18:35:19 +0000 (14:35 -0400)]
Merge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git/createrepo
* 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git/createrepo:
Change the NamedTemporaryFile() usage to mkstemp(), stupid API
Fix parallel updates to the cachedir, thx to Michael Schwendt for spotting it
Seth Vidal [Tue, 21 Oct 2008 18:22:12 +0000 (14:22 -0400)]
- document --content, --distro and --revision
- update urls in spec and docs
- add Authors file
Seth Vidal [Fri, 17 Oct 2008 20:23:48 +0000 (16:23 -0400)]
add merge repo here, too
Seth Vidal [Fri, 17 Oct 2008 20:04:43 +0000 (16:04 -0400)]
pylintian cleanups
Seth Vidal [Fri, 17 Oct 2008 19:56:16 +0000 (15:56 -0400)]
bump version to 0.9.6 - change the dep to yum 3.2.20 - since it is
what WILL be needed
Seth Vidal [Fri, 17 Oct 2008 19:54:19 +0000 (15:54 -0400)]
add mergerepo
Seth Vidal [Fri, 17 Oct 2008 19:31:31 +0000 (15:31 -0400)]
add arbitrary metadata to config options for api callers
James Antill [Thu, 9 Oct 2008 17:42:39 +0000 (13:42 -0400)]
Change the NamedTemporaryFile() usage to mkstemp(), stupid API
James Antill [Wed, 8 Oct 2008 16:42:24 +0000 (12:42 -0400)]
Fix parallel updates to the cachedir, thx to Michael Schwendt for spotting it
Seth Vidal [Mon, 15 Sep 2008 20:45:39 +0000 (16:45 -0400)]
bump the yum requirement to 3.2.19..
Seth Vidal [Mon, 15 Sep 2008 20:43:56 +0000 (16:43 -0400)]
remove unused utf8String function from utils - move most of it into yum.misc
Seth Vidal [Fri, 12 Sep 2008 18:36:51 +0000 (14:36 -0400)]
make the profile option work again
Seth Vidal [Wed, 13 Aug 2008 16:25:16 +0000 (12:25 -0400)]
remove most of the yumbased code, disable database-only for now
James Antill [Fri, 8 Aug 2008 19:49:56 +0000 (15:49 -0400)]
Add size to the repomd.xml output
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.
James Antill [Tue, 17 Jun 2008 05:23:19 +0000 (01:23 -0400)]
Add missing doc. for --skip-stat option
Seth Vidal [Thu, 5 Jun 2008 16:06:04 +0000 (12:06 -0400)]
some fixmes and starts - and recommit a working --database-only
James Antill [Mon, 12 May 2008 12:49:39 +0000 (08:49 -0400)]
Remove -n option, it's a noop atm. anyway
James Antill [Mon, 12 May 2008 12:48:17 +0000 (08:48 -0400)]
Pass just dir. to getFileList(), makes -C work. Fixes bug#446040
James Antill [Wed, 16 Apr 2008 15:22:40 +0000 (11:22 -0400)]
Talk to libxml maintainer ... tweak
James Antill [Wed, 16 Apr 2008 14:34:10 +0000 (10:34 -0400)]
Just remove bad small bytes, like 0x01 atm.
James Antill [Wed, 2 Apr 2008 14:00:53 +0000 (10:00 -0400)]
Add some missing options to man page
Seth Vidal [Tue, 11 Mar 2008 21:17:16 +0000 (17:17 -0400)]
a few tweaks to speed up the database creation
Seth Vidal [Tue, 11 Mar 2008 20:18:19 +0000 (16:18 -0400)]
more or less complete createrepo --database-only
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
Seth Vidal [Mon, 3 Mar 2008 16:35:47 +0000 (11:35 -0500)]
better name for node
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
James Antill [Fri, 29 Feb 2008 21:12:32 +0000 (16:12 -0500)]
Fix line overflow, minor IO optimisation
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.
Seth Vidal [Mon, 18 Feb 2008 20:29:08 +0000 (15:29 -0500)]
merge changelog
Seth Vidal [Mon, 18 Feb 2008 18:18:53 +0000 (13:18 -0500)]
bump version numbers
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
Seth Vidal [Wed, 13 Feb 2008 20:48:52 +0000 (15:48 -0500)]
raise, don't print
Luke Macken [Tue, 12 Feb 2008 21:28:45 +0000 (16:28 -0500)]
Clean up some more unused modules
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
Luke Macken [Tue, 12 Feb 2008 21:27:04 +0000 (16:27 -0500)]
Pull in createrepo.utils.errorprint in our __init__ module.
Luke Macken [Tue, 12 Feb 2008 21:26:22 +0000 (16:26 -0500)]
Import shutil since we use it in createrepo.__init__
Luke Macken [Tue, 12 Feb 2008 21:25:57 +0000 (16:25 -0500)]
s/conf.checkts/self.conf.checkts/
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.
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
Seth Vidal [Wed, 30 Jan 2008 20:51:39 +0000 (15:51 -0500)]
changelog merge
Seth Vidal [Tue, 29 Jan 2008 15:06:12 +0000 (10:06 -0500)]
make sure things work out as the right default
Seth Vidal [Tue, 29 Jan 2008 04:07:30 +0000 (23:07 -0500)]
bump ver to 0.9.4 in spec and module
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