Search Results: "Stefano Zacchiroli"

1 December 2007

Stefano Zacchiroli: pts face lift

PTS: face lifting (i.e. tell me what PTS layout you like) My personal PTS small marathon is almost over. The latest addition is a shiny new look and feel. The rationale for that is partly aesthetic (the proposed new colors are mimicking wiki.debian.org and should be more debianish, thanks H01ger for the suggestion!) but mostly functional (the current layout is too "large" and too few information fits on a single average physical screen). So, here are some screenshots you can actually see:
  1. current version . You can see this layout in action on whatever package in the PTS;
  2. tighter layout (smaller fonts, less padding, wiki.d.o-like colors). You can see this layout in action on whatever package in the PTS since the CSS is listed as alternate: just access a page and (assuming you're using firefox) do "View > Page Style > Compact rendering";
  3. tighter and reorganized layout (as for the point above + 3 columns layout, thanks MadCoder for the latter!). Unfortunately you can't try this out by yourself, as it isn't yet committed ... trust the screenshot then :-)
So, question type, what do you like more of the above 3? I'm all for the latter (tighter and 3 columns) and plan to commit it RSN. If you have other preferences please mail me them; also suggestions for improvement are, of course, welcome.

30 November 2007

Stefano Zacchiroli: buggy vcs-svn fields

Buggy Vcs-Svn fields around My statistics flu continues (oh, BTW, don't worry, I'll be quiet again on planet RSN). This time I wanted to check how many packages are maintained using some Version Control System in Debian, but at the same time are not declaring a proper Vcs-XXX field in their debian/controls. With the help of Goneri and the svnbuildstat I've managed to cross the data used to actually build nightly packages from subversion repositories with the Vcs-XXX fields declared in Debian source packages. The outcome is yet another daily updated page which lists packages which are missing Vcs-Svn field and/or declare a wrong one (i.e. one which is not in sync with what svnbuildstat is using to build the package). You might want to have a look to the corresponding dd-list to see if some of your packages need to be fixed. Several of mine do for example ... Oh, of course the check is limited to what svnbuildstat knows. If you want to be checked it's a good idea to ask for the addition of your repository to svnbuildstat.

Stefano Zacchiroli: homepage field stats

Some numbers about the Homepage field I've got the statistics flu, it's probably floating around here in Spain. So I've wrote a couple of short scripts to collect numbers about how many packages are using the new Homepage field in debian/control and how many are still using the old pseudo-field in their description. So, here is a daily updated page with the Homepage field stats in Debian. The numbers are better than I had expected, even though about 4'000 packages are still using the old pseudo field, about 2'000 are already using the new one. (Technical) habits in debian can spread quite fast ...

Stefano Zacchiroli: pts DM and lowNMU

