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


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

Submitted by:  None
Submitted on:  Sun 24 Jan 2016 08:47:37 AM UTC  
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  Jean Delvare <khali>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project AdministratorIn charge of this item.
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.



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).




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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.3