tools/createrepo.git
15 years agoMerge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git...
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.

15 years agoadd repo tags and --repo option to describe the repo itself.
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.

15 years agoTrim trailing whitespace.
Ville Skyttä [Fri, 12 Feb 2010 21:38:13 +0000 (23:38 +0200)]
Trim trailing whitespace.

15 years agoadd option for setting max-delta-rpm-size for pkgs which are
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.

15 years agoMerge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git...
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.

15 years agoadd --read-pkgs-list option to output list of pkgs actually read.
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.

15 years agoMake *Emacs unsuspicious about trailing whitespace.
Ville Skyttä [Tue, 9 Feb 2010 16:27:44 +0000 (18:27 +0200)]
Make *Emacs unsuspicious about trailing whitespace.

15 years agoFix --exclude -> --excludes typo.
Ville Skyttä [Tue, 9 Feb 2010 16:26:42 +0000 (18:26 +0200)]
Fix --exclude -> --excludes typo.

15 years agoAdd missing spaces in various help strings.
Ville Skyttä [Tue, 9 Feb 2010 16:25:08 +0000 (18:25 +0200)]
Add missing spaces in various help strings.

15 years agoMerge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git...
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.

15 years ago- make --unique-md-filenames the default
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

15 years agoAdd missing space in --checkts help string.
Ville Skyttä [Mon, 18 Jan 2010 20:47:18 +0000 (22:47 +0200)]
Add missing space in --checkts help string.

15 years agoIgnore *.py[co].
Ville Skyttä [Thu, 24 Sep 2009 21:15:38 +0000 (00:15 +0300)]
Ignore *.py[co].

15 years agoRemove outdated comment about --baseurl.
Ville Skyttä [Mon, 26 Jan 2009 19:28:26 +0000 (21:28 +0200)]
Remove outdated comment about --baseurl.

At least yum uses it nowadays.

15 years agoFixed, convert stat mtime to int so comparison can work, --update, BZ 553030
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

15 years agoConvert 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

15 years agoChange baseurl of "old" packages on update, when baseurl specified
Dennis Gregorovic [Wed, 6 Jan 2010 20:26:58 +0000 (15:26 -0500)]
Change baseurl of "old" packages on update, when baseurl specified

15 years agoapply fix for https://bugzilla.redhat.com/show_bug.cgi?id=527259
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.

15 years agoadd requirement on python-deltarpm for new patch from Bill.
Seth Vidal [Mon, 14 Sep 2009 20:43:05 +0000 (16:43 -0400)]
add requirement on python-deltarpm for new patch from Bill.

15 years agocreaterepo patch to use the new deltarpm python bindings
Bill Nottingham [Mon, 14 Sep 2009 20:35:54 +0000 (16:35 -0400)]
createrepo patch to use the new deltarpm python bindings

15 years agochangelog merge
Seth Vidal [Fri, 28 Aug 2009 16:35:13 +0000 (12:35 -0400)]
changelog merge

15 years agomark as 0.9.8
Seth Vidal [Fri, 28 Aug 2009 16:34:50 +0000 (12:34 -0400)]
mark as 0.9.8

15 years agoadd man page entry for -n/--includepkg
Seth Vidal [Fri, 28 Aug 2009 13:57:06 +0000 (09:57 -0400)]
add man page entry for -n/--includepkg

15 years agoadd -n, --includepkg option to allow users to specify urls to pkgs to include
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

15 years agocapture ioerror/oserrors on handling metadata files and emit a proper MDError
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

15 years agocommit obviously broken pragma setting fix from mikeb@redhat.com
Seth Vidal [Tue, 18 Aug 2009 15:01:53 +0000 (11:01 -0400)]
commit obviously broken pragma setting fix from mikeb@redhat.com

15 years agofix for https://bugzilla.redhat.com/show_bug.cgi?id=512610
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

16 years agoremove extra 0 from max_delta_rpm_size
Seth Vidal [Wed, 17 Jun 2009 17:27:20 +0000 (13:27 -0400)]
remove extra 0 from max_delta_rpm_size

16 years agomore/better output about makedeltarpm timing
Seth Vidal [Wed, 17 Jun 2009 16:44:39 +0000 (12:44 -0400)]
more/better output about makedeltarpm timing

16 years agooutput how long it took to make the drpm file
Seth Vidal [Wed, 17 Jun 2009 16:05:15 +0000 (12:05 -0400)]
output how long it took to make the drpm file

16 years ago- prestodelta.xml file generation is now roughly 60X faster than it was before
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

16 years agoMake the UI for --checksum a bit nicer
James Antill [Thu, 14 May 2009 17:02:57 +0000 (13:02 -0400)]
Make the UI for --checksum a bit nicer

