Search Results: "venthur"

20 October 2009

Bastian Venthur: Amarok going downhill

Amarok 2.2 is probably the only audio application on the market unable connect properly to the IPod. It is impossible to copy podcasts within Amarok to the IPod since Amarok 2.x. This functionality simply disappeared during the 1.x to 2.x version jump. You can download and listen to podcasts, you can connect your IPod, but you cannot drag the podcast to the IPod. A few weeks ago you could help yourself if you know where Amarok stores the podcasts (~/.kde/share/apps/amarok/podcasts): just navigate to this directory and drag the audio file to the IPod, but looks this rake was also disabled within the last versions, since Amarok now only segfaults if you dare to do this. Great.

17 October 2009

Bastian Venthur: Python 2.6 Transition

Today I NMUed over a dozen of Python packages with bugs which blocked the Python 2.6 transition. I really want to thank Kumar Appaiah for his work. He provided patches for all the bugs I NMUed today and lots more. I really did not much more than applying, testing and uploading his patches, but Kumar probably invested days of labor to create the patches and test them. Thanks to his effort, the number of 2.6-blockers shrinked considerably so that we now have like ~15 open blockers and ~50 closed ones!

10 October 2009

Bastian Venthur: python-debianbts 1.0 uploaded to unstable

Today I was working all day on python-debianbts 1.0 and uploaded it to unstable a few minutes ago. This version breaks backwards compatibility with previous versions. I removed lots of unneeded old cruft like the HTMLStripper class needed ages ago when I was still using HTML instead of debbugs SOAP interface. A new method get_usertag(email, *tags) was introduced. It returns a dict containing usertag-buglist mappings. If tags are given the dict is limited to matching tags, otherwise all available tags of the given user are returned:
In [1]: import debianbts as bts
In [2]: bts.get_usertag( debian-python@lists.debian.org )
Out[2]:
 dist-packages : [547838, 547832, ..., 547858],
  dpmt-todo : [332913],
  policy : [373301, 373302, ..., 377089],
  python-oldnum : [478467, 478442, ..., 478441],
  python2.1 : [351108, 351110, ..., 351131],
  python2.2 : [351108, 351109, ..., 351161],
  python2.6 : [547838, 547832, ... 547858] 
In [3]: bts.get_usertag( debian-python@lists.debian.org ,  python2.1 ,  python2.2 )
Out[3]:
 python2.1 : [351108, 351110, ..., 351131],
  python2.2 : [351108, 351109, ..., 351161] 
get_bug_log(nr) now returns a list of dicts with the keys: header (string), body (string), msg_num (int) and attachments (list). Before 1.0 it returned a list of Buglog objects. The Bugreport class now supports every information provided by the SOAP interface. I tried to stay as close as possible to the data SOAP provides, so I renamed existing attributes (like Bugreport.nr which is not supported by SOAP but is now Bugreport.bug_num) and also added the quirky ones like: id and bug_nr, found and found_versions, keywords and tags, fixed and fixed_date which always seem to provide the same data. Instead of the Bugreport.value() method which provided a number representing the openness (in terms of: open, closed and archived) and urgency (like: grave, important, ) to make bugreports sortable by their status, the Bugreport class now has a __cmp__ method which makes bugreports comparable. The more open and urgent a bug is, the greater it is. Openness always beats urgency (eg: an open whishlist bug is greater than a closed grave one). While pre 1.0 versions of python-debianbts more or less served the needs of reportbug-ng, it now tries to stay as close as possible to the data provided by SOAP. As a result many parts of reportbug-ng had to be fixed for the new version. I hope this makes python-debianbts more attractive for other projects dealing with Debian s bug tracker. As always: python-debianbts is on github and forks, patches or other kinds of collaboration are very welcome. For the curious here a litte quickstart. it shows how to get all important bugs from reportbug-ng and prints out the bugnumber and summary:
# Get all important bugs of reportbug-ng (returns a list of integers)
bugnrlist = bts.get_bugs("package", "reportbug-ng", "severity", "important")
bugnrlist
[548871, 439203, 542759]
# Get the actual bugreports (returns a list of Bugreport-objects)
bugs = bts.get_status(bugnrlist)
for bug in bugs: print bug.bug_num, bug.subject
    .:
542759 [reportbug-ng] Erroneously reports nothing or repeats previous package s report
439203 Doesn t give any explanations of the severities and what they mean
548871 reportbug-ng: does not check for newer versions before reporting a bug

20 September 2009

Bastian Venthur: Please help to complete python-debianbts

I m currently working on an updated version of python-debianbts a Python interface to Debian s Bugtracker. The goal is to equip the Bugreport class with all available attributes delivered by the SOAP interface. The problem is, that for some attributes it is not quite clear what data they provide and in which datatype they are wrapped. For example the mergedwith attribute should be a list of bugnumbers, but it seems to be a single Integer when merged with one bug and an empty String when the bug is not merged at all. Some attributes have an ambiguous name and it s hard to guess what they mean, for example there is an id and a bug_nr and both seem to contain the same information. There is a git branch for this task and a wiki page collecting all available information. If you have some experience with SOAP, our BTS and some time to kill, your help would be appreciated.

19 September 2009

Bastian Venthur: Github

Reportbug-ng and python-debianbts are now on github. Many thanks to the alioth team who provided this service before.

12 September 2009

Bastian Venthur: Gridengine and Qlogin Zombies

Dear Lazyweb, we re using gridengine 6.2 on our cluster system at work. On this system we have a queue for interactive jobs. The queue has a fixed number of slots. If someone wants to start an interactive session and no free slots are available the interactive job cannot start otherwise it will consume one slot during the session and free it again after the user quit the interactive session. Unfortunately, if the user forgets to quit the interactive session properly (e.g. by entering quit in the terminal) and just closes the terminal, the interactive session becomes a zombie. The user cannot use this session anymore, but the process is still running and thus blocking a slot. Since it happens quite often that users fail to quit the interactive session properly, the free slots are used up pretty soon and no one can start new interactive sessions anymore quite a nice bug in the gridengine software (available in Debian/Lenny by the way ) You can see that those processes are still running using ps and qstat. The question is: how can I effectively search for those processes and kill them? Gridengine does not seem to be aware of those zombies and the user might run other interactive jobs in parallel which must not be killed. So how does one find the zombies and kill them reliably?

3 June 2009

Bastian Venthur: Debconf 11 in Berlin?

This is just a quick note for everyone who is interested: Yesterday we had a small meeting discussing the plan to bring Debconf 11 to Berlin, Germany. There will be an official meeting regarding this topic at this year s LinuxTag. The meeting will probably take place on Friday the 26th of June at a conference room. Everyone is invited to join the discussion. PS: I also have a shiny new key, the fingerprint is 8795 AF2E 4A1A 4EFB A068 A449 8E88 9544 D985 000D. The old key will be revoked in a couple of months.

5 May 2009

Bastian Venthur: LinuxTag 2009

Nion just reminded me of this year s LinuxTag. Although I certainly won t have the time to help at the booth every day as in the last years, I hope I can manage to work there at least for one or two days. If you want to help at our booth (you don t have to be a Debian Developer), join us! It s fun and a great way to get in touch with other like minded people and your help is really appreciated.

18 April 2009

Bastian Venthur: Using rng for bug triaging

