Search Results: "venthur"

9 December 2008

Bastian Venthur: Lenny s release date III

Two months since my last status update of my initial guess for Lenny s release date, time for an update: My guess for Lenny's release III I don t know what the current official release target for Lenny is, but I still think we re heading towards Spring/Summer 2009. The last related mail on -devel-announce is from October 2008 from Alexander who hopes that we ll release Lenny at least by the end of 2008. I ve read an article with an interview with Steve McIntyre somewhere on The Register where he said:
Bastian s being a little bit pessimistic based on the data he s looking at, but as far as I know, he hasn t spoken to any of the release team. As far as Lenny goes, we re almost there, he told The Register.
That interview was in the beginning of October. It doesn t bother me too much, that we release late. What bothers me is that we don t correct our estimated release dates even when it s obvious that there is no way we will release in time. It s really sad that we keep our users in the dark about the fact that we can t release in time until it s already too late. I believe many users would appreciate if we d honestly say: We don t know when we release, but currently we have x RC bugs open and looking at the last releases we think it will take roughly n months to fix them and release, instead of the good old We release when it s ready . Another important point: Unstable is frozen for almost five months now. If you buy a current laptop, chances are hight that it might not fully work with Debian bleeding edge unstable, since it s horrible outdated. Some of the newer stuff can be obtained from experimental if you re brave enough, but if you re not, unstable is getting more and more unattractive compared to other distribution s current versions. This is really something we should try to fix after we released Lenny.

25 November 2008

Bastian Venthur: Lenovo T500 (shiny new laptop)

Yesterday I exchanged my “old” Thinkpad T60 with a shiny new T500. This time I ordered a Thinkpad with integrated Intel graphics since it’s supposed to be way better supported than the graphic chips from ATI or NVIDIA under Linux. And of course it is supposed to be much more silent. I don’t regret this decision so far, the new T500 is barely hearable even under heavy load. Debian I installed Debian unstable (aka. frozen for waaayy to long) without a problem. Sound worked out of the box, graphics worked somewhat. The kernel automatically loaded the correct modules but I had to tell Xorg that I want the “intel” driver instead of Vesa. Unfortunately Xorg’s intel driver in unstable is already too old to allow me to use an external monitor via the docking station’s DVI port, so I had to to upgrade to Xorg from experimental, which is not very cool since this is the machine I depend on at work. Wifi also doesn’t work, since the the driver and firmware available in unstable are outdated. Suspend to RAM works sometimes, but most of the time the laptop refuses to wake up properly so I have to shut it down. I’ve not yet tested if bluetooth and Wimax works. So currently the T500 is usable under unstable but without external monitor and without Wifi. If you are brave enough to use packages from experimental, you get your external monitor to work but still don’t have Wifi. Suspend to RAM does not work reliably. The T500 should probably work fine with Lenny but of course without external Monitor and Wifi support. Vista After I’ve installed Debian and moved my /home from the old laptop to my new baby, I noticed that silly “Windows Vista” sticker on my laptop. Of course I tried to remove that thing, which I regretted painfully. After I’ve successfully removed the sticker — which was surprisingly hard — some glue remained on the surface of the laptop. No problem I thought, nothing some nail polish remover can’t handle. Unfortunately it only smeared the glue but did not resolve it as I had expected. So I’ve tried perfume, water, soap, rubber, tape and solvent for several hours, but was not able to remove the glue at all. All I achieved was to smear the compact but thick chunk of glue to a very thin but much more distributed layer of this nasty glue on my laptop. Now it looks like a 5×5cm square of dirt on top of my laptop — not sure if removing the Vista sticker was worth it.

10 November 2008

Bastian Venthur: rm -rf /

… does not work. At least not today on a Debian/Sid system. Looks like there are some things, not even root is allowed to do:
root@sid:~# rm -rf /
rm: cannot remove root directory /'
If you’re curious what happens when you wipe your disk on a running system:
root@sid:~# cd /
root@sid:/# rm -rf *
does the trick. Update: That’s with plain rm not safe-rm. Update 2: I looked through the code of rm.c to find that / is protected by default — as a simple rm --help also shows: $ rm --help
Usage: rm [OPTION]... FILE...
Remove (unlink) the FILE(s).
[...] --no-preserve-root do not treat /' specially
--preserve-root do not remove /' (default)