PTS again: LowThresholdNMU and Debian Maintainers As promised, the PTS is now able to show two new pieces of information about a given package: Both information are shown as unary "tags" (i.e. they can either exists or not, but they don't have any associated value) in a new field in the general information section of the page called "Maintenance info". Now both tags are implemented as "acronym" HTML elements, but if you are good at graphics don't hesitate to contact me, that would be the right place for two fancy icons!

29 November 2007

Stefano Zacchiroli: rss powered pts

The PTS has grown RSS feeds These days I'm taking part in the Extremadura Debian QA Metting. Today is the first day and I've mostly spent it doing some PTS hacks. The first visible tiny teeny outcome of that is the addition of RSS feeds for the "latest news" part of each package page. For example, in the PTS page of bash you can see a link to the corresponding RSS feed. (Other package pages will need a bit to be completely regenerated by the current PTS run ...) Thanks to KiBi and Luk the pages are now also listing links to the corresponding entry in svnbuildstat. Forthcoming additions are links to outcome of the piupart tests run by Liw and H01ger and 2 new markers: one for lowThresholdNmu-ability and the other for maintenance by Debian Maintainers. Stay tuned!

Ondřej Čertík: Debian meeting in Merida, Spain

Right now, some Debian Developers (and also not yet Developers, like me:), are on
the work sessions in Extremadura, I am on the QA and release teams meeting.

We started in the morning with presentations (see also the schedule). Any comments and suggestions welcomed, please add comments below the post.

Lucas Nussbaum presenting:


Most of us:



And in details, names from left to right. Cyril Brulebois, Gon ri Le Bouder:


Luk Claes, Marc 'HE' Brockschmidt, J rg Jaspert, Lars Wirzenius:


Fabio Tranchitella, Bernd Zeimetz, Mario Iseli, Luk Claes:


Filippo Giunchedi, Stefano Zacchiroli, Tzafrir Cohen, Simon Richter, Faidon Liambotis:


And again, so that Faidon is visible:

11 November 2007

Stefano Zacchiroli: installed size

Installed-Size?
zack@aquarium:~$ dpkg -s python-django grep Installed-Size
Installed-Size: 7776
zack@aquarium:~$ du -sh /usr/share/python-support/python-django/
7,2M    /usr/share/python-support/python-django/
zack@aquarium:~$ du -shc /var/lib/python-support/python2.*/django/
4,8M    /var/lib/python-support/python2.4/django/
5,0M    /var/lib/python-support/python2.5/django/
9,7M    total
zack@aquarium:~$

Disclaimer: I'm fine with python-support and friends, they've smart architectures. However it's a fact that currently a huge deal of packages in the archive are size-wise not faithfully represented by the Installed-Size field (and the ratio can be quite impressive!). I wasn't here when that field was designed, but I bet an intended use case was to give admins a way of knowing which packages were wasting disk space the most. For sure dpigs relies on Installed-Size and don't have the necessary info to identify stuff like the above.

29 October 2007

Stefano Zacchiroli: vcs browse is a typo

"Vcs-Browse" is a typo ("Vcs-Browser" is correct) Romain, "Vcs-Browse" is a typo (having "Vcs-Browser" as its correct version), at least according to the documentation I wrote a long time ago (unfortunately not yet integrated in the devref ...). So dpkg is right in supporting "Vcs-Browser" and the 52 packages you've found need to be fixed. Being a maintainer of one such packages (I don't know if I actually am), I wouldn't mind a mass-bug filing (priority wishlist of course) about that.

24 October 2007

Stefano Zacchiroli: debian in ubuntu story

Debian in Ubuntu story: bug fixed The bug I've reported has been fixed. Thanks to Matthew East, Matthew Nuzum, and all the other (constructive) collaborators who have followed up in the bug log.

19 October 2007

Stefano Zacchiroli: debian on ubuntu com just a bug

No "debian" on ubuntu.com: undoubtfully a bug! The mention that the word "Debian" does not appear in the recent announce about Gutsy on the ubuntu.com website by Lucas reminded me something. Indeed, though I'm yet another DD that so far has never played the ubuntu bashing game, I remember having in the past tried to find the word "debian" on the ubuntu website. At the time of writing, using the site search on ubuntu.com, results in just a few hits, all of them are marginal: OpenOffice.org maintenance, the fact that Canonical employees are part of Debian, and an announcement as old as Ubuntu 5.04. What I want to see there is just a tiny teeny sentence that explain where a huge deal of Ubuntu packages come from and a mention of all the wonderful collaborative maintenance projects in which DDs and Canonical employees (or even MOTUs) work together to build great packages. So I wondered that it was probably a fault of mine: I wasn't looking in the right place of the website. Let's try with http://www.ubuntu.com/debian, since the ubuntu website is CMS/Wiki based it seems like a good attempt, doesn't it? But no luck: "Sorry, the page you are looking for was not found". But then, down in the page, I saw the root of the problem: "please consider reporting this problem as a bug". It is obvious now: it's simply a bug in the website! Let's point the maintainers to it ... As a careful bug reporter I first searched to check whether the bug was already reported, according to this search it hasn't (though now that you're clicking on it you're probably seeing something, when I did I got "No results for search debian"). So let's report the bug, the result is bug #154274 on launchpad. Let's see what will happen to it. Update: the reply on launchpad was really fast. I've followed up with what I think should be mentioned on the ubuntu website regarding Debian. Feel free to help out with your comments in the launchpad entry.

29 September 2007

Stefano Zacchiroli: w3-recs