16 years agoFix -profile in man page, to be --profile
James Antill [Thu, 14 May 2009 14:03:23 +0000 (10:03 -0400)]
Fix -profile in man page, to be --profile

16 years agoAdd some more documentation about --checksum
James Antill [Thu, 14 May 2009 14:02:40 +0000 (10:02 -0400)]
Add some more documentation about --checksum

16 years agoAdd open-size and size fo *_db MD. Fix file to stat for *.xml.gz size
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

16 years agoMerge branch 'master' of ssh://yum.baseurl.org/srv/projects/createrepo/git/createrepo
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

16 years agoif 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

16 years agoMerge branch 'size-in-repomd.xml'
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

16 years agopylint fixes for __init__ - lots of line cleanups and a couple of potential bugs.
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.

16 years agopylint clean up on modifyrepo
Seth Vidal [Fri, 24 Apr 2009 18:50:24 +0000 (14:50 -0400)]
pylint clean up on modifyrepo

16 years agogenpkgmetadata.py pylint cleanup.
Seth Vidal [Fri, 24 Apr 2009 16:26:47 +0000 (12:26 -0400)]
genpkgmetadata.py pylint cleanup.

16 years agoif we've not enabled the deltas, don't try to do them.
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

16 years agopylint: fixed Uses of a deprecated module 'string'
Tim Lauridsen [Tue, 21 Apr 2009 07:24:33 +0000 (09:24 +0200)]
pylint: fixed Uses of a deprecated module 'string'

16 years agopylint: fixed Redefining built-in
Tim Lauridsen [Tue, 21 Apr 2009 07:21:20 +0000 (09:21 +0200)]
pylint: fixed Redefining built-in

16 years agopylint: fixed unused imports
Tim Lauridsen [Tue, 21 Apr 2009 07:13:06 +0000 (09:13 +0200)]
pylint: fixed unused imports

16 years agopylint: fixed Bad indentation
Tim Lauridsen [Tue, 21 Apr 2009 07:09:05 +0000 (09:09 +0200)]
pylint: fixed Bad indentation

16 years agoAdded the pylint basic and disabled the warning we dont care about
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

16 years agoFix copy and paste error on message
James Antill [Sat, 18 Apr 2009 17:52:51 +0000 (13:52 -0400)]
Fix copy and paste error on message

16 years agomake sure our sumtype specified propagates down to the pkg checksums, too
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

16 years agoset a max size option so we don't kill systems with < memory than deltarpm likes...
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.

16 years agoUse the same checksum type for the key, as for the data in the key
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

16 years agoremove the deprecation notice since: 1. it works fine 2. there is a legit use for it
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

16 years agodocument the deltarpm options
Seth Vidal [Thu, 16 Apr 2009 16:04:21 +0000 (12:04 -0400)]
document the deltarpm options

