Bug 580343 - reposync downloads gzipped comps.xml but saves it with the wrong name.
Summary: reposync downloads gzipped comps.xml but saves it with the wrong name.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-08 03:14 UTC by Ian Mortimer
Modified: 2014-01-21 23:14 UTC (History)
5 users (show)

Fixed In Version: yum-utils-1.1.27-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-12 17:26:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ian Mortimer 2010-04-08 03:14:34 UTC
Description of problem:
reposync with the -m (--downloadcomps) option fetches comps.xml.gz but saves it as comps.xml without decompression.

Version-Release number of selected component (if applicable):
yum-utils-1.1.26-1.fc12.noarch

How reproducible:
Always


Steps to Reproduce:
1. run reposync with -m (--downloadcomps) option
2.
3.
  
Actual results:
A file called comps.xml is copied but `file comps.xml' shows it's compressed and and matches the sha256 sum of comps.xml.gz on the source.


Expected results:
Either the file should be named comps.xml.gz or should be decompressed before saving as comps.xml.


Additional info:
It's easily worked around so not a serious problem but potentially confusing at first.

Comment 1 seth vidal 2010-04-09 21:00:28 UTC
Can you test a patched reposync for me?

Please test this patch:
http://skvidal.fedorapeople.org/patches/reposync-comps_gz-download.patch

Comment 2 Ian Mortimer 2010-04-12 00:34:49 UTC
The patched reposync works fine: uncompressed comps.xml deposited in the root of the repo tree.


Thanks
--
Ian

Comment 3 Marcos Saraiva 2010-04-20 20:14:03 UTC
Hi,

The patch works. Is this going to be fixed upstream?

(In reply to comment #1)
> Can you test a patched reposync for me?
> 
> Please test this patch:
> http://skvidal.fedorapeople.org/patches/reposync-comps_gz-download.patch

Comment 4 Ian Mortimer 2010-04-20 21:49:25 UTC
(In reply to comment #3)

> The patch works. Is this going to be fixed upstream?

The status is "CLOSED UPSTREAM" so presumably it is fixed upstream.

Comment 5 Fedora Update System 2010-06-06 13:45:00 UTC
yum-utils-1.1.27-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/yum-utils-1.1.27-1.fc13

Comment 6 Fedora Update System 2010-06-14 17:20:23 UTC
yum-utils-1.1.27-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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