11 October 2008

Bastian Venthur: Tags

Version 1.2 of reportbug-ng now shows the tags of a bug if available. This was long overdue. Now you can for example, quickly search your bugs for the ones with the moreinfo-tag set and sort the resulting list by the date of the last action. This should give you a quick overview of bugs which may need some action (eg. another reminder to the submitter) or can potentially be safely closed. rng-tags.png In the next step I’ll improve the filter of rng and add a context menu which will allow to manipulate the tags of one or more bugreports and send all the changes in a single mail to control@bugs.debian.org.

7 October 2008

Alexander Reichle-Schmehl: About the number of rc bugs

In addition to my last post, here some information about the current number of release critical bugs. Yes, it is true, that our official bug tracker lists the next release has still 264 bugs1. And some wonder, when Lenny will be released. It's a little bit difficult to work with that page, let's look at the unofficial rc bug thingy I already mentioned in my previous post. As you might have noticed it supports several filters mechanism the official bts don't have. At the very bottom of the detailed list you'll see the overall number of the bugs matching your selected filter. So let's have a look at the number of bugs, which are already fixed in the unstable branch and need to propagate to Lenny. Currently that are 118 RC bugs. Of those 264 preventing us to release, 118 are already fixed; the fix just hasn't arrived in Lenny, yet. Okay, but there are still 147 rc Bugs open in both Lenny and Sid. So let's take a look at them. By using the filters at the top, you can calculate, that 19 already have a patch. 14 are marked pending (so they are already fixed, but the maintainer hasn't uploaded the package yet). 15 of these bugs have been reported multiple times and have been merged. Oh, and 3 are about packages in non-free and contrib. Granted, for some of them, there is a patch, but the patch needs to be tested, or the bug has been marked pending by mistake. But still: If you ignore all these types of bugs, there are only 104 bugs left. one-hundred-and-four! Summary: So the only thing left (beside the points I mention in my previous post) to do, is to migrate 118 fixes to Lenny somehow, get the 33 fixes for the probably fixed bugs uploaded, and fix the remaining 104 bugs. Yes, that's still a lot of work to do... So let's get things rolling, shall we? 1: You might further notice, that the current stable release is affected by more than 700 bugs. However many of them are false counts, e.g. when a specific package doesn't build with a newer version of a compiler. The package in the current stable release is of course affected, so there it is kind of buggy. However, we can ignore these kind of bugs, since the newer version of the compiler isn't shipped in the current stable release at all. Those bugs should actually be tagged sid and lenny...

Bastian Venthur: Lenny s release date

Today, an article at heise online claimed, that Lenny is supposed to ship this year, quoting Alexander’s blog entry. While I can’t find a single word in Alexander’s article claiming that we’ll release this year, I’m pretty sorry that just after we failed the first deadline which was obviously too “optimistic”, we get another one which is too short. Two month’s ago I created a pretty simple estimation regarding Lenny’s release by looking at the rc-bugfix-rate of the last two releases and applying them to the current number of rc-bugs. As a result it looked more likely that we release Lenny in June 2009 than in September 2008. Until now, my guess for Lenny’s release still holds, at least the updated rc-graph lies perfectly on the line I’ve created two months ago. rc-graph2.png While I wish that we’ll release Lenny as soon as possible, I hope that someone will clarify the proposed release date to the media and this time with a more defensive deadline. Some people might actually trust our estimation (I know this sounds silly). And even if everyone knows that Debian notoriously releases too late — we could at least try to propose more realistic dates and update them regularly. Just two weeks ago I still read and heard in the media that Debian will release Lenny in September although it was clear at this point that this is impossible.

14 September 2008

Bastian Venthur: Gettext and QT4?

