Bug 1157760 - [RFE] Fedpkg should optionally honor existing source files to be kept
Summary: [RFE] Fedpkg should optionally honor existing source files to be kept
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-27 15:59 UTC by Raphael Groner
Modified: 2014-11-05 05:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-05 05:01:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Test file (259 bytes, application/x-bzip)
2014-10-27 15:59 UTC, Raphael Groner
no flags Details

Description Raphael Groner 2014-10-27 15:59:48 UTC
Created attachment 951048 [details]
Test file

Description of problem:
Fedpkg should optionally honor compressed files as local source.

Version-Release number of selected component (if applicable):
fedpkg-1.19-1.fc20.noarch

How reproducible:
yes, always with gnurobbo SCM

Steps to Reproduce:
1. fedpkg new-sources *.png.bz2
2. 
3.

Actual results:
Nothing added to git but files appeaar in .gitignore, as well sources file gets corrupt.

Expected results:
fedpkg should implement a complex logic to differ between real binaries and/or additional source files, maybe compressed.

Additional info:
Do this with a force option? 
Alternatively, fedpkg could try to uncompress small file pieces and look inside the extract if it's textual.

Comment 1 Raphael Groner 2014-11-03 21:52:16 UTC
Maybe it's not quite clear how to use fedpkg new-sources. This RFE is more about having an option add-sources or the like. As it turns out, I've to give -all- available source files to new-sources, even if I want to add some only to the existing ones, otherwise the existed ones will be removed again from sources file.

Comment 2 Dennis Gilmore 2014-11-05 05:01:15 UTC
"fedpkg upload" is what you want to add a new tarball to existing ones.


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