Mailinglist Archive: opensuse-features (130 mails)

< Previous Next >
[openFATE 311072] Turn quilt into a noarch package
Feature changed by: Jean Delvare (jdelvare)
Feature #311072, revision 15
Title: Turn quilt into a noarch package

Hackweek VI: Implementation
Requester: Desirable

Requested by: Jean Delvare (jdelvare)
Partner organization:

Even though it is mainly made of bash and perl scripts, quilt is
currently arch-specific. This is caused by one small helper binary
names backup-files. The source code of this small helper binary
accounts for about 6.7% of the total code. The helper could be
rewritten in bash, and actually this has been done already. Debian
reportedly uses a patch that does exactly this for 4 years now:
While having this helper in bash rather than binary form certainly has
an impact on performance, it should be possible to minimize this impact
with some work. Also, virtually every piece of quilt could be rewritten
in C for better performance, but performance was hardly the point of
quilt in the first place.
So, the goal of this hackweek project is to get rid of backup-files in
its C form, and convert it to bash.

Business case (Partner benefit): This change will improve the portability of quilt by
limiting the build requirements.
This change will improve the build time of quilt in OBS.
This change will make it easier to contribute to quilt, by lowering the
skills required.

#1: Klaas Freitag (kfreitag) (2011-01-18 13:39:39)
I think this is a bug report rather than a hackweek project.

#2: Jean Delvare (jdelvare) (2011-01-18 22:18:47) (reply to #1)
I'm not quite sure why you say that. Quilt works as is, so we can't
call it a bug. This is only a bizarre design to mix programming
language when you really don't have to.

#3: Jean Delvare (jdelvare) (2011-02-04 18:08:59)
A noarch quilt package is now available at:

#5: Jean Delvare (jdelvare) (2011-02-10 22:42:41) (reply to #3)
I've just published a new version with more performance improvements.
Expectedly, it's still somewhat slower than the original C
implementation, but it should be hardly noticeable in practice now.

#6: Jean Delvare (jdelvare) (2011-03-03 10:48:17) (reply to #3)
I've just published a new version with more performance improvements.
The restore and nolinks functions of backup-files are almost on-par
with the original implementation, performance-wise, so "quilt pop" is
almost as fast as it used to be. The only command which is still
somewhat slow is "quilt snapshot", I'll work on it next week.

#7: Jean Delvare (jdelvare) (2011-03-10 10:58:25) (reply to #3)
Yesterday I've updated the package in project home:jdelvare:Factory.
Performance is very good now, including for "quilt snapshot", and we
are very close to an upstream submission.

+ #8: Jean Delvare (jdelvare) (2012-01-31 11:46:14) (reply to #3)
+ I have rebased the package in project home:jdelvare:Factory on quilt
+ version 0.51 (from devel:tools:scm.) Upstream submission will happen
+ this week.

#4: Jean Delvare (jdelvare) (2011-02-06 21:06:49)
The maintainers of the Debian quilt package have accepted all my
proposed bug fixes already:

openSUSE Feature:

< Previous Next >
This Thread
  • No further messages