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
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