Dear Lazyweb, do you know how to translate QT4 applications with gettext? Looks like QT4 now uses it’s own mechanism (lupdate -> .ts -> linguist -> .ts -> lrelease -> .qm) for translating strings, which makes things a bit complicated if the rest of your application (the non GUI part) still uses gettext. The background is — as some of you may have noticed — that rng’s GUI isn’t properly translated anymore since the switch from QT3 to QT4. I don’t know if I just should adopt QT4’s translation mechanism, but for now it would be very nice if I just could use my .po files for the QT4 stuff.

28 August 2008

Bastian Venthur: Finally, a Debian Live CD

That was just about time. In the last two Linux Tag events people asked us for Live-CDs and we had to explain why we don’t have any, while most other distros have. Now we finally can offer a Debian Live-CD. Still beta, but a huge improvement. Thanks Debian Live team!

3 August 2008

Bastian Venthur: What is group x in /etc/group for and should I be a member?

A few days ago I noticed that suspend to RAM didn’t work anymore on my T60 running sid. By chance I stumbled upon #484248 which explains that the user now has to be in the powerdev group to be able to suspend the machine. If I hadn’t found this information, I would have had no idea what to change to make me able to suspend my machine again. Shouldn’t we have a central list somewhere in /usr/share/doc explaining all the different groups and what they mean? Most of the times the package a group belongs to already explains what the meaning of this group is, but if you don’t know the package, you’re pretty much screwed. I’m not saying, we already have too many groups, but a list with all the important groups and what they’re for would be a huge usability improvement. We can’t expect the user to find that information for every group alone.

1 August 2008

Bastian Venthur: My guess for Lenny s release date

Looking at the current number of release-critical bugs, my guess for the actual release date of Lenny is: around June 2009. rc-graph.png The blue lines have exactly the same angle, the greenish line marks the planned release date. I know that’s not exactly scientific, but let’s see how close I am. The blue graph marks by the way the number of release-critical bugs in stable.

19 July 2008

Bastian Venthur: Rng 1.0 in unstable

I’ve finished the porting of rng from qt3 to qt4 and uploaded it to unstable. It has some minor regressions compared to the qt3 version, like the localization of the qt4 widgets which isn’t working yet and that the column which sorts the table isn’t saved and restored properly on startup, but it closes many other bugs and it doesn’t crash anymore. The new version doesn’t bring so much new features so far, but since it’s using much of the stuff which came with QT4, like the QTableModel and the QWebView, it runs much faster in many cases, e.g. when sorting or filtering the table. Ah, and last but but not least: thanks to WebKit rng even passes acid1 and acid2. Doesn’t yet pass acid3 but I guess someone is already working on it :) rng passing acid2

13 July 2008

Bastian Venthur: Porting rng to QT4

Today I was busy porting reportbug-ng to QT4. One really cool thing I noticed is the new QWebView widget, which is the main widget of the QWebKit module. It works surprisingly easy compared to the good old QTextBrowser of QT3 — now you can just throw an URL at it and it will render the page nicely complete with CSS, images, etc. Here’s the obligatory screenshot: reportbug-ng qt4 as you can see, the bugreport looks much better than in the old version of rng. WebKit does a really good job rendering the HTML, I think the fonts look even smoother than under firefox. To ease the transition to from QT3 to QT4 I’ve extracted all the Debian BTS specific stuff to python-debianbts and uploaded it to unstable. Rng uses it to query our Bug Tracking System via it’s SOAP interface and get the data in Python’s native data types. There is still the problem with rng (QT3) crashing when showing bugreports. I’ve investigated the problem a bit and found out that it is not rng’s fault but probably a problem with python-qt3 or one of it’s underlying libs. QTextBrowser causes segfaults in nearly 50% of the cases where you try to render html from a different thread: here’s an easy way to reproduce:
# crash.py
# Usage: python crash.py "some text"
#        python crash.py "some evil html”
from qt import *
import sys
import threading
class Form(QMainWindow):
    def __init__(self,parent = None,name = None,fl = 0):
        QMainWindow.__init__(self,parent,name,fl)
        self.browser = QTextBrowser(self, “browser”)
        self.setCentralWidget(self.browser)
