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

 
 

bug #37632: Reimplementation of quilt setup

Submitter:  Jean Delvare <khali>
Submitted:  Thu 25 Oct 2012 04:34:37 PM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  khali
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Thu 18 Dec 2014 04:10:16 PM UTC, comment #1: 

This is implemented now:

http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=c0f677497b760028ae8aafb72d4d08604aa7870e

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

Jean Delvare <khali>
Group administrator
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>
Group administrator

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-18 khali StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code