16 years agoit helps to have the right order of items in the pkgtup :(
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 :(

16 years agoquiet down output
Seth Vidal [Wed, 15 Apr 2009 15:39:24 +0000 (11:39 -0400)]
quiet down output

16 years agomake sure we don't try to sqlite the prestodelta xml, yet.
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.

16 years agoadd missing '>'
Seth Vidal [Wed, 15 Apr 2009 14:34:18 +0000 (10:34 -0400)]
add missing '>'

16 years agomake sure the checksum type we use is being used everywhere.
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

16 years agochangelog merge
Seth Vidal [Tue, 24 Mar 2009 20:41:06 +0000 (16:41 -0400)]
changelog merge

16 years ago0.9.7
Seth Vidal [Tue, 24 Mar 2009 20:40:45 +0000 (16:40 -0400)]
0.9.7
require yum 3.2.22

16 years agowhen we process the rpms only do the drpm creation.
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

16 years agosome fixes and to make it work on rhel5/python2.4
Seth Vidal [Tue, 3 Feb 2009 22:54:32 +0000 (17:54 -0500)]
some fixes and to make it work on rhel5/python2.4

16 years agoand one more mistake
Seth Vidal [Tue, 3 Feb 2009 14:08:25 +0000 (09:08 -0500)]
and one more mistake

16 years agocorrect tabbing so createrepo works when you're NOT using deltas
Seth Vidal [Tue, 3 Feb 2009 14:06:30 +0000 (09:06 -0500)]
correct tabbing so createrepo works when you're NOT using deltas

16 years agoadd --num-deltas option
Seth Vidal [Thu, 29 Jan 2009 15:11:32 +0000 (10:11 -0500)]
add --num-deltas option

16 years agoMerge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git...
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

16 years ago--deltas, enable the creation and metadata-creation for presto/deltarpms
Seth Vidal [Thu, 29 Jan 2009 05:55:57 +0000 (00:55 -0500)]
--deltas, enable the creation and metadata-creation for presto/deltarpms

16 years agoMerge branch 'master' of ssh://yum.baseurl.org/srv/projects/createrepo/git/createrepo
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

16 years agoAdd missing documentation on --checksum and --profile
James Antill [Tue, 27 Jan 2009 17:19:31 +0000 (12:19 -0500)]
Add missing documentation on --checksum and --profile

16 years agomake modifyrepo behave with sha256 as the default checksum
Seth Vidal [Tue, 27 Jan 2009 16:20:54 +0000 (11:20 -0500)]
make modifyrepo behave with sha256 as the default checksum

16 years agomake sha256 the default checksum type everywhere
Seth Vidal [Mon, 26 Jan 2009 15:30:05 +0000 (10:30 -0500)]
make sha256 the default checksum type everywhere

16 years agoadd init options to specify your own yumbase object, mdconf object md generator class
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

16 years agomake sure we keep working on python 2.4 :(
Seth Vidal [Thu, 22 Jan 2009 21:33:19 +0000 (16:33 -0500)]
make sure we keep working on python 2.4 :(

16 years agouse gzip.name not gzip.filename to avoid python 2.6 deprecation warnings
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

16 years agoget rid of the md5 badness - use yum's Checksum class so we don't have to deal
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

16 years agoadd --profile option to the cli interface so profile info is outputted
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.

16 years agoUse correct cachedir after rename
James Antill [Mon, 19 Jan 2009 14:52:32 +0000 (09:52 -0500)]
Use correct cachedir after rename

16 years agoallow alternative path for --update via --update-md-path, So your old repodata
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.

16 years agotry/excepts on modifyrepo so we don't smack the user with a traceback
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

16 years agoremerge changelog
Seth Vidal [Tue, 28 Oct 2008 19:57:59 +0000 (15:57 -0400)]
remerge changelog

16 years agominor changes to the make file so that it will make a proper archive :)
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 :)

16 years agomerge changelog
Seth Vidal [Mon, 27 Oct 2008 21:30:16 +0000 (17:30 -0400)]
merge changelog

16 years agoallow already-compressed metadata files to work and not be double-compressed
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

16 years agomergerepo man page
Seth Vidal [Tue, 21 Oct 2008 19:33:51 +0000 (15:33 -0400)]
mergerepo man page
todos added to mergerepo

16 years agoMerge branch 'master' of ssh://createrepo.baseurl.org/srv/projects/createrepo/git...
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

16 years ago- document --content, --distro and --revision
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

16 years agoadd merge repo here, too
Seth Vidal [Fri, 17 Oct 2008 20:23:48 +0000 (16:23 -0400)]
add merge repo here, too

16 years agopylintian cleanups
Seth Vidal [Fri, 17 Oct 2008 20:04:43 +0000 (16:04 -0400)]
pylintian cleanups

16 years agobump version to 0.9.6 - change the dep to yum 3.2.20 - since it is
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

16 years agoadd mergerepo
Seth Vidal [Fri, 17 Oct 2008 19:54:19 +0000 (15:54 -0400)]
add mergerepo

16 years agoadd arbitrary metadata to config options for api callers
Seth Vidal [Fri, 17 Oct 2008 19:31:31 +0000 (15:31 -0400)]
add arbitrary metadata to config options for api callers

16 years agoChange the NamedTemporaryFile() usage to mkstemp(), stupid API
James Antill [Thu, 9 Oct 2008 17:42:39 +0000 (13:42 -0400)]
Change the NamedTemporaryFile() usage to mkstemp(), stupid API

16 years agoFix parallel updates to the cachedir, thx to Michael Schwendt for spotting it
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

16 years agobump the yum requirement to 3.2.19..
Seth Vidal [Mon, 15 Sep 2008 20:45:39 +0000 (16:45 -0400)]
bump the yum requirement to 3.2.19..

16 years agoremove unused utf8String function from utils - move most of it into yum.misc
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

16 years agomake the profile option work again
Seth Vidal [Fri, 12 Sep 2008 18:36:51 +0000 (14:36 -0400)]
make the profile option work again

16 years agoremove most of the yumbased code, disable database-only for now
Seth Vidal [Wed, 13 Aug 2008 16:25:16 +0000 (12:25 -0400)]
remove most of the yumbased code, disable database-only for now

16 years agoAdd size to the repomd.xml output
James Antill [Fri, 8 Aug 2008 19:49:56 +0000 (15:49 -0400)]
Add size to the repomd.xml output

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