Seth Vidal [Wed, 26 Jan 2011 17:13:19 +0000 (12:13 -0500)]
mark as 0.9.9
Seth Vidal [Wed, 26 Jan 2011 16:27:16 +0000 (11:27 -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:
Override timestamp check on repos. for mergerepo (like repodiff).
Add createrepo --workers (non)completion.
Add modifyrepo option completion.
James Antill [Fri, 21 Jan 2011 16:14:34 +0000 (11:14 -0500)]
Override timestamp check on repos. for mergerepo (like repodiff).
Seth Vidal [Mon, 3 Jan 2011 19:22:26 +0000 (14:22 -0500)]
make sure when we want to look for rpms we say .rpm not rpm b/c with the latter we
catch .drpm files, too. :(
Ville Skyttä [Tue, 2 Nov 2010 21:58:27 +0000 (23:58 +0200)]
Add createrepo --workers (non)completion.
Ville Skyttä [Tue, 2 Nov 2010 21:55:53 +0000 (23:55 +0200)]
Add modifyrepo option completion.
Seth Vidal [Fri, 8 Oct 2010 17:25:57 +0000 (13:25 -0400)]
- add yum 3.2.29 requirement b/c of the small change I needed to repoMDObject.py
- set it to use /usr/share/createrepo/worker.py
Seth Vidal [Thu, 7 Oct 2010 20:43:48 +0000 (16:43 -0400)]
remove libxml2 import from __init__.py :)
Seth Vidal [Thu, 7 Oct 2010 20:42:37 +0000 (16:42 -0400)]
make createrepo use the repomd/repodata mechanism from yum for making a repomd.xml which
simplifies the code dramatically since we don't have to mess with xml in here.
Seth Vidal [Thu, 7 Oct 2010 20:41:51 +0000 (16:41 -0400)]
fix up the usage output for modifyrepo
Seth Vidal [Fri, 10 Sep 2010 20:06:17 +0000 (16:06 -0400)]
- make sure we handle remote_url pkgs correctly until we get the worker hooked up to handle them
- if there are no pkgs to handle, don't launch workers with nothing to do.
- give better output from the workers and have them obey -v/-q
- everyone loves callbacks!
Seth Vidal [Thu, 9 Sep 2010 21:07:06 +0000 (17:07 -0400)]
create a worker script for createrepo so createrepo can
fork off N processes to handle the md gathering from pkgs.
This should speed up results on systems which have been cpubound
on the createrepo process.
If you're io bound it won't help you at all, and MAY make it worse.
many misc issues to iron out here - not the least of which is the
callback output and gathering stdout/stderr from the workers
Seth Vidal [Fri, 20 Aug 2010 16:12:36 +0000 (12:12 -0400)]
handle broken locking on nfs target dirs better if database is true.
- sqlite dbs don't like being made on locations without locking available.
- if we know we're going to be creating dbs then we should attempt to lock before doing
anything else and bail out nicely if we can't get an exclusive lock
Seth Vidal [Thu, 19 Aug 2010 19:36:57 +0000 (15:36 -0400)]
require yum 3.2.28 due to the imports in modifyrepo
Seth Vidal [Thu, 19 Aug 2010 19:36:46 +0000 (15:36 -0400)]
document --mdtype option
Seth Vidal [Thu, 19 Aug 2010 19:35:48 +0000 (15:35 -0400)]
- add option parsing for --mdtype
- use the yum repomd objects to read/write the repomd.xml
- add mdtype option to RepoMetadata.add() method
Seth Vidal [Fri, 11 Jun 2010 14:50:18 +0000 (10:50 -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:
Don't use /usr/bin/env ... it's evil
--database is now the default for mergerepo too, have --no-database in completions instead.
Seth Vidal [Fri, 11 Jun 2010 14:44:40 +0000 (10:44 -0400)]
- add option to createrepo config to collapse libc.so.6 requires
- this will only work with yum 3.2.28 and beyond
James Antill [Thu, 3 Jun 2010 16:07:55 +0000 (12:07 -0400)]
Don't use /usr/bin/env ... it's evil
Ville Skyttä [Wed, 2 Jun 2010 15:02:36 +0000 (18:02 +0300)]
--database is now the default for mergerepo too, have --no-database in completions instead.
Seth Vidal [Tue, 1 Jun 2010 19:01:12 +0000 (15:01 -0400)]
whoops - no-database shouldn't default to true!
Seth Vidal [Tue, 1 Jun 2010 15:06:42 +0000 (11:06 -0400)]
add --no-database to mergrepo, too
Ville Skyttä [Mon, 31 May 2010 20:56:11 +0000 (23:56 +0300)]
--database is now the default, have --no-database in completions instead.
Seth Vidal [Fri, 28 May 2010 19:37:50 +0000 (15:37 -0400)]
update the docs for --no-database
Seth Vidal [Fri, 28 May 2010 19:36:15 +0000 (15:36 -0400)]
make -d/--database the default
add --no-database in case someone somewhere needs to do that
Seth Vidal [Mon, 26 Apr 2010 17:58:52 +0000 (13:58 -0400)]
fixme comments about try/excepting the database creation calls due to a weird
issue with locks not working on a nfs mount and createreepo tracing back
with a TypeError of all things
Seth Vidal [Wed, 21 Apr 2010 17:53:49 +0000 (13:53 -0400)]
if we cannot find one of the old repodata files make the warning look more dire
make sure we look for the 'repodata' subdir inside update_md_path
Seth Vidal [Wed, 21 Apr 2010 16:59:58 +0000 (12:59 -0400)]
when the update_md_path doesn't exist - emit a warning of some kind - rather than a somewhat quieter message from MetadataIndex()
this is mostly to help jesse b/c he asked nicely
Colin Walters [Fri, 16 Apr 2010 19:58:05 +0000 (15:58 -0400)]
if we're not a tty, don't use the progress output
Seth Vidal [Thu, 15 Apr 2010 14:24:27 +0000 (10:24 -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:
Tell git to ignore tarballs.
Document --repo in man page.
Add bash completion.
Seth Vidal [Thu, 15 Apr 2010 14:23:07 +0000 (10:23 -0400)]
- catch errors when moving the olddir out/back
- if we get a yumLocalPackage object in our pkglist we should record we read it.
Ville Skyttä [Fri, 5 Mar 2010 20:30:41 +0000 (22:30 +0200)]
Tell git to ignore tarballs.
Ville Skyttä [Fri, 5 Mar 2010 20:29:01 +0000 (22:29 +0200)]
Document --repo in man page.
Ville Skyttä [Fri, 19 Feb 2010 19:37:35 +0000 (21:37 +0200)]
Add bash completion.
Seth Vidal [Fri, 5 Mar 2010 18:18:32 +0000 (13:18 -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:
Trim trailing whitespace.
Seth Vidal [Fri, 5 Mar 2010 18:11:56 +0000 (13:11 -0500)]
add repo tags and --repo option to describe the repo itself.
request from suse.
Ville Skyttä [Fri, 12 Feb 2010 21:38:13 +0000 (23:38 +0200)]
Trim trailing whitespace.
Seth Vidal [Thu, 11 Feb 2010 15:57:23 +0000 (10:57 -0500)]
add option for setting max-delta-rpm-size for pkgs which are
too large to be delta'd.
Seth Vidal [Wed, 10 Feb 2010 19:34:09 +0000 (14:34 -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:
Make *Emacs unsuspicious about trailing whitespace.
Fix --exclude -> --excludes typo.
Add missing spaces in various help strings.
Seth Vidal [Wed, 10 Feb 2010 19:31:58 +0000 (14:31 -0500)]
add --read-pkgs-list option to output list of pkgs actually read.
completely optional and only really useful with --update or a --cachedir for what
pkgs DID get read/parsed.
Ville Skyttä [Tue, 9 Feb 2010 16:27:44 +0000 (18:27 +0200)]
Make *Emacs unsuspicious about trailing whitespace.
Ville Skyttä [Tue, 9 Feb 2010 16:26:42 +0000 (18:26 +0200)]
Fix --exclude -> --excludes typo.
Ville Skyttä [Tue, 9 Feb 2010 16:25:08 +0000 (18:25 +0200)]
Add missing spaces in various help strings.
Seth Vidal [Mon, 8 Feb 2010 17:12:21 +0000 (12:12 -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 space in --checkts help string.
Ignore *.py[co].
Remove outdated comment about --baseurl.
Seth Vidal [Mon, 8 Feb 2010 17:11:17 +0000 (12:11 -0500)]
- make --unique-md-filenames the default
- add simple-md-filenames to be able to disable the above if desired
Ville Skyttä [Mon, 18 Jan 2010 20:47:18 +0000 (22:47 +0200)]
Add missing space in --checkts help string.
Ville Skyttä [Thu, 24 Sep 2009 21:15:38 +0000 (00:15 +0300)]
Ignore *.py[co].
Ville Skyttä [Mon, 26 Jan 2009 19:28:26 +0000 (21:28 +0200)]
Remove outdated comment about --baseurl.
At least yum uses it nowadays.
Dennis Gregorovic [Thu, 7 Jan 2010 16:50:37 +0000 (11:50 -0500)]
Fixed, convert stat mtime to int so comparison can work, --update, BZ 553030
Dennis Gregorovic [Thu, 7 Jan 2010 05:11:14 +0000 (00:11 -0500)]
Convert stat mtime to int so comparison can work, --update, BZ 553030
Dennis Gregorovic [Wed, 6 Jan 2010 20:26:58 +0000 (15:26 -0500)]
Change baseurl of "old" packages on update, when baseurl specified
Seth Vidal [Mon, 5 Oct 2009 20:13:48 +0000 (16:13 -0400)]
apply fix for https://bugzilla.redhat.com/show_bug.cgi?id=527259
make sure we're not only testing the first pkg. Test all of them until
we find one that is newer.
Seth Vidal [Mon, 14 Sep 2009 20:43:05 +0000 (16:43 -0400)]
add requirement on python-deltarpm for new patch from Bill.
Bill Nottingham [Mon, 14 Sep 2009 20:35:54 +0000 (16:35 -0400)]
createrepo patch to use the new deltarpm python bindings
Seth Vidal [Fri, 28 Aug 2009 16:35:13 +0000 (12:35 -0400)]
changelog merge
Seth Vidal [Fri, 28 Aug 2009 16:34:50 +0000 (12:34 -0400)]
mark as 0.9.8
Seth Vidal [Fri, 28 Aug 2009 13:57:06 +0000 (09:57 -0400)]
add man page entry for -n/--includepkg
Seth Vidal [Tue, 25 Aug 2009 20:04:28 +0000 (16:04 -0400)]
add -n, --includepkg option to allow users to specify urls to pkgs to include
in the repo on the cli - like a fully cli version of --pkglist/-i
Seth Vidal [Tue, 25 Aug 2009 19:44:36 +0000 (15:44 -0400)]
capture ioerror/oserrors on handling metadata files and emit a proper MDError
fixes rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=514995
Seth Vidal [Tue, 18 Aug 2009 15:01:53 +0000 (11:01 -0400)]
commit obviously broken pragma setting fix from mikeb@redhat.com
Seth Vidal [Tue, 21 Jul 2009 13:55:02 +0000 (09:55 -0400)]
fix for https://bugzilla.redhat.com/show_bug.cgi?id=512610
take timestamp of repomd.xml - not of repodata dir - just in case repodata
dir is empty, for some bizarre reason
Seth Vidal [Wed, 17 Jun 2009 17:27:20 +0000 (13:27 -0400)]
remove extra 0 from max_delta_rpm_size
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