bugQuilt - Bugs: bug #37632, Reimplementation of quilt setup


bug #37632: Reimplementation of quilt setup

Submitted by:  Jean Delvare <khali>
Submitted on:  Thu 25 Oct 2012 04:34:37 PM UTC  
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
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.


Thu 02 Jul 2015 04:28:25 PM UTC, comment #2:

I am done committing all the cleanups and optimizations to "quilt setup".

Jean Delvare <khali>
Project AdministratorIn charge of this item.
Thu 18 Dec 2014 04:10:16 PM UTC, comment #1:

This is implemented now:


Further performance improvements are possible, I'll work on that as my time permits.

Jean Delvare <khali>
Project AdministratorIn charge of this item.
Thu 25 Oct 2012 04:34:37 PM UTC, original submission:

I would like to change the way quilt setup is implemented.

At the moment, we call rpmbuild and intercept the calls to tar and patch in order to record the location where archives are extracted and the order and options of the patches which apply to them. Then we replay that record to create our own quilt-compatible source tree.

While this works reasonably well, there are two drawbacks:

  • We duplicate archive extraction and patch application, which incurs a performance penalty.
  • We miss extra commands from the spec file, so the source tree we produce is not exactly what is specified in the spec file.

What I would like to do is keep intercepting calls to patch, but instead of recording them for later use, I'd like to replace them on the fly by quilt import and quilt push. That way rpmbuild will create a quilt-compatible source tree, which we can just copy over to the final location.

There will certainly be a few issue to solve on the way but I can't foresee any blocker. I hope I'm not overseeing a big obvious and unsolvable problem. If we can get there then I expect "quilt setup" to be better and faster.

Jean Delvare <khali>
Project AdministratorIn charge of this item.


(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 (Submitted the item)

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Dec 2014 04:10:16 PM UTCkhaliStatusNone=>Fixed

    Back to the top

    Powered by Savane 3.1-cleanup1