Skip navigation.

Raphael's Blog

A look into a programmer's life

Re: Ubuntu divergence

, ,

Lucas Nussbaum recently posted some graphics showing the number of packages that are grabbed from Debian and kept untouched, modified, out of sync, etc, etc.

But, "statistics are tricky":


$ wget http://patches.ubuntu.com/p/php5/php5_5.2.6-1ubuntu3.patch
--2008-06-19 22:25:03-- http://patches.ubuntu.com/p/php5/php5_5.2.6-1ubuntu3.patch
Resolving patches.ubuntu.com... 91.189.90.149
Connecting to patches.ubuntu.com|91.189.90.149|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 441869 (432K) [text/plain]
Saving to: `php5_5.2.6-1ubuntu3.patch'

100%[======================================================================>] 441,869 62.3K/s in 7.3s

2008-06-19 22:25:11 (59.4 KB/s) - `php5_5.2.6-1ubuntu3.patch' saved [441869/441869]




$ lsdiff -i '*out' php5_5.2.6-1ubuntu3.patch | wc -l
44



I believe people familiar with test suites know what that means...

Update: it means that the test suite files (outputs, expected results, and so on) are on the .diff.gz, thus contaminating it

Oh, and:


$ out=$(mktemp); filterdiff -i '*tests*' php5_5.2.6-1ubuntu3.patch > $out
$ du -h php5_5.2.6-1ubuntu3.patch $out
436K php5_5.2.6-1ubuntu3.patch
372K /tmp/tmp.eAxRv20298


...what a waste of space

Another advantage of using the vcs-$VCS fieldcheckbashisms as a perl module fun

Comments

Anonymous 20. June 2008, 06:58

foo writes:

Ubuntu a waste of space? Who would have thought! ;)

Anonymous 20. June 2008, 18:00

Zack writes:

I'm sorry, I'm not familiar enough with these packages to understand what you're trying to get at; could you spell out the implications of the information you show please?

Raphael 20. June 2008, 18:53

Just updated, I though it was obvious.

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies