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: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 24 Oct 2016 10:53:08 AM UTCkhaliSeverity3 - Normal=>1 - Wish
      StatusNone=>Wont Fix
      Assigned toNone=>khali

    Back to the top

    Powered by Savane 3.1-cleanup1