RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 952602 - modifyrepo does not accept the same command-line options as createrepo
Summary: modifyrepo does not accept the same command-line options as createrepo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: createrepo
Version: 6.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: Stanislav Zidek
URL:
Whiteboard:
: 962547 966999 (view as bug list)
Depends On: 948771
Blocks: 835616 994246
TreeView+ depends on / blocked
 
Reported: 2013-04-16 09:35 UTC by J.H.M. Dassen (Ray)
Modified: 2018-12-06 15:02 UTC (History)
14 users (show)

Fixed In Version: createrepo-0.9.9-19.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 948771
Environment:
Last Closed: 2014-05-14 13:41:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 183293 0 None None None 2018-12-04 15:20:29 UTC
Red Hat Knowledge Base (Solution) 417223 0 None None None Never
Red Hat Product Errata RHBA-2014:0491 0 normal SHIPPED_LIVE createrepo bug fix and enhancement update 2014-05-14 17:40:42 UTC

Description J.H.M. Dassen (Ray) 2013-04-16 09:35:41 UTC
+++ This bug was initially created as a clone of Bug #948771 +++

Created attachment 731888 [details]
patch

Description of problem:

createrepo-0.9.9-17.el6.noarch 

modifyrepo does not accept the same option as createrepo.
We are especially interested in 
--simple-md-filenames
--checksum

Version-Release number of selected component (if applicable):

0.9.9-17.el6 
but
My patch is against GIT HEAD.

How reproducible:

Option are not available.

Steps to Reproduce:
1.modifyrepo --simple-md-filenames --checksum sha

Actual results:

Option not available.

Expected results:

Option available.

--- Additional comment from Thomas Oulevey on 2013-04-05 08:37:45 EDT ---

Created attachment 731897 [details]
createrepo-modifyrepo-sha-simplemd_v2.diff

First patch had an error.

--- Additional comment from Thomas Oulevey on 2013-04-05 08:42:52 EDT ---

Created attachment 731898 [details]
createrepo-modifyrepo-sha-simplemd_v3.diff

--- Additional comment from Zdeněk Pavlas on 2013-04-05 09:32:50 EDT ---

Thanks, somewhat modifed and merged.  The --simple-md-filenames and --unique-md-filenames options are complementary, we should support both.  Also updated --help, to show --unique is the default.

--- Additional comment from Thomas Oulevey on 2013-04-05 09:58:33 EDT ---

There is an issue on line 189 :
-    parser.add_option("--simple-md-filenames", dest="unique_md_filenames",
+    parser.add_option("--simple-md-filenames", dest="simple_md_filenames",

--- Additional comment from Zdeněk Pavlas on 2013-04-05 10:05:22 EDT ---

Yeah, that's intended :)  Both options share the same destination variable, but there's a different action- store_true vs store_false.  I find this easier than handling two independent options later on.

--- Additional comment from Thomas Oulevey on 2013-04-05 10:11:44 EDT ---

Sorry, me not reading the full line :)
Thanks! works great.

I asked my TAM for a backport on el6 packages.

Comment 8 Valentina Mukhamedzhanova 2014-04-03 08:26:47 UTC
*** Bug 966999 has been marked as a duplicate of this bug. ***

Comment 9 James Antill 2014-04-07 15:31:45 UTC
*** Bug 962547 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2014-05-14 13:41:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0491.html


Note You need to log in before you can comment on or make changes to this bug.