if __name__ == ‘__main__’:
    if len(sys.argv)  2:
        print 'Usage: %s "some text"' % sys.argv[0]
        sys.exit()
    s = str(sys.argv[1])
    # setup qt stuff with a browser
    app = QApplication(sys.argv)
    app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()"))
    form = Form()
    app.setMainWidget(form)
    form.show()
    # start a different thread and try to set the text in the browser
    # we wait 1.0 second -- just to make sure the change happens after the
    # start of app.exec_loop() below
    t = threading.Timer(1.0, form.browser.setText, (s, ))
    t.start()
    app.exec_loop()
QWebView doesn’t seem to have this problem, the QT4 version of rng didn’t crash a single time. I’m not quite ready with the porting to QT4, and since I’ll be quite busy during the next weeks I suppose it will take a few weeks until the new version will be updated to unstable.

11 July 2008

Bastian Venthur: Maximize vs Maximize to Preferred Size

In times where screen resolutions of 1600x… and above are becoming more and more common, I wonder if the maximize window button which enlarges a window to take all the available space on the desktop is still as useful as it used to be. I noticed that some (if not all, I’m not a Mac user) applications on Mac only maximize their windows depending on the content of the window. For example if you maximize the window of your word processor, the window becomes only as wide as necessary to make the whole page visible. This doesn’t just look better on very large monitors, it is also more usable than a simple maximize since it doesn’t unnecessarily hide other windows. Is there a window manager for Linux which does something similar, or better: is something like this possible with KDE? I know that QT widgets have a “preferred size” — shouldn’t it be possible to have a maximize to preferred size button? It’s surely not useful for every application, but may applications only need a quite small main window and look very ugly when maximized.

7 July 2008

Bastian Venthur: Segfaults Everywhere

Dear Lazyweb, A few weeks ago rng started to show some segfaulty behavior. I’ve absolutely no idea what’s going on, since Python code usually doesn’t segfault. I guess the problem lies in the qt3-bindings rng uses — does someone know how to verify this? There is a backtrace which seems to show that the problem lies somewhere in /usr/lib/python2.5/site-packages/qt.so but I’m not entirely sure how to interpret that.

Andrew Pollock: [tech] On tab completion in Python

Bastian Venthur has discovered how to enable tab completion in the standard Python interpreter. Good to know, but I'll still stick with ipython. It offers tab completion by default, and a lot more.

6 July 2008

Bastian Venthur: Tab Completion in Python s Interactive Mode

While browsing the python docs, I accidentally stumbled upon this today. It describes how to get Tab completion in Python’s interactive shell:
  1. Create a ~/.pythonrc file with the following content:
    try:
        import readline
    except ImportError:
        print "Module readline not available."
    else:
        import rlcompleter
        readline.parse_and_bind("tab: complete")
    
  2. Put this somewhere in your ~/.bashrc
    export PYTHONSTARTUP=~/.pythonrc
The .pythonrc will be executed every time the Python interpreter is started but not when it executes a script. How does it look like?
$ python
Python 2.5.2 (r252:60911, Jun 25 2008, 17:58:32)
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> l = []
>>> l.
l.__add__           l.__getslice__      l.__ne__            l.append
l.__class__         l.__gt__            l.__new__           l.count
l.__contains__      l.__hash__          l.__reduce__        l.extend
l.__delattr__       l.__iadd__          l.__reduce_ex__     l.index
l.__delitem__       l.__imul__          l.__repr__          l.insert
l.__delslice__      l.__init__          l.__reversed__      l.pop
l.__doc__           l.__iter__          l.__rmul__          l.remove
l.__eq__            l.__le__            l.__setattr__       l.reverse
l.__ge__            l.__len__           l.__setitem__       l.sort
l.__getattribute__  l.__lt__            l.__setslice__
l.__getitem__       l.__mul__           l.__str__
>>> l.
Very cool! Why is this hidden so deep in the docs and not enabled by default?

3 July 2008

Bastian Venthur: Linux Action Show

MJ Ray noticed that LugRadio is going to end soon and asks for alternatives. I’d recommend to give Linux Action Show a try. I’ve always preferred it over LugRadio. It is funny, informative and not quite as vulgar as LugRadio.