Reportbug-NG s ability to filter and sort bugreports in various ways can greatly help triaging bugreports after a certain criterion. In this example I use the bugs of the KDE team, because they have quite a lot of bugs and are currently on a bug triage. Two releases ago I tried to help them cleaning their BTS from obsolete bugeports. My tactic back then was to find bugreports where no action has been taken for a long time. I noticed that there was no easy way to find such bugs since neither reportbug nor the BTS allowed to sort the bugs this way, so finding the candidates I searched for was very cumbersome. So let s try to find those bugs with rng: To get all bugs belonging to the KDE team start rng with the maintainer as argument:
rng debian-qt-kde@lists.debian.org
After rng started you see a table with all bugreports against the packages of the KDE team. To find potentially solved or unreproducible bugs, click on the last column header to sort the list by the date of the last action. The date of the last action is the date where the bugreport received it s last mail (including control@b.d.o mails). You will see that there are quite a lot bugs which haven t been touched for more than two years. Many of them don t have a unreproducible or moreinfo tag. If you want to help the KDE team, you can now start trying to reproduce the bug. If that s not possible you can tag them with moreinfo and unreproducible. If there is no reply in roughly one month or so it s probably safe to close this bug. To quickly find a lot of other candidates to close one can use the filter of rng. Just enter moreinfo in the filter and the table will reduce to all bugreports containing this word or tag. Now you can again sort this list by date of last action and you will see quite a lot bugs bugs where more info was requested but no action took place for more than one year. Those need to be inspected, but probably quite a few of them are safe to close. This example shows how filtering and sorting can greatly help to find certain bugs and support bug triaging. But please: don t carelessly close very old bugs! Read the reports and try to reproduce them, find matching bugreports in upstream s BTS and ask the submitter if in doubt.

8 April 2009

Bastian Venthur: Migrating a project from one SVN repository to another using git-svn

sounds probably like a stupid idea since you could just copy the repository from the old to the new location, but in this case we don t have direct access to the repositories, only accounts with commit-access. Ahh, and we want to preserve the complete history, of course. Ok, the plan is to use git-svn to get a copy of the old SVN repository, complete with history and then apply each commit to the new location: Getting the old repository git svn clone http://old/repo/
cd repo
Removing the traces of the old repository Now we have a git repository containing the complete history of the old SVN repository. That git repository is connected to the old SVN repository via git-svn. In order to commit it to the new repository we have to remove the traces of git-svn: # Remove the remote branch
git branch -rD git-svn
# Remove the rest
rm -rf .git/svn/

Edit .git/config and remove the svn-remote stanza Commiting into the new repository Now that we can connect our git repository to the new SVN location and commit all the stuff: # Create the new repository directory if necessary
svn mkdir http://new/repo/
# Init, fetch, rebase and commit:
git svn init http://new/repo
git svn fetch
git rebase git-svn
git svn dcommit
Maybe not the most elegant solution but it works. The new repository contains everything from the old one, only the commit dates are messed up.

25 March 2009

Bastian Venthur: Reportbug finally has a GUI!

It s good to see that reportbug 4 finally has a graphical user interface it s GTK, but nobody s perfect :) Anyways, I m really glad to see reportbug aiming to improve it s usability. Reportbug finally shows all the bugreports for a package in a list which is easily filterable. So when you re confronted with a huge list of bugreports but searching for a specific problem, you can just enter a few letters in the filter and the buglist will shrink immediately. This missing feature was basically the most important reason why I developed reportbug-ng: Users are expected to don t report bugs which are already filed against a package, but the main tool which was used back then to report the bugs didn t make this task trivial. Now it does and it s a good thing! reportbug and reportbug-ng Compared to reportbug-ng, reportbug shows the bugreports of a package in a tree-view, while rng shows them in a table-view. The difference is that reportbug could theoretically group serveral bugs together, like merged bugs. It currently only uses this feature to group bugs of the same severity and status. Rng does that by coloring the lines. Unfortunately in reportbug all nodes are collapsed by default, which is not very usable since you have to expand every node in order to see all bugreports. This costs the user several clicks in order to see all bugreports. It s also not possible to sort the bugs via the columns of the table, e.g. sort by date of last action which I think is a huge feature in order to quickly find certain kind of bugs (old bugs, bugs sorted by date of last activity) but that s probably easy to fix. Another good news is that Reportbug now brings it s own editor so the user is not forced anymore to use an console based- and maybe unfamiliar editor to compose his bugreport. This is a huge step forward regarding usability. It also moves the concept of writing a mail to the BTS a bit more away from the user which is a good thing. Maybe the BTS will support an alternative way to receive bugreports in the future so mail clients may become superfluous for reporting bugs. Under the hood reportbug still parses the HTML from http://bugs.debian.org/ go gain the bugreport instead of the BTS SOAP interface. This coupling is of course dangerous since even the smallest change in the BTS webdesign could break reportbug. But SOAP support is already on the todo list of reportbug s devs. I can only encourage this step, when reportbug-ng moved away from HTML-parsing to SOAP the actual amount of work it took was much less then I thought, I think it took me just one or two days and as a result there is python-debianbts which provides a bridge between the SOAP interface and Python. In summary I think this is an important improvement for reportbug. There are still some minor issues like the welcome screen always showing, the nodes collapsed by default and the columns not beeing sortable but those are small issues and easy to fix. I m very happy to see this improvement, since it will motivate the not so tech-savvy folks to report bugs, and more bugreports will ultimately lead to a better distribution. Good work guys!