Adopting w3-recs (i.e. experiences in package generation) A week ago or so I decided to adopt w3-recs, a documentation only package aiming to ship recommendations of the W3C in Debian. The previous maintainer (Frankie) step down from w3-recs maintenance since the packaging work was quite boring (add recommendations piecewise as soon as they came out, update them when needed, keep doc-base entries in sync, ...). I didn't want to follow that path and, probably for the first time in my life, the (not so) semantic web has come to the rescue. Starting from the TR automation page, I've found an always up to date index of all Technical Reports published by W3C, enriched with some information about the status of the TRs (draft, candidate recommendation, recommendation, ...) which is in RDF/XML format, and hence machine processable. The final result is that now the w3-recs package is mostly automatically generated via debian/rules target. The get-orig-source target first downloads the RDF index of the technical reports and then downloads all of them via wget (it took me sometime to find the appropriate flags, I've ended up with a award-winning wget command line containing 12 dash switches!). Then, at build time, several derived stuff is generated from the very same RDF index via XSLT: doc-base entries for all the shipped documents (the current grand total is 119 recommendations), a HTML index summarizing the available documents, and other debian/ stuff needed later on in the package build process. The next steps for w3-recs should be automatically split of the package in sub-packages classified according to the corresponding W3C activity, and enrichment of the doc-base entries with abstracts. Unfortunately neither of the 2 kinds of information are provided yet in the RDF index (not so semantic web, after all). Infrastructure deficiencies encountered in the process

26 September 2007

Eddy Petrișor: svn-buildpackage pending changes

Just a few snippets:

Author: eddyp-guest
Date: Wed Sep 26 02:14:15 2007
New Revision: 4959

URL: http://svn.debian.org/wsvn/collab-maint/?sc=1&rev=4959
Log:
create a special branch for the svn "mkdir -p" like functionality until all scripts are converted to use this function and more tests are done

Added:
deb-maint/svn-buildpackage/branches/svnmkdir-p/
- copied from r4958, deb-maint/svn-buildpackage/trunk/

0 eddy@bounty ~/usr/src/svn-buildpackage/svnmkdir-p $ dpkg-parsechangelog
Source: svn-buildpackage
Version: 0.6.22
Distribution: UNRELEASED
Urgency: low
Maintainer: Eddy Petri or
Date: Wed, 26 Sep 2007 05:24:59 +0300
Closes: 408690 411666 414581 419996 423487 428225 428689 433404 433536 434932 435746 436133
Changes:
svn-buildpackage (0.6.22) UNRELEASED; urgency=low
.
[ Eddy Petri or ]
* IMPORTANT: changed default behaviour of saving the configuration in
.svn/deb-layout by default to avoid stale data to override the
configuration options that were updated in the repository.
(Closes: #414581)
As a consequence, a new option --svn-savecfg was added to allow a
mechanism for easily overriding options locally
.
[ Gon ri Le Bouder ]
* SDCommon::sd_exit: read the parameter correctly is SDCommon::nosave=1
(Closes: #428225)
.
[ Eddy Petri or ]
* s-u: when importing options from ~/.svn-buildpackage.conf, filter in
only the valid options (Closes: #428689)
* s-u: replace retcode with retval for consistency with svn-bp
* s-i: manpage still claimed layout 2 was not implmented (Closes: #433404)
* s-i: now really supports injects for layout 2 (with the disadvantage of
not creating the tag directory)
* s-i: no longer fails on initial checkout (Closes: 411666)
* when using origUrl, make sure the origDir exists before downloading
in it
* s-i: man page: document the missing -o option (Closes: 419996, 435746)
* s-u: complete the man page synopsis section (Closes: 436133)
* s-b: do not require the build deps to be present when exporting
(Closes: 423487); thanks Stefano Zacchiroli for the patch
* SDcommon.pm: enhance the guessing algo of the layout to make svn-upgrade
guess correctly on layout 2 repos; thanks Gregor Herrmann for the patch
(Closes: 434932)
* Makefile: the version of the package is placed quoted in "SDCommon.pm" so
that versions like "0.6.22~bpo40+1" don't cause s-b to barf
* SDCommon.pm: implemented a function that emulates a 'mkdir -p'
functionality for svn; this will allow a fix for #434932
* s-i: based on the mkdir-p functionality create missing directories on
inject (Closes: 433536, 408690)


24 September 2007

Stefano Zacchiroli: vim-addons-completion

vim-addons: now with super completion power Just uploaded vim-addon-manager 0.3. The best news is that it has grown bash completion powers. After some round trips with the bug (and patch) reporter we managed to achieve a rather smart completion (e.g. vim-addons install<TAB> will complete only with the addons that you can install, excluding those which are already installed and taking into account whether or not you're asking to install a personal or system-wide addon). Cool. PS Thanks for the patch Antonio!

17 September 2007

Stefano Zacchiroli: vim-errorformat

Vim development workflow: 'errorformat' + ":make" Gintautas, it seems you're approaching the problem in a non-vim way. Have a look at the 'errorformat' option (":help 'errorformat') and more generally at the quickfix mechanism (":help quickfix"). It seems to me that what you want to do should be solved with a Makefile invoking the unit tests (at that point executing ":make" inside vim would trigger the testing) + an appropriate 'errorformat' setting which recognize the strings returned by your tests.

5 September 2007

Stefano Zacchiroli: svn-cowbuilder

svn-buildpackage + cowbuilder It took me a bit to craft the appropriate alias for doing the final build of my svn maintained packages inside cowbuilder, so maybe others will find this useful:
alias svn-btc="svn-buildpackage --svn-builder='pdebuild --pbuilder cowbuilder --buildresult .. --auto-debsign --debsign-k zack@debian.org' --svn-lintian --svn-tag --svn-retag --svn-dont-clean"

whereas for the non-final build I use the usual:
alias svn-b="svn-buildpackage -rfakeroot -us -uc --svn-ignore --svn-lintian --svn-dont-clean"

The probably cryptic trailing letters are: 'b' for "build", 't' for "tag", 'c' for cowbuilder. Thanks to dancer for his tips on this ... and of course for cowdancer!

2 September 2007

Stefano Zacchiroli: clean distclean

On cleaning and distcleaning ... ... and CDBS and "FTBFS if built twice in a row" Yesterday I closed two bugs of mine (424331 and 424392) of the "FTBFS if built twice in a row" class. Shame on me, they were open since too long. Both packages use autotools and, on the Debian side, CDBS. For both packages the fix was as simple as adding:
DEB_MAKE_CLEAN_TARGET = clean

to debian/rules. The rationale for that is rather obvious (now that I've thought about it of course). CDBS per default uses "distclean" as the upstream target which is invoked when "debian/rules clean" is executed. Unfortunately, "distcheck" (used by upstream to create the distribution tarball) does not check that "distclean" leave the distribution tarball as it was before the build. So nothing grants a priory that stuff removed by "distclean" is rebuildable with just the build-deps. A lot of packages come with generated sources (for example by XSLT or by some template toolkits) included in the source package, if that stuff is removed by mistake during distclean you'll see yet another instance of this kind of bugs. I bet a lot of other "FTBFS if built twice in a row" bugs out there have been fixed this way or can still be fixed with the addition of the line above. Update: changed this post, the first writing was made thinking at "maintainer-clean" instead of "distclean"

17 August 2007

Stefano Zacchiroli: debcheckout bits

debcheckout: some new bits Some new bits about debcheckout (talk is cheap, code here): (Perl) Tip of the day: Switch.pm With "use Switch;" you will win a switch statement for your Perl programs, which can be used as follows:
switch ($repo_type)  
  case "cvs"    my $module = pop @cmd; push @cmd, ("-d", $destdir, $module);  
  case /^(bzr darcs git hg svn)$/
                push @cmd, $destdir;  
  else   die "sorry, don't know how to set the destination directory for $repo_type repositories (patches welcome!)\n";  
 

This is far better than a chain of if/elsif statements and has even a sane semantics (e.g. no need of explicit breaks, possibility to have higher-case branches, ...). Unfortunately, it is not possible (using a simple syntax) to match a scalar value against an array case branch. Therefore the only way to factorize branches is (when possible) to rely on regexp alternative branches, as it is done in the code snippet above.

15 August 2007

Stefano Zacchiroli: debcheckout

Introducing debcheckout Cute little tiny teeny new addition to devscripts: debcheckout (not yet uploaded though, in the mean time you can get it from here. It checks out the versioning repository used to maintain a given package. Sample usage:
$ debcheckout devscripts
declared svn repository at svn://svn.debian.org/devscripts/trunk
svn co svn://svn.debian.org/devscripts/trunk ...
A    trunk/debian
A    trunk/debian/control
A    trunk/debian/links
A    trunk/debian/dirs
A    trunk/debian/compat
<snip>
 U   trunk
Checked out revision 749.
$

The information about where to find a repository is extracted parsing (in a rather dumb way actually, but I really can't stand libapt-pkg API!) Vcs-XXX fields. Intended usages:
  1. NMU scenarios: when you're NMUing, please commit your patches (if possible of course: directly to the repository if it has already adhered to the open your VCS campaign I'm sponsoring, or somewhere else if you're using a distributed VCS); with debcheckout the first step it's easy
  2. ease the creation of patches: isn't it better to checkout a repository, fiddle around, and then just invoke svn (or whatever) diff instead of remembering (I always forgot that!) to first create a .orig copy of the debianized source tree?
  3. retrieving the bleeding edge version of a package which includes the patch for a pending bug you have been waiting for ages
RFC Let me know what you think of debcheckout, feature requests, whatever. In particular let me know if I did something wrong using some VCS, since I'm not proficient in all VCSs supported by debcheckout; for example: I'm quite sure the Arch part is not working ... help is appreciated! Vcs-Cvs proposed convention debcheckout can also give the ground for standardizing the VCS-specific meanings of the various Vcs-XXX fields. In writing it I've noticed that almost all VCSs have de facto standards about what to put in the field, with the notable exception of CVS. That's probably because all modern VCSs rely on some URL-like identifier for a repository location, while CVS does not. It needs a pair URL/module to be checkout. The format I'm currently supporting in debcheckout is a pair of space separated values "CVSROOT MODULENAME"; later on I'm using those values as in cvs -d CVSROOT checkout MODULENAME. Also please note that if you do not put the heading ":pserver:" string in the CVSROOT, users won't be able to checkout the repository without providing a password. Tip of the day: Pod::Usage Perl's Pod::Usage module is cool. Finally I can write the usage string only once instead of duplicating it in the manpage and in the string to be printed upon --help. Ruby had something similar, but the output on console was so horrible that I preferred duplicating stuff for Ruby scripts. Update: I've changed the link to debcheckout.pl so that it points to the "live" version in the devscripts repository, since some patches are already flowing in ...

4 August 2007

Stefano Zacchiroli: DD wide commit on alioth

Debian Revolutions ... begin with small steps ... ... let's see if the one I'm seeing right now will be one of those. Since ages the collab-maint project on Alioth has been configured so that all DDs can commit to its SVN repository. I've always thought this is a good idea and I've always wanted that to be true for all Alioth's collaborative maintenance project, rationale being always the same: DDs are lazy, if I have a patch ready there is nothing more valuable than the ability to commit it right now (together with an appropriate changelog entry of course!). At Debconf I chatted a bit about that with Sam and Raphael, and we started thinking about how to make that wish a reality. As a first step the Alioth admins agree on giving DD-wide commit permissions to every alioth project asking so. Let me repeat: you can widen to the whole DD body the commit permissions of your collaborative maintenance project on Alioth just asking the alioth admins. It's quick and easy, and I'm confident Debian as a whole will benefit for mass adoption of this good practice. Raphael has proposed that for adoption to the Python and Perl modules maintenance groups, and it's now implemented for the OCaml maintenance group. Ask that for your beloved collaborative maintenance project! The next step is to patch the GForge running on Alioth so that project admins can enable such a setting by themselves: I volunteered to work on that, but I'm a bit swamped with other Debian-related stuff, help would be much appreciated!

27 July 2007

Stefano Zacchiroli: me on DM

/me on the Debian Maintainers GR After reading on Planet some opinions against the DM GR I made up my mind: I want to post in favour of the GR (and I've already voted accordingly). I swear I'll (try to) be brief. My main point is: this is not an ugly hack to address the long unsolved problem of our sloppy NM queue, this another way of letting people contribute to Debian and acknowledge their work. Rationale follows. Maybe it's just me, but in several year of DD-ness I've met on the net a bunch of people which are "just" interested in maintaining some packages in Debian. I've been training some of those people and of course sponsored their uploads. But if they aren't willing to enroll the NM queue, if they aren't interested in the other social/political aspects of the Debian project I can't blame them, it's their call. I'm in Debian as a DD because I do care about other stuff than plain package maintenance, but I can't ask every hacker around there to share my motivations. Nonetheless I don't see any valid reason to reject and/or put extra artificial burden (i.e. life-time sponsoring) on the good technical work that such people can contribute to Debian. It's just a matter of identifying a new status for contributors that states "I'm contributing my package maintenance skills to Debian, and I'm proud of it", ... without implying full Debian zealot-ness :) The GR precisely addresses this need: establish this new status, the Debian Maintainer status. (We would need a whole bunch of similar new status for other kind of contributions, like translations and artworks, but this is an entirely different story, unfortunately not addressed by the DM GR) And regarding the fear of decreasing package quality, the sponsoring process has already proven to be bugged in this respect: when they really want, sucking packages can enter the archive, they will find some sponsor. There's no silver bullet, our best hope is to establish social practices which encourage people producing (directly or not) good packages and discourage the others. In this respect the ability to stop accepting advocacies proposed in the GR sounds good to me.

Next.

Previous.