Search Results: "zack"

5 December 2007

Stefano Zacchiroli: pts debian style

On wiki.d.o and PTS styles [Eddy, you're totally right in stating that it is a pity to base the PTS reword on the wiki.d.o current theme. Actually, it would have been a pity :-), indeed after some people commenting that the wiki.d.o current theme is just one of moin's default I've made up my mind. In particular, thanks to Dan Callahan who contributed a new CSS, we now have a really more Debian-ish theme for the PTS. Here are some samples though, as you can guess from the URL, these links are not meant to last. I've been quite busy since my return from Extremadura and that's why I haven't mentioned the new colors on planet; I guess the next you'll see is directly a change in the PTS pages in the next days or something. On the reworking of the wiki.d.o theme though, I think making it resemble www.d.o is not the way to go. After all there have been many proposals to change it because a lot of people think it is not that nice, and many more think that it feels very old-fashioned, actually: too much old-fashioned. (The fact that those actual proposals haven't been turned into a working reality is sad, but somewhat unrelated ...) I would much prefer to see a wiki.d.o theme that is somewhat Debian-ish, i.e. it uses our "social colors", but which feels less ancient than current www.d.o. I think Dan's work is an example that something in that spirit can be achieved, maybe we can collaborate? (Well, actually you can, I'm nowhere near a web designer :-) )

4 December 2007

Eddy Petrișor: wiki.d.o theme -is it bad timing or too late?

I have been working recently working on the wiki.d.o theme; this work was started last year around May - June and I halted it due to lack of time. The point was (opposed to what many might have thought) to make a theme that looks like the www.d.o theme.

Currently the TODO is outdated, so here is an updated one (I'll update it and push it there, too):
There are some screen shots with the current theme as seen on Opera, Epiphany (for some reason sometimes different from iceweasel) and MSIE 6.0, but here are again since I expect that my public darcs repo will change:

In MSIE (by far the most annoying browser and creates the most issues):


In Opera:


In Epiphany (the window was smaller, the content isn't bigger):

If you want to contribute, you can:

darcs get http://users.alioth.debian.org/~eddyp-guest/darcs/wiki.debian.org_theme

read the README to understand what matters, and tackle one of the items on the TODO list above.



I found it pitiful that Zack has based his PTS rework based on the wiki.d.o default theme since that theme is, in my opinion the one that should be corrected (at least the colors should be).

I am not an expert in aesthetics and i don't claim that the www.d.o theme is beautiful, but it seems that the recurrent discussion of it being replaced with something better never found a person to make it true. This is one of the reasons I stopped last year since it seemed the dream would come true at that time.

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!

loldebian - Can I has a RC bug?: QA i haz...

QA i haz...

submitted by KiBi Top, from left to right: GyrosGeyger, h01lger, Ondrej Bottom, from left to right: zack, waiter, TiCo

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!

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

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.

11 September 2007

Brice Goglin: Debian X.org notes - X.org 7.4 plans - What we expect for Lenny

The release plan for Xserver 1.5 and Xorg 7.4 was discussed during the X.org Developers' Summit in Cambridge (September 10-12th). This is what we expect to ship with Lenny, so here are some details about the upcoming. Timeline As usual, there will be a 6 months release cycle. So Xorg 7.4 is expected on March 1st, 2008. There won't probably be any new Xserver release before that since some changes (already merged) require all drivers to be updated anyway. So Xserver 1.5 is expected on the same date. Since there are already some known problems in Xserver, they also plan to release Xserver 1.4.1 on November 1st. PCI Rework The master branch of Xserver already contains the long-expected pci-rework which is supposed to fix all the PCI domains and other non-trivial PCI hierarchy support (important for ia64, but also for some powerpc and sparc users). RandR People having Intel, ATI or recent Nvidia boards learnt to love the RandR 1.2 extension which provides the ability to enable/disable, resize, rotate, move outputs within a single big virtual screen. More transformations should be possible with RandR 1.3. Hopefully, there will also be some standardization regarding output names in various drivers, or at least a way to retrieve the type of each output (LVDS, DVI, VGA, TV, ...). And the server should get an abstraction object to describe GPUs, which might make the support for multiple boards easier. Input On the input side, XKB 2 and XGE should be merged, which shouldn't be really visible to end-users but should make internals much better. Then MPX (Multi-Pointer X server) might be in Xserver 1.5 too (if all semantics issues get fixed first). It would mean support for multiple independent keyboard/mouse pairs or so. See the MPX page for details. Compositing Compositing still gets a lot of attention. Several distributions are actually thinking of enabling Compiz by default. EXA (the new acceleration architecture that has been designed for compositing) got improved a lot in Xserver 1.4. Several drivers including Intel and ATI r300 already work great with EXA (no need to use XAA + XAANoOffscreenPixmaps anymore) which means Compiz works very smoothly, even when resizing windows. XAA won't be removed soon though since lots of things needs to be fixed before that. There are also several videos available online, like this one. But one big piece is still missing for compositing: directed rendering to redirected windows. So far, if you start glxgears in Compiz, you will see that the gears completely ignore wobbli-ness of windows, other windows overriding them, cube rotation, ... they keep rendering of top of everything without any effect. Getting true support for compositing such windows requires lots of work in all parts of the DRI stack. Kristian H gsberg got it to work (and we even get a great demo). See Kristian's blog for details. Upstream devs are now working on integrating all modifications nicely in upstream Xserver, drivers, DRM module, Mesa, ... Once this works, you can get GLX_EXT_texture_from_pixmap for both direct and indirect rendering, and full support for GLX 1.4 in the server (only 1.2 is supported as of now). Also, redirected windows (let's say a wobbly window on a side of Compiz' cube) should get input events correctly thanks to input transformation in Xserver 1.5 (event coordinates will be converted into the redirected window coordinate space before being passed to the client application). Kernel-related reworks Compositing improvements actually require a large rework of the memory management in the server. Basically, we need a global management for both 2D and 3D object allocations, so that you can get both to work fine without having to change config options (things like XAANoOffscreenPixmaps or FbTexPercent). All this is related to the TTM (Translation Table Maps, see these slides for details) which has been under development for a while. It requires to change the interface with the kernel DRM modules, and it won't happen before 2.6.24. The Xserver part of the work is not big, so it might still be done before 1.5 is released. Fortunately, once all this is ready, people should stop complaining about memory allocation failures, Compiz being slow because one option is not enabled by default, ... Another hot topic in the X.org/kernel area is about moving modesetting in the kernel. When you get a kernel panic, you only actually see it if not running X (or if logging kernel messages through the network). So your machine freezes, you don't know why, you have no way to know, and you just reboot. Getting panic messages on X would be much better. To do so, the kernel needs to now which mode is currently in use on the monitor and then it will render the message on the framebuffer. This require lots of work, so it will unlikely be in Xserver 1.5 though. Miscellaneous Xserver 1.5 will also contain XACE (security framework), the cleanup of the ABI (explicit _X_EXPORT required), and possibly glucose (OpenGL acceleration for X, see Zack Rusin's blog). I asked whether there was actually some work on building the GLcore server module as a part of Mesa so that building Xserver does not require the whole Mesa source anymore. People seem to agree the current situation is a real pain for distributions and we should make this change happen. But the actual work has to be done in Mesa anyway, we'll see what happens.
(Permanent link) 

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 ...

Next.

Previous.