27 February 2009

Bastian Venthur: git-svn branch

Dear Lazyweb, how do I push a local git branch to a new svn branch? The other way round is quite easy and well documented but I didn t find a single document describing what I want to do. I m working with an svn repository with standard layout. I use git-svn to be able to use git locally. Until now I ve always had my master branch reflect the svn s trunk. For every new feature, I created a local git branch, merged with the master branch when I was done and dcommit ed it to the svn s trunk. But now I need to publish an experimental feature which should not yet go into the trunk so I have to publish my local git branch to an svn branch. I tried git-svn branch foo in the local git branch and it created a svn branch/foo for me but not from the current git branch but from the current master (remote/trunk). That s of course not what I wanted, I wanted to push the current branch where I m in and have it linked to the remote svn branch. Neither the manpage of git-svn nor some documentation in the web helped me. I even found a pretty detailed document which describes each and every aspect of git-svn but unfortunately not mine. Is this use case so unusual that no one else uses git-svn this way or is it my weak git-FU?

15 February 2009

Bastian Venthur: Lenny

Today Lenny was finally released. According to this page with roughly 120 open release critical bugs. That s quite a big number according to our standards, but still a good and necessary compromise. Thanks for everyone involved, good work everyone! I m very happy that the release didn t take quite as long as I predicted. Three or four more months of Sid being frozen would probably have meant more people playing with semi-supported mixtures of unstable and experimental packages and more migration towards other distributions with more current software packages. So I m very happy to see over a hundred new packages uploaded to unstable already and roughly 700 new release critical bugs opened :)

1 February 2009

Bastian Venthur: Valentine s Day!

According to this message on -devel-announce, Lenny might release on this year s Valentine s Day which happens to be in two weeks. These are absolutely fantastic news! Can t wait to comment out the experimental lines in my sources.list and see some fresh (and badly needed) packages in unstable again.

10 January 2009

Michael Schutte: Re: Nice(r) console fonts

Bastian, You could also have a look at console-setup. In your case, installing it would be sufficient to get the desired result: it depends on console-terminus and uses it in its default configuration. Another benefit is ckbcomp, an xkbcomp clone for the console which is absolutely cool if you use some obscure keyboard layout which doesn t come with an up-to-date Linux console keymap. Just dpkg-reconfigure (or set XKBLAYOUT and friends in /etc/default/console-setup) and let the setupcon script do everything for you.

Bastian Venthur: Nice(r) console fonts

Ever wanted to get a nicer console font than the default one delivered with Debian? First you need to get a nice font. I chose console-terminus:
$ sudo aptitude install console-terminus
that alone won t change anything but install a whole bunch of new fonts into /usr/share/consolefonts/. To enable one of them, you have to edit /etc/console-tools/config:
set SCREEN_FONT=Uni3-Terminus16
Optional: comment out the following lines with SCREEN_FONT_vc*, so every terminal will have the same settings. To test the new font:
$ sudo /etc/init.d/console-screen.sh start
The new font kicks in at the second half of the boot process, which is fixable but sufficient for me. I think the new font is much easier to the eyes than the default one, especially on big monitors with high resolutions.

16 December 2008

Riku Voipio: re: how many bugs have you fixed today?

Sorry Bastian, but that marthyrdon thing doesn't work. Debian has no shortage of talkers, GR-proposers, etc. We have shortage of people of actually doing stuff. Therefor it's only fair that people not bothering fixing bugs get criticized too. And not to mention that there is enough RC bugs open that you could *easily* fix one of them before making another blog post.

This post has been brought to you by fixing #508781 and #496104. (Can I has a meme plz?)

ps, that said, pretending reaching 0 RC bugs means we have a perfect release is delusional. Bugs are found at constant rate. If we fixed bugs faster and reached 0 RC bugs a month a go, the released lenny would now have all the RC bugs found during this month. Therefor it would make much more sense to align the release schedule based on something else, such as d-i schedule and fix any RC bugs left at that point with stable release updates. update: As noted by Dato, the release update essentially says the same.

Patrick Schoenfeld: Re: How many bugs have you fixed today?

Bastian Venthur notices how the "How many bugs have you fixed today" question is used as a killer-argument against critism at the release-process.

I must confess that I also don't like this attitude of people to use such arguments as a form to silence others. It is something that only people should do, who enjoyed bad manners.
But OTOH it is really sad to see that always the same people are fixing rc bugs. I can only guess, but it seems like out of over 1000 developers eventually 100 are actively involved in the squashing of release-critical-bugs. That is a shame. And people who try to blame the release team for the consequences happening because of this only aren't really helpful, too. Its not like having a release team is meant to be a "5 people to rule/rescue the world" approach.

Bastian, the problem with your attitude is, that you adduct such arguments with it. If its not visible that you do anything more to get Lenny out, except pointing with the finger at the release team, saying "Ha! Ha!", and speculating how we will fail to release Lenny timely, then you shouldn't wonder. You should remember that you are a part of the "We", which is failing, when we as a project miss yet another release date.

And yes, I do agree that our release process is not really ideal and I think we should further push changes to optimize it (which already happened, given that the unblock-policy was way less strict as the years before), but where is your constructive contribution to that?

Bastian Venthur: How many bugs have you fixed today?

That is the sledgehammer argument people bring up when others dare to criticize the current release process. I think this question is nonsense. While the bug-fix rate was more or less the same since the last two releases, it looks like in this release we simply started the freeze with much more open RC-bugs than before (~3 times more RC-bugs than with Etch). So it was foreseeable that the freeze would take longer this time. We can t solve the problem by trying to fix bugs faster, we ve tried it several times with mediocre success. That doesn t mean we shouldn t keep up fixing bugs, but we should probably accept that a certain number of people can only fix a certain number of bugs in a given time. In our case roughly 30 RC-bugs per month. So what s the point of asking how many RC-bugs one has fixed? Does that mean only those are allowed to make suggestions, who fixed an RC bug? That pressure doesn t help anyone. I believe unstable being frozen for several months is a very important problem which can have drastic consequences regarding the number of our users, and we will not solve it by suggesting to fix our bugs faster.

14 December 2008

Bastian Venthur: Lenny Release General Resolution

I agree, this vote is one of the worst formulated I can remember. I think votes should be as easy as possible to understand, so that the voter is absolutely clear about what he s going to vote. The current vote is the perfect example how not to design such a vote. Reading and understanding the ballot is very exhausting, the wording sounds polemic and given the options, it somehow feels like a trap. Example: The first option is Reaffirm the social contract . Sounds nice, of course we want that, but in the footnotes it says
[ ] we will delay the release of Lenny until such point that the work to free the operating system is complete (to the best of our knowledge as of 1 November 2008).
So you re actually voting on delaying the release of Lenny until some technical details are cleared. This is really crap, why not name the option Delay Lenny until foo in the first place? I guess to motivate people a bit more to rank this option above all others. I m very disappointed. Next vote, fever options and clearer wording please.

Next.

Previous.