9 June 2008

Neil Williams: reportbug-ng - unfit for purpose? Absolutely.

Bastian, I had cause to reinstall this machine and the one thing that I decided not to do was install reportbug-ng. I've tried it, I've found problems with it that are clearly documented already in the existing bug reports (so I haven't added a me-too) and I cannot understand why there is such opposition (without any cohesive counter-argument that I have seen) to reportbug-ng handling the bug scripts carefully designed by maintainers (like me). Please, just do it - this could have been resolved months ago if this bug had been fixed when initially raised. Your opposition to this functionality makes no sense to me. This isn't something that one person in the Release Team has decided, this is something that irritates your fellow developers and the
actions of the Release Team merely reflect the opinions of others of your peers
.

Emdebian uses bug scripts and also needs various bug scripting tools but all I'm going to do is script around reportbug - explicitly because the maintainer scripts must be handled by any sane bug reporting tool. This is not optional. As far as I am concerned, reportbug-ng is unfit for purpose and has been so since this whole issue was raised.

If you are going to complain about decisions appearing arbitrary, maybe the lack of bug script support in reportbug-ng should be explained in a cohesive, logical and persuasive defence. Merely stating that it is not what reportbug-ng will support is completely unacceptable IMNSHO.

If the bug scripts are never to be supported, I would recommend accepting the decision of the Release Team and moving on to a different package because reportbug-ng will never be an acceptable bug reporting tool whilst this functionality is ignored.

If reportbug-ng was to be released in Lenny it would make my life a log harder because I need the information retrieved using the bug scripts in the package. These are not arbitrary, the scripts are carefully written by your fellow developers to get more useful information in the initial bug post - this is particularly important when some bug submitters can take significant amounts of time to respond to a "moreinfo" request. (I would even consider conflicting with reportbug-ng to prevent such chaos.)

Why does reportbug-ng assert that it knows better than I what information I require in a bug report against my own upstream or Debian code? Clearly, that is nonsense.

Why must reportbug-ng users be subjected to inevitable requests for more information or recommendations to use a sane bug reporting tool? Please just fix it, it really is the only sane option.

Pierre Habouzit: reportbug-ng

Dear Bastian let's fix your blog post.
Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng unfit for release and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed.
s/Philipp/the Release Team/g. And yes, we believe that reportbug-ng goes against the Maintainers wishes, and doesn't help users that don't know how to report a bug (and which are rng audience unless I'm mistaken).
I don t want to heat the debate about this bug again, but Philipp s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package.
It's not, it was discussed in the Release Team and was not Philipp on his own alone. And yes, the same standards of quality is wanted for every package in Debian.
I mean, rng has no release critical defects.
That's you claiming that, there have been really constructive remarks in both bug that we upgraded, and that I think explain wisely why the current reportbug-ng behaviour doesn't makes it a suitable reportbug tool right now. I think for example that Sam's and Michael Biebl contributions in both bugs are good explanations of what is wrong and why.
It just does not use the aforementioned scripts as additional information in bugreports does this really render the software unfit for release ?
Yes it does. Again, people that use rng are I think, less experienced users, who need guidance through the bug reporting process. The kind of users that often send annoying bug reports. Instead of lowering the annoyance factor, you aggravate it. In the end, rng makes the frustration higher, and totally fails to meet its primary goals: making bug reporting nicer, simpler, and more efficient for the Reporter and the Maintainer. While it's probably nicer for the reporter, you totally fail on the other part of the contract. And if you don't care about the Maintainer, then well, reportbug-ng is just a spam machine to them, and your careless attitude toward them is unfit for release for sure.

Bastian Venthur: Lenny won t ship rng

Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng “unfit for release” and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed. I don’t want to heat the debate about this bug again, but Philipp’s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package. I mean, rng has no release critical defects. It just does not use the aforementioned scripts as additional information in bugreports — does this really render the software “unfit for release”? For example: In Etch we shipped a famous email client with a known bug which lead reproducibly to loss of emails on IMAP accounts, just because removing the program, or one of it’s components was not possible in the remaining time.

Next.

Previous.