bugQuilt - Bugs: bug #46958, 'quilt import' from STDIN for work...

 
 

bug #46958: 'quilt import' from STDIN for work with rpm's '%autosetup'

Submitter:  None
Submitted:  Sun 24 Jan 2016 08:47:37 AM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  khali
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Oct 2016 10:53:08 AM UTC, comment #2: 

OK, thank you for following up. I had worked on 2 possible implementations back then, but never posted them. Maybe they were not good enough, I can't remember. Anyway, if you no longer need this feature, it doesn't really matter. Closing.

Jean Delvare <khali>
Group administrator
Sun 24 Jan 2016 10:55:43 AM UTC, comment #1: 

Case closed. I found a simpler solution for 'debbuild', so 'quilt import' need not be changed.

https://github.com/ascherer/debbuild/commit/f74faaca7b548548852a38d6da829c79a13e594d

https://ascherer.github.io/

Anonymous
Sun 24 Jan 2016 08:47:37 AM UTC, original submission:  

Would it be possible to extend 'quilt import' so that it reads a single patch file from STDIN?

   quilt import -P virtual-patch-0042 -

This would permit consistent use of 'quilt' in rpm's '%autosetup/%autopatch' mechanism (https://github.com/rpm-software-management/rpm/blob/master/macros.in#L1106). The '%__scm_apply_quilt' macro with the 'quilt import' invocation is used in a pipe in '%apply_patch' (https://github.com/rpm-software-management/rpm/blob/master/macros.in#L1130), providing the contents of a (if necessary uncompressed) patch file through STDIN.

If 'quilt import' were able to catch this input and redirect it to the file(name) specified with '-P %{-m*}', the current macro could be made operational without having to resort to '%{__cat}' and '%{__rm}' (https://github.com/rpm-software-management/rpm/pull/53).

https://ascherer.github.io/

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by khali (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-24 khali Severity3 - Normal 1 - Wish
        StatusNone Wont Fix
        Assigned toNone khali
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code