=== vanhoof_ is now known as vanhoof [00:28] Hello friends I am from india. I want to attend the Ubuntu Developer Week. So plz. tell the time? [00:29] awanti: the second day starts in 15.5 hours [00:29] awanti: The schedule's at https://wiki.ubuntu.com/UbuntuDeveloperWeek . Click the times on it to get conversions to your timezone. [00:32] ok thanks I got the timings. In India it will start at 9.30 pm. === MTecknology is now known as billmeye === billmeye is now known as MTecknolgoy === MTecknolgoy is now known as MTecknology === jmarsden_ is now known as jmarsden === jledbetter_ is now known as jledbetter === kenvandine_ is now known as kenvandine === MTecknology is now known as pfSensory === pfSensory is now known as MTecknology [05:08] Hello === Pete is now known as Guest77399 === lag` is now known as lag [08:22] ubuntu wired network problem [08:22] wireless works, wired does not work [08:23] hi laxmi for support please join #ubuntu [08:23] via /join #ubuntu [08:23] ok === qwebirc76859 is now known as geco2 [10:45] !log [10:45] Logs for all classroom sessions that take place in #ubuntu-classroom can be found on http://irclogs.ubuntu.com/ [10:45] Official channel logs can be found at http://irclogs.ubuntu.com/ . LoCo channels are now logged there too; for older LoCo channel logs, see http://logs.ubuntu-eu.org/freenode/ [10:51] hello !! [11:19] hi all [11:19] hey guy [11:21] the schedule link seems to be down [11:40] hi, i'm new in this classroom, i'd like to know how i can join ubuntu developers community... === Ursinha-afk is now known as Ursinha [11:41] could someone help me?? === shadeslayer_ is now known as shadeslayer [13:22] !log [13:22] Logs for all classroom sessions that take place in #ubuntu-classroom can be found on http://irclogs.ubuntu.com/ [13:22] Official channel logs can be found at http://irclogs.ubuntu.com/ . LoCo channels are now logged there too; for older LoCo channel logs, see http://logs.ubuntu-eu.org/freenode/ [14:18] hello,boys and grils [14:53] can i know when the sessions start ? in how many hours ? 3 ? [14:55] anirudh24seven: http://is.gd/8rtIi [14:55] (Link from topic) [14:56] 16:00utc [15:02] thanks [15:02] sorry for not having looked through earlier [15:02] was checking it out before looking at your link... thanks anyway === Ursinha is now known as Ursinha-lunch [15:08] wen the class is gonna start?? [15:08] Vishal_, http://people.ubuntu.com/~nhandler/classroom.html [15:09] Vishal_: in about 1 hour [15:09] thnx [15:12] what would be the topic of discussion in class? [15:20] hellyeah_, 16.00 - How to write a compiz plugin === seiflotfy_ is now known as seiflotfy === s1aden is now known as sladen [15:41] * fisch246 puts on atom heart mother album to bring him into the mood of Learning Ubuntu :D [15:44] msg NickServ identify atzenmusik [15:46] misterxyz: If that is your password, you should change it immidiatly. [15:47] Or maybe it's too late. [15:51] hi [15:57] dholbach: are we good to start ? [15:57] we are [15:57] awesome [15:57] let me do a quick introduction :) [15:57] sure thing! [15:57] HELLO MY FRIENDS! ARE YOU READY FOR DAY 2? [15:57] smspillaz, :) so we are begining right ? [15:57] (woohoo!) [15:57] dholbach, smspillaz yeah :) [15:57] please join #ubuntu-classroom-chat if you haven't done that yet [15:58] it's the place where all the questions and chat goes [15:58] and if you do have questions, please ask [15:58] but please prefix them with QUESTION: [15:58] ie: QUESTION: smspillaz: Do you have pets? [15:58] I have one cat ;-) [15:58] all the information you need should be available at https://wiki.ubuntu.com/UbuntuDeveloperWeek [15:58] he is very awesome :) [15:58] have a great day 2 [15:58] it's great to have you! [15:58] now let's kick off the day [15:59] smspillaz, yaa we aready. [15:59] dholbach: let me know when I'm good to start :) [15:59] smspillaz, also known as Sam Spilsbury graciously agreed to give a session, and he'll talk to you about bringing more bling to compiz by writing spiffy plugins [15:59] smspillaz, the stage is yours! [15:59] horray! [16:00] ok, awesome, so yes, here I am, I am the maintainer of the Compiz 0.9 series, i.e the version of compiz that will be used in Ubuntu 11.04 and Unity as well as most upcoming distros [16:00] first things' first, because I overprepare for everything, I made some documents that you all might find useful (and me too!) when following me [16:00] so the first one is the internal architecture of compiz [16:00] which can be found here: [16:00] http://smspillaz.ucc.asn.au/unity/compiz_arch/compiz_arch.pdf === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Developer Week - Current Session: How to write a compiz plugin - Instructors: smspillaz [16:01] and the second is a 7 page guide on writing compiz plugins, which is half-finished, since I've been quite busy this week [16:01] Logs for this session will be available at http://irclogs.ubuntu.com/2011/03/01/%23ubuntu-classroom.html following the conclusion of the session. [16:01] http://smspillaz.ucc.asn.au/unity/compiz_arch/writing.odt [16:01] so feel free to grab those :) [16:01] alrighty, so starting from the beginning [16:02] first of all, a quick introduction to how compiz works, and what exactly its function is [16:02] and then how to get and compile a development version of compiz, or just develop for it on ubuntu [16:02] and then I'll do a quick walkthrough of the basic structure of a plugin and some commonly done things in plugins [16:03] ok, so as for how compiz works, and what exactly it does [16:04] to take a page from the compiz wiki, compiz is basically what we call a "Compositing Window Manager" in X land, which means that as well as managing windows on screen, it also is in charge of drawing those windows. This technology came about in around 2005ish when XComposite came about === m4n1sh is now known as manish [16:04] so this means that in terms of your scope of compiz plugins, you can affect how windows are actually managed, affect how they are drawn, and affect how the entire scene is drawn [16:05] along with its plugin interface, this makes it pretty much possible to do any bling that you want === manish is now known as manish__ [16:05] so, now moving on to exactly how to set up a development environment [16:05] luckly, ubuntu makes this pretty easy [16:06] just sudo apt-get install compiz-dev and compiz-plugins-main-dev and you're done [16:06] (On maverick, it is compiz-fusion-plugins-main) === manish__ is now known as manish_ [16:06] but, if you want to do development in a little more, I usually suggest having a local build of compiz handy. [16:07] Luckily, most of that is relatively straightforward these days, since there are scripts to do that [16:07] http://git.compiz.org/~soreau/scripts/ <- like these fantastic ones [16:08] just clone the git repo there and with the script you'll have a full working installation from source. [16:08] This helps if, for example, some plugin does something similar to what you want to do, and you can start hacking on that plugin first. [16:08] so, a quick question I've recieved [16:09] QUESTION: What about Ubuntu 11.04 [16:09] so, this tutorial here, as I probably should have explained will be for Ubuntu 11.04 [16:09] since compiz was re-written in between the 0.8 and 0.9 series (maverick and natty) [16:09] however, those git scripts about should also work on maverick [16:10] Now on to the nitty gritty of writing your first plugin [16:10] Compiz plugins are written in C++. We don't really use very many advanced features of the languages or external libraries that heavily, so if you have a basic knowledge of that, then you should be good [16:11] we only use boost to a small extent, glib more recently and sigc [16:11] CMake is also used for building rather than automake [16:11] to answer another quick question [16:11] QUESTION:Is it possible to do some type of local build using the ubuntu packaging and pbuilder or something like that so that you can remove it easily? [16:12] So, the answer to this is is that you can indeed clone lp:compiz , however, this is the packaging branch of compiz core, and doesn't get all the modules [16:12] in addition, I'm not sure about how to make it build and install locally [16:12] (plus, adding extra stuff to it is a pain since you need to rebuild the whole thing all the time using bzr bd) [16:12] so I'd suggest you stick to the scripts or to the master source [16:13] (A link to the build tutorial is in the documents I linked to earlier) [16:13] so now back to writing plugins [16:13] so the basic knowledge, you will need once again, is C++, boost or CMake [16:14] note that OpenGL isn't really a strict requirement, since a lot of the graphics functions that are commonly used are abstracted through the API of compiz [16:14] it's just that if you want to go down the road of bling-bling, then OpenGL is nice [16:14] ok, so now for creating your plugin project [16:14] so to start off with, say you want to create a plugin called "moveleft" which, every time a window is opened, if moves every other window to the left [16:15] so, your directory structure would be [16:15] moveleft [16:15] - [16:15] -> src [16:15] ---> moveleft.cpp [16:15] ---> moveleft.h [16:15] -> moveleft.xml.in [16:15] -> CMakeLists.txt === qwebirc46515 is now known as geco2 [16:16] now to explain each component of that [16:16] basically, the .cpp and .h files are the implementation of your plugin, eg the loadable object code [16:16] the .xml.in describes information about your plugin for CCSM and also its options [16:16] and the CMakeLists.txt is the buildsystem [16:16] now, lucky for plugin authors, the buildsystem for compiz plugins is insanely easy [16:17] all you need is three lines [16:17] find_package (Compiz REQUIRED) [16:17] include (CompizPlugin) [16:17] compiz_plugin (moveleft PLUGINDEPS foo bar PKGDEPS baz) [16:17] so now on to what each line dos [16:17] *does [16:18] the first basically finds compiz with pkgconfig [16:18] the second imports all the plugin buildsystem [16:18] the third sets up a new "compiz plugin" project in CMake with the name "moveleft" depending on other plugins "foo" and "bar" and depending on external packages "baz" [16:18] so to disect that further [16:19] now that you've called your plugin "moveleft" you must stick with that shortname everywhere [16:19] so for example, the .xml.in must be named "moveleft" [16:19] However in the src/ tree, you don't need to worry about that [16:19] another interesting thing is that you can depend on other plugins [16:20] compiz 0.9 was designed in mind with inter-plugin dependency with each plugin providing objects to other plugins [16:20] so, a common example of this is the fact htat the opengl and composite bits of compiz are in fact plugins themselves [16:20] so most plugins that need to access this functionality will set those as their PLUGINDEPS [16:21] now on to the metadata file [16:21] I've explained this in more detail in the documents I linked to earlier [16:21] but basically, here you need to define your plugin name too [16:21] so [16:21] [16:22] the useBcop is crucial if you want your life to be easier with autogenerated options code [16:22] you can also define some options there [16:22] but we will get back to that later [16:22] so close all the tags and save it [16:22] next, you need to define the classes of your plugin [16:23] so the way things work in compiz is that each plugin is responsible for one or both of two things [16:23] 1) attaching their own information and hooks to existing objects [16:23] 2) creating their own objects [16:23] the vast majority of plugins only do 1) [16:23] and they usually hook two very important existing object [16:23] CompWindow and CompScreen [16:24] so, starting with the second [16:24] compiz runs per X-screen [16:24] so, this means that CompScreen is kind of like the "master class" where everything relating to everything going on on screen happens [16:24] CompWindow is a representation of some managed X11 window [16:25] (and believe me, there are a lot of them, see xwininfo -root -tree for how much there is to manage) [16:25] now each plugin works by attaching their own structures to those core objects [16:25] so if you defined a MoveLeftScreen as attaching to CompScreen [16:25] there would be one MoveLeftScreen per CompScreen [16:26] same thing with MoveLeftWindow [16:26] this allows you to store data and functions on those core structures [16:26] so, for moveleft, you might want to track if you've moved a window already, and if it has moved since you've moved it [16:26] so you would store that information in MoveLeftWindow [16:27] the actual attaching [16:27] ok [16:27] so the actual attaching is done by a special class called PluginClassHandler [16:27] it's basically a template class that sets up some special indexes in the base object and attaches your class to it [16:28] so that, whenever you want to get your own data for the base object, you just call MoveLeftWindow::get (CompWindow *) [16:28] so in constructing your MoveLeftWindow, you'll get something like: [16:28] class MoveLeftWindow : [16:28] public PluginClassHandler , [16:28] public WindowInterface [16:28] { [16:28] } [16:28] etc [16:28] (See the handout) [16:29] the WindowInterface is for interfacable functions and will be explained in a bi [16:29] so now that you've got your MoveLeftScreen and MoveLeftWindow defined as classes attaching to the relevant core structures [16:29] there are a few final things to do [16:29] the first is to define a VTable for your plugin [16:30] this tells core how to load and what "attaching classes" to initialize when objects are created [16:30] we have templates for the most common usecases [16:30] so, you'd have [16:30] class MoveLeftPluginVTable : [16:30] public CompPlugin::VTableForScreenAndWindow [16:31] { [16:31] public [16:31] bool init (); [16:31] } [16:31] the only thing yout need to put in your init function for now is a core ABI version check [16:31] eg [16:31] if (CompPlugin::checkPluginABI ("core", CORE_ABIVERSION)) return true; else return false; [16:32] and finally, a extern C object definition for core to look up the VTable on plugin load [16:32] and like all good things, we have a macro for that [16:33] COMPIZ_PLUGIN_20090315 (MoveLeftPluginVTable, moveleft); [16:33] note the use of "moveleft" again [16:33] that is *crucial* [16:33] since the library is going to be named "moveleft" and core will be loading a plugin called "moveleft" [16:33] so its going to be looking for the right symbol [16:33] As a quick aside, I've been asked to explain what CCSM is [16:34] in fact, I should probably explain some of the other compiz modules [16:34] so "compizconfig" == our library to handle configuration and desktop integration amongst different settings backends (eg ini, dconf, gconf, kconfig4) [16:35] "ccsm" == "compizconfig-settings-manager" which is a tool to adjust all the settings in compiz (seriously, there are tons) [16:35] "core" == the core executable of compiz, where the base window management logic and API comes from [16:35] ok, so back to plugins [16:36] once you have checked off implementing your MoveLeftScreen, MoveLeftWindow, MoveLeftPluginVTable, COMPIZ_PLUGIN_20090315 etc [16:36] and #included [16:36] you now have an installing plugin! [16:36] however, it doesn't really do all that much [16:36] so lets get on to something more interesting [16:37] what about being able to "plug-in" to things that core or other plugins do [16:37] ah, QUESTION: how can we make sure there isn't another plugin called "moveleft" [16:37] well, the simple answer to that is, you don't [16:37] there aren't too many compiz plugins around, but if a plugin with the same name is already loaded then yours fails to load [16:38] ok, back to being able to plugin-in to things [16:38] so, as I was saying a bit before, we have another special thing in compiz called "wrapable interfaces" [16:39] these are basically just call chains of function objects in doubly linked lists [16:40] when you thing you are calling some core function that was implemented in an "interfacable way" you are actually just calling a function which increments the linked list counter by 1 and calls the next function in the list [16:40] the convention is that at the end of each of the plugin's function calls, they will call the same core function again, which increases the function counter, calls the next function and so forth [16:41] this allows us to, on each core function call, call lots of other functions at the same time [16:41] So the first thing you would have seen in the MoveLeftWindow definition was that we inherited a class called "WindowInterface" [16:42] this is the "Interface class" to all of these Intefacable functions [16:42] so if you have a look in core/include/window.h, you will see all the functions that plugins can hook [16:42] by inheriting this class you are said to be "implementing" this interface [16:43] by default, the functions in WindowInterface all do nothing, but that is because they are all virtual! [16:43] so to change that, you overload one of the functions [16:43] for example, void moveNotify (int, int, bool); is a function that tells us when a window has moved and by how much [16:44] so if we implement a function like that in our MoveLeftWindow class which inherits WindowInterface, we will have implemented that [16:44] next, in the MoveLeftwindow constructor, we have a call to WindowInterface::setHandler (window); [16:45] what this does, is set the handler of the interface class that we inherited to the base class that owns the function [16:45] so that now whenever we call the base class function [16:45] our function will be called first [16:46] then functions from the previously loaded plugin [16:46] etc etc [16:46] until you get to the main function in the class [16:46] ok, another question! [16:46] QUESTION: so, can i write a separate MoveLeft function, embed in Window.h, and then call n override it whenever n wherever i want? === dholbach_ is now known as dholbach [16:47] So, I'm not too sure what is meant by this, but if you mean adding a new wrapable function to core, I am afraid that is out of the scope of this tutorial [16:47] plugins should generally only overload the functions in the interface classes [16:48] anyways, interfaces are explained a bit more in the document I posted [16:48] next up: options [16:48] so say you've interfaced CompWindow::windowNotify from WindowInterface [16:48] so now whenever someone else calls window->windowNotify (), MoveLeftWindow::windowNotify is also called [16:49] and you've handled the CompWindowNotifyMap there to loop over all windows in screen->windows () (eg, loop over an std::list) and call w->move (x, y, immediate) to move them to the left [16:50] but now, you want to play with an option whereby it actually moves windows to the right instead of the left! [16:50] so you need to go back into your moveleft.xml.in and add some information about this option [16:50] so [16:51] that defines the option, with the default value of false [16:51] now, in your MoveLeftScreen make sure you inherit MoveleftOptions (note the small case l) to get access to autogenerated code from this option [16:52] ok, so now here is where it gets funky [16:52] that options code is owned by MoveLeftScreen [16:52] so you need to MoveLeftScreen *mls = MoveLeftScreen::get (screen) in your ::windowNotify [16:53] then, you want to read the option to see what it says [16:53] so for "right" that would be [16:53] mls->optionGetRight () [16:53] and it returns true or false depending on the option value [16:53] now, here is how the generation code works [16:53] first you have optionGet, which is prepended to call getters [16:54] then you have "Right" right came from "right" in the xml file [16:54] so the parser replaces underscores with CamelCase [16:54] so if you had right_foo [16:54] it would be come [16:54] optionGetRightFoo () [16:54] Ok, cool so now you've read the option [16:54] so with some simple math [16:54] and that skeleton [16:55] you should be able to make everything go to the left when a new window is mapped [16:55] or at your choosing [16:55] go to the right [16:55] I'll open the floor to questions [16:55] ok [16:55] QUESTION: since you mentioned compiz 0.9 written for Ubuntu, do you use any distro specific API implementations which may break if I write a plugin for, say, Arch? [16:55] Good question [16:55] There are 5 minutes remaining in the current session. [16:55] so, compiz 0.9 was written independently, and has only been started to be used for unity until early this year [16:56] so it is still an upstream project [16:56] and as such I keep the API consistent between all version [16:56] there used to be an API inconsistency with the glib mainloop stuff, but that has been upstreamed [16:56] any other questions? [16:57] (I might just paste again those documents I'm referring to in case you missed them) [16:57] http://smspillaz.ucc.asn.au/unity/compiz_arch/compiz_arch.pdf [16:57] and [16:57] http://smspillaz.ucc.asn.au/unity/compiz_arch/writing.odt [16:57] QUESTION: What happened to the compiz mindcontrol? [16:57] I love it [16:58] that project would be cool, except that the developer with that idea didn't cobble together the funds to buy a headset for that [16:58] plus it requires shaving your head [16:58] which I would never do since I have awesome hair [16:58] any more questions before I wrap it up? [16:59] ok, well it is 16:59, I should probably wrap it up [16:59] thanks for attending! [16:59] now go write some awesome plugins! === RobertM is now known as Guest11535 [17:00] Hi folks, === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Developer Week - Current Session: How Stable Release Updates work - Instructors: jibel [17:01] Logs for this session will be available at http://irclogs.ubuntu.com/2011/03/01/%23ubuntu-classroom.html following the conclusion of the session. [17:01] Thanks to smspillaz for this awesome introduction to compiz. [17:01] my name is Jean-Baptiste Lallement, I live in France and I'm working on the QA Team. [17:02] I've started my QA activity with lot of bug triaging, then I moved to ISO Testing, Automated Desktop Testing and Stable Release Updates. [17:02] In this session we will talk about Stable Release Updates, and how the QA process contributes to rock solid stable releases. [17:03] Once an Ubuntu release is out, updates for it follow a very specific procedure called a "Stable Release Update" aka "SRU" [17:03] Updates are only released under certain circumstances. [17:04] Why this SRU process ? [17:05] Unlike development releases (at the moment Natty), official releases of Ubuntu are widely deployed and used by a wide variety of users. [17:05] During the development, the population are developers, early adopters or advanced users, they are aware that pre-release software may break and they accept the risk. [17:06] When you are using an official release, you use your system for your day to day work and are expecting a high degree of stability. [17:06] Any problem can be really disruptive and the system should not requires the intervention of the user. [17:08] Stable release updates are automatically recommended to a very large number of users. So it is critically important to be paranoïd and to treat them with extreme cuation. [17:08] Therefore, when updates are proposed, they must be accompanied by a strong rationale and present a low risk of regressions. [17:09] Some will argue "It's just a one line change, go ahead" [17:09] Right, let me give you one example, with bug 559822 and its friend bug 610975 [17:10] The cause of the bug wasa C++ library (wxwidgets2.8) was uploaded with no code changes. Due to an underlying toolchain change/bug, this caused an ABI change, causing a lot of unrelated packages to break. [17:10] It was not a one line change, it was a no change at all bug. [17:11] So people, when dealing with SRU, expect the unexpected. [17:12] When should you request a Stable Release Update ? === dholbach_ is now known as dholbach [17:12] Not all bugs are good candidates to Stable release updates, [17:13] and in general only those that fix high impact bugs are [17:13] examples of such bugs include: [17:14] * security vulnerabilities. These are done by the security team and follow a slightly different but somewhat similar process [17:14] * severe regressions from a previous release. [17:15] This includes packages which are unusable, like being uninstallable or crashing on startup. [17:15] * bugs which may cause data loss [17:15] bugs which doesn't fit under the above categories but have an obviously safe patch [17:16] and affect an application rather than critical infrastructure packages (like X or the Kernel) [17:17] * for Long Term Support (LTS) we regularly want to enable new hardware. [17:17] such changes are appropriate provided that we can ensure to not affect upgrades on existing hardware [17:17] And the last type of SRU [17:18] * New version of commercial software in the canonical partner archive [17:18] wolfpack asked: Is stable release update has only bug fixes or can it have features upgrade ? [17:19] SRU doesn't introduce new feature, or with rare exceptions. [17:20] For new features, or new upstream versions of packages, but don't fix critical bugs you should request a backport instead. [17:20] New features are usually not good candidates. [17:22] So How to proceed ? [17:22] You've found a good candidate ? There are a few steps that you must follow in order to see your fix land in a Stable Release. [17:23] First of all, the bug must be fixed in the current development release [17:23] and the task in the bug report set to "Fix Released" [17:24] This ensures that the fix won't be missed on newer version of the package and that the bug won't be reintroduced [17:24] If it is not fixed, in the development version, the request for SRU will be rejected. [17:26] darkdevil58 asked: if suppose i fix a bug on my 10.04 system, still the fix release be rejected as i m not using 10.10? [17:28] If you want a fix in 10.04 LTS, it must be fixed in the latest development release - Natty - before being ported to 10.04 [17:28] We can accept an SRU for 10.04 but which is not necessarily a good candidate for 10.10 [17:29] When filing an SRU add all necessary the information to the bug description to help with the review of the report. Ideally, make sure it contains: [17:29] * The rationale for the SRU. the impact of the bug on users, and a justification for backporting the fix to the stable release [17:30] * Explain how the bug has been addressed in the dev branch, and attach a minimal patch against the current stable version of the package. [17:30] At this point, if you think that preparing the patch will be time consuming, [17:30] you should get approval from the SRU Team first. [17:31] On the other hand its useless to spend time on a patch that is not critical enough to match SRU criteria. [17:31] So, in doubt, don't hesitate to ping the SRU team [17:32] An important part, document the test case with detailed instructions how to reproduce the bug. [17:33] Document the test case with detailed instruction how to reproduce the bug [17:33] for example https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/639701 [17:33] includes 3 easy steps to reproduce the issue, and verify the fix. [17:34] The steps should allow anyone, not familiar with the package to reproduce the bug and verify that the issue is fixed with the updated package. [17:34] * Add information about potential regressions and inadvertent side effects. [17:35] For example in https://bugs.launchpad.net/ubuntu/+source/txaws/+bug/634022 , the dev explains why there's very little risk of regression [17:35] Once you've provided all the required documentation [17:35] * Target to the appropriate serie and subscribe ubuntu-sru [17:36] * Upload the fixed package. If you can not do it yourself, attach a debdiff and subscribe ubuntu-sponsor. [17:36] * If everything goes right, the archive admins will approve and publish you fixed package to the -proposed repository. [17:36] And please, keep this rule in mind: One bug = One report === drubin_ is now known as drubin [17:36] Then we enter in the second phase of the Stable Release Update: SRU Verification [17:36] The current set of pending SRUs is tracked at http://people.ubuntu.com/~ubuntu-archive/pending-sru.html [17:37] On this page, you'll find a list of packages currently in -proposed [17:37] and available for testing. [17:38] For each package, there's an indication of which version is in which pocket (-security, -updates, -proposed) and a list of bugs fixed by the upload [17:38] The process we follow to verify a package is roughly: [17:38] - setup a testing environment [17:39] - Try to reproduce the issue in the most recent published version of the software [17:39] - Enable the -proposed repository and install the proposed update for that software [17:39] - Try to reproduce the issue with the updated software [17:40] The first step is to create a clean testing environment of the release the fix is targeted for. [17:40] We want to eliminate any outside effects and control the changes brought by the update of the package. [17:41] To create this environment any virtualization solution is good: KVM, VirtualBox, VMWare, ... are very useful to create an isolated testing environment [17:41] You can use snamshot to quickly setup a fresh env or rollback to a previous state. [17:42] Doing testing in a chroot is also good enough. [17:42] If you are trying to reproduce hardware related issues, then, of course, VM technologies are not the right choice. [17:42] Hardware specific bugs offer their own special problems; if we don't have the hardware, it's much harder to reproduce [17:42] There's not much we can do except prompt on the bug report for people affected by the bug to do the testing and install the package ourselves to look for regressions. [17:43] These are often kernel, X, libc (where the compiler is bounded to CPU capabilities) problems [17:43] Then we want to make sure that all updates are applied to the testing environment and we can start the testing and try to reproduce the bug [17:43] We want to do this so that we know what we're testing for when we install the proposed package. [17:44] Often, just doing this will offer us more insights into the actual problem being solved and sometimes discover a regression or another bug. [17:44] If we can't reproduce the initial problem, we have much less confidence that the update actually is going to fix the issue. [17:45] In this situation, whether the Test Case is wrong or incomplete, or the condition to reproduce the bug are not well defined, so we can have a doubt that the fix will really fix the bug in every conditions. [17:47] l'll illustrate the verification phase with bug https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/494096 [17:47] This is a critical usability defect. Clicking on a window send the events to the underneath window. [17:47] wrt to this bug a patch has been attached in comment #23 and the bug has been nominated for SRU between comments 25 and 26. [17:48] The description is fairly complete, the issue is easy to understand and it includes a test case. [17:48] That's not always the case, so sometimes you get to figure out how to test for the condition, or if that's really unclear what the bug is and how to reproduce, you can simply set the status back to 'in progress' asking for more info from the reporter or the dev. [17:48] The first task is to reproduce the issue. [17:49] Just follow the steps described in the bug report. Once this is done you can enable -proposed [17:49] You can do this through the menus, via System -> Admin -> Software Sources menu [17:49] The details to enable -proposed are at https://wiki.ubuntu.com/Testing/EnableProposed [17:50] As part of reproducing, make sure to double-check exactly which version you are testing [17:50] From the command line, apt-cache policy is your friend, and in this case [17:50] $ apt-cache policy metacity [17:50] metacity: [17:50] Installed: 1:2.30.1-0ubuntu1 [17:50] Candidate: 1:2.30.1-0ubuntu1.1 [17:51] Version table: [17:51] 1:2.30.1-0ubuntu1.1 0 [17:51] There are 10 minutes remaining in the current session. [17:51] 500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Packages [17:51] *** 1:2.30.1-0ubuntu1 0 [17:51] 500 http://fr.archive.ubuntu.com/ubuntu/ lucid/main Packages [17:51] 100 /var/lib/dpkg/status [17:51] We see that 1:2.30.1-0ubuntu1 is installed and the candidate 1:2.30.1-0ubuntu1.1 from -proposed is available for update. [17:51] You can install it either with update-manager or from the command line: [17:51] $ apt-get install metacity [17:52] Only update this package and its dependencies, but not all the packages from -proposed as they may introduce some other issues. [17:52] Once it is installed logout/login and try to reproduce the bug again. [17:53] If the result is what you expect from the test case, we can start looking for regressions as well. [17:53] Some things to look for in term of regressions: [17:53] * install requirements; does it depend on other packages in proposed, particularly ones not from the same source package? [17:54] if it does, and both packages aren't moved into updates at the same time, the package will be uninstallable. [17:54] * possible differences in behavior for fresh install versus update from buggy version [17:54] sometimes the fixes only show up for new installations, particularly for packaging problems [17:54] just generally play with the app; helps here if you're familiar with it. [17:54] For metacity, that's pretty straightforward, we'll go ahead use our desktop, and see if things still work properly [17:54] If everything passes then tag the report with verification-done [17:54] Quicky another example where things didn't went so well, which affects ssh [17:55] https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/713002 [17:55] ssh is a key component of the system and it is critical to not break it. [17:55] The bug is that you cannot disable access from IPv4 hosts to IPv6 only hosts. This makes life of sysadmins harder to keep sane access control where IPv6 is the primary protocol. [17:55] There are 5 minutes remaining in the current session. [17:56] You can see that the bug description has been rewritten by the developer to improce the documentation. He was kind enough to keep the history of the original report for reference. [17:56] He also added a test case, every commenters and tester on the report agreed to say that the bug was fixed. [17:56] But... [17:56] A security guy comes in and said "STOP! this fix doesn't includes the fixes from previous version" [17:56] This is what is called a regression. The report has been tagged as verification-failed and the package will be removed from proposed. [17:56] akshatj asked: What if a bugfix fixes a security issue but introduces another type of bug that is not security related like a usablity bug(not sure if this is possible) [17:57] If a fix introduces a regression it is rejected. [17:58] I don't have bug in mind to illustrate your question though. [17:58] Finally both failures and successes are important to report! [17:58] also report anything out of the ordinary or unexpected you had to do in testing [17:59] it's also helpful to update the description of the bug if elements are missing (eg. you created a TESTCASE) [17:59] We could use help in doing verifications and looking for regressions [17:59] There's an SRU verification team on launchpad at https://launchpad.net/~sru-verification which tracks the SRUs, [17:59] And if, when doing all this, you run into problems, you can always solicit for help on #ubuntu-bugs and #ubuntu-testing, as well as asking directly on the bug report. [17:59] Anyone can contribute by doing SRU verification. [18:00] any question ? [18:00] aquarius, the floor is yours [18:00] jibel, thanks, and thanks for a great talk! I now know loads more about SRUs :-) === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Developer Week - Current Session: The Ubuntu One App Developer Programme - Instructors: aquarius [18:01] Hi, all! [18:01] Logs for this session will be available at http://irclogs.ubuntu.com/2011/03/01/%23ubuntu-classroom.html following the conclusion of the session. [18:01] I'm Stuart Langridge, from the Ubuntu One team, and I'm here to talk about our upcoming app developer programme. [18:01] Do please ask questions throughout the talk: in the #ubuntu-classroom-chat channel, write QUESTION: here is my question [18:02] Up until now, your ability as developers to do cool things with Ubuntu One has been limited. [18:02] But I'm going to change all that. [18:02] We want to make it possible, and easy, for you to add the cloud to your apps and to make new apps for the cloud [18:02] So we do all the heavy lifting, and your users (and you!) get the benefits. [18:03] Imagine, for example, you've made a recipe manager application. [18:03] So you can type in all the recipes you like to cook, and you've got a permanent record of them. [18:04] (For me, that would be: get a pizza base; put pepperoni on it. You'll be better at that than me.) [18:04] Don't really want to take your laptop into the kitchen, though, of course. [18:04] So, build a mobile app which you sign into with Ubuntu One, and have that show all your recipes too. [18:04] And a web app which you sign into with Ubuntu One, so that you can look up recipes while you're at a friend's house. [18:05] This is the sort of thing that we want to make easy; giving your users and you quick access to the Ubuntu One technology. [18:05] Mobile access to your data; web app access to your data; saving files direct into Ubuntu One; publishing files and photos from all your apps; adding playlists to the Ubuntu One music streaming app; streaming the user's own music into a game you've written. [18:06] This stuff is all being heavily worked on right now as we speak. [18:06] So this talk won't be too detailed with specifics, because they might change. [18:06] I want to give you a flavour of what will soon be possible, and answer questions, and give some pointers, and get your thoughts. [18:06] Also, this is Developer Week, so I can talk about what the components we're working on are and then admire all the cool ways you all come up with for snapping them together, rather than waiting for marketing to come up with a "product" for you to use :) [18:07] So, some components that can be snapped together. [18:08] You'll be able to sign in to a web application with Ubuntu One. [18:08] This means that you don't have to manage your own identity system, think about password renewal, all that. [18:09] This is just like "sign in with Facebook" or "sign in with Twitter"; it's OpenID-based, and lets your users sign in to a web app and you'll know their Ubuntu identity. [18:10] And that identity is shared everywhere; you can build web apps and mobile apps and Windows apps and Ubuntu apps which all share the same identity and know who they're talking to. [18:11] Once you've signed in to an app with Ubuntu One, that app can ask for permission to work with your data. [18:11] This lets you, developers, build applications that work on the desktop, on the web, on mobile phones. [18:12] The recipe manager example I mentioned above is one sort of thing you could do, there [18:12] Your users use the nice recipe manager app on Ubuntu, which you've build with Quickly or whatever you prefer [18:12] And then they can go to yourrecipemanager.com and sign in with Ubuntu One [18:13] yourrecipemanager.com then asks them for permission to access their "recipes" database [18:13] and can then show them all their recipes on the web! [18:14] Your app (yourrecipemanager.com) does this via OAuth; it goes through the standard OAuth dance to get an OAuth token which can be used to access the user's recipes CouchDB database [18:14] And your users can be happy that it's secure, because yourrecipemanager.com will only have access to their recipes database; it can't read their contacts, or their files, or their credit card info. [18:15] fisch246 asked: about when can this kind of stuff be implemented? 11.04? 11.10? 12.04? [18:16] fisch246, everything I'm talking about today should be available for the 11.04 release. [18:16] th3pr0ph3t asked: Isn't it too early to start building apps for ubuntu one? -- I mean that thing can hardly sync files [18:17] th3pr0ph3t, the 11.04 release will bring some massive improvements to all the Ubuntu One services -- data, music, files [18:18] the stuff I've talked about so far is around data, and I'll get on to files in a bit :) [18:18] But you can imagine sharing other sorts of data between applications. [18:18] Imagine, for example, an achievements system. [18:19] You write a few games; some on the web, some on mobile phones, some on the Ubuntu desktop, some on Windows. [18:19] And every time the user achieves something in a game, you save that achievement to that user's "achievements" database. [18:19] On Ubuntu, you'd save it into desktopcouch, and Ubuntu One will take care of synchronising that into the cloud. [18:20] On Android, your game would include the DroidCouch library which gives you simple access to save data directly into the user's personal cloud databases. [18:20] On the web, your game's backend could use the u1couch Python library to do the same thing, save directly into the cloud, or you could just use the underlying REST API (which is just standard CouchDB with OAuth signing; u1couch is just a wrapper) [18:21] Or you could write your own wrapper library for PHP or Rails or Flash or whatever you prefer (and then tell me about it so I can point to the documentation for it!) [18:21] At that point, all your games save achievements to the same place, so all your games can show you the achievements you've won in any game [18:22] And, as before, you can set up yourachievements.com where a user can log in and see all their achievements. [18:22] dael99 asked: everything will be web-based? Will some kid of API be available to use trough Python, Java or C directly? [18:23] dael99, certainly not everything is web-based. Ubuntu One is about you working with your stuff on your own terms [18:23] So part of that is that your data is everywhere, if you want it to be. [18:23] You can work with the copy that's in the cloud, or with the local copy of it, whether that's data, files, music, whatever. [18:24] For working with data in the cloud, there'll be web-based APIs, and then wrappers for those APIs for various languages. [18:24] So you'll be able to, for example, just import a Python library and write code Pythonically with that API, and hardly even have to care that that API goes off to the cloud to do its work. As far as you're concerned, it's just Python. [18:25] chadadavis asked: How does local caching of settings and data work? Can there be a bidirectional pipe between gconf (or dconf, or whatever) and ubuntuone? [18:25] chadadavis, yes, there could be; it would be possible to write a desktopcouch backend for {g,d}conf. [18:26] There are a couple of interesting problems to solve, there; most applications don't distinguish between "stuff I care about which is specific to this machine" and "stuff I care about generally". [18:26] Imagine, for example, that an app stores its window position in dconf [18:26] syncing that to your netbook might be a problem. [18:26] So there are some fun issues around that, but it would certainly be possible to do if you wanted to. [18:27] darkdevil_ asked: will there be any feature with which I will be able to sync my Ubuntu One cloud with any existing non Ubuntu One clouds? [18:27] darkdevil_, that depends on precisely what you mean. [18:28] Your data is stored in CouchDB. So you can replicate data from Ubuntu One to any other CouchDB anywhere, and the reverse. [18:28] Your files are also accessible via the API, so you can pull files out of Ubuntu One directly and push them into another cloud provider if you want to, and the reverse. [18:28] These are the components that you'll be able to snap together. [18:29] davidboy asked: There's going to be PHP bindings right? So I can write web apps that take advantage of U1, etc. [18:29] Certainly it will be entirely possible to write PHP bindings; the APIs that your web apps will talk to are just HTTP, so anything that can do HTTP requests (which PHP happily can) will be able to use them. [18:30] So you will be able to use PHP to talk to Ubuntu One out of the box. [18:30] It might be cool for someone to write a wrapper library to make that sort of thing even easier for PHP developers [18:31] I don't think we'd do that on the Ubuntu One team ourselves, because (a) we're not PHP developers, and (b) it's best for us to concentrate on making the APIs great. But one of the things I'd love to do is point at those wrapper libraries from the main API documentation [18:31] There's loads of stuff you can do with shared data. [18:31] But Ubuntu One's not just about data. [18:32] Take the music streaming service, for example. [18:32] You can currently stream music to Android and iPhone, and you'll be able to add that music to the cloud from Ubuntu and Windows. [18:32] Maybe you want to be able to stream music back to your Ubuntu machine without syncing it, or your Mac, or your Palm Pre, or your LG mobile phone, or your toaster. [18:33] So, just use the music streaming API, which is a simple REST HTTP API, based on the Subsonic API, or help people to get at their music by showing them our HTML5 web player for streaming music. [18:33] But there's more interesting ideas around music streaming than just "listen to the music". [18:33] Playlists, for example. The Ubuntu One Streaming apps on Android and iPhone know how to create playlists. [18:34] But how they do that is not a secret. Your playlists are just stored in your cloud databases. [18:34] (well, they will be once this stuff exists. See above point about how all this is being written. :)) [18:35] So, why not sync your playlists from Banshee or Rhythmbox or Amarok or Exaile or Quod Libet or iTunes or Windows Media Player? [18:35] Copy the playlists from your media player into desktopcouch on Ubuntu or into the cloud directly with u1couch on Windows or the Mac or anywhere else, in the correct format, and those playlists will instantly show up on your phone! [18:35] A simple example of this is https://code.launchpad.net/~sil/%2Bjunk/m3u2u1ms/ which is a quick script I wrote to take an m3u playlist and store it in desktopcouch on Ubuntu. [18:35] So you can make your Banshee playlists available to the Ubuntu One app on your Android phone by exporting them as m3u and then importing them with the script. [18:36] Tighter integration is great, here; what we want to do is to make it easy for you all to build the stuff that you want on top of Ubuntu One. [18:36] So if you want to have your Amarok playlists available for streaming, it should be possible to do. [18:36] I rather like the idea of playing a Flash game on the web and having the background music be the most appropriate music chosen from *my* music collection. That'd be cool. [18:37] jderose asked: Will U1 ever offer continuous CouchDB replication? Like say *someone* was developing a distributed video editor with real-time collaboration :) [18:37] jderose, cor, just imagine if someone was doing that, eh? (you should all watch jderose's lightning talk at the end of the week ;)) [18:38] Continuous replication: not planned right now. (There are some big issues with turning it on for lots and lots and lots and lots and lots of databases, which is what we have.) [18:38] It's something I want to continue to investigate, though. [18:39] Ubuntu One also, as you know, does file sync. [18:39] But just syncing files is already taken care of by Ubuntu One itself, on Ubuntu and Windows. [18:39] What's more interesting is working with those files. [18:39] So, for example, imagine being able to instantly, one-click-ly, publish a file from your application to a public URL and then tweet that URL. [18:40] Instant get-this-out-there-ness from your apps. [18:40] The screenshot tool Shutter, for example, can do this already; PrtSc to take a screenshot, then "Export > Ubuntu One". [18:41] They did a bunch of hard work to do that, and I massively applaud them; nice one Shutter team! [18:41] Based on what they did, that's the sort of thing that should be easier to do. [18:41] So there will be easy-to-use APIs so your apps can do the same. Imagine quickly sharing your newly created image or document or recipe with the world. [18:41] Your app could have a button to "store all my files in the cloud", or "publish all my files when I save them", or "automatically share files that are part of Project X with my boss". [18:42] More to the point, you'll be able to work with files directly *in* the cloud. [18:42] So a backup program, for example, could back up your files straight into Ubuntu One and not sync them to your local machines. [18:43] And of course being able to save things in and out of the cloud means that you can get an Ubuntu One sync solution on other platforms. [18:43] So you could work with your files from your non-Android mobile phone (we've already got the great mkarnicki working on that for Android!) [18:44] Build a fuse or gvfs backend for Ubuntu or Fedora or SuSE or Arch Linux. Build a WebDAV server which works with Ubuntu One and mount your Ubuntu One storage as a remote folder on your Mac. [18:44] And web apps can work with your cloud too, for files as well as data. [18:45] Imagine, say, a torrent client, running on the web, which can download something like a movie or music from legittorrents.info and save it directly into your cloud storage. [18:45] So you see an album you want on that torrent site (say, Ghosts I by Nine Inch Nails) and go tell this web torrent client about it (and you've signed in to that web torrent client with Ubuntu One) [18:45] And the website then downloads that NIN album directly into your personal cloud -- which of course makes it available for streaming direct to your phone. [18:47] You could do that with videos as well: choose a torrentable video (say, Beyond the Game, the documentary about World of Warcraft) and download that directly into your cloud, if someone built the web torrent client. [18:47] (Of course, that would be cooler if Ubuntu One offered a video streaming service as well as music streaming, wouldn't it. Hm... ;-) [18:48] But it's not just about your content for yourself; think about sharing. [18:48] Ubuntu One lets you share a folder with people. This would be great for distribution. [18:48] Imagine that you publish an online magazine. [18:48] So, you create a folder on your desktop, and put issues of the magazine in it. [18:49] Then, you put a button on your website saying "Sign in with Ubuntu One to get our magazine". [18:49] When someone signs in, your website connects to the Ubuntu One files API, with your private OAuth token, and adds that signed-in user to the list of people that your magazine folder is shared with. [18:49] Then, whenever your magazine has a new issue, you just drop it into that folder on your desktop. [18:49] (Or even upload it to Ubuntu One directly through the website.) [18:49] All the subscribed people will get the new issue instantly, on all the machines they want it on, and in the cloud. [18:50] You could distribute anything like this. Imagine a podcast, or chapters of a novel. [18:50] It would also work for paid-for content; when someone pays, have your code share a folder with them, and put their paid-for stuff in that folder. That's all doable through the files API. [18:51] We're building the files API itself (an HTTP-based REST API) and also some wrappers for it to make it easier to use in your apps from Python and the like. [18:51] There are 10 minutes remaining in the current session. [18:51] OK, I've talked about a blizzard of ideas that'll be made possible, and shown you almost no code. [18:51] Which is because, as mentioned at the beginning, a lot of this code is currently being written and tested as part of the 11.04 release :) [18:52] However, code is nothing without documentation, and that's really important. [18:52] My main task for this cycle is to build documentation for all of this stuff; how to use Ubuntu One and all the APIs we provide in the cloud, on Android, on Windows, on iOS, on Ubuntu. [18:52] So there'll be documentation for all this stuff so all of you clever people can build things that I haven't even dreamed of. [18:53] We did some user research (thanks ivanka and the user research team!) on which sites have great API documentation and which don't, so we have an idea of good directions to go in. [18:53] And I'm working away feverishly on getting an alpha version out! [18:54] So, to summarise, since I'm running out of time: what the app developer programme is all about is giving all of you the chance to use Ubuntu One as a piece of infrastructure...like Gtk, or Python's urllib module, or PHP's curl bindings. [18:55] When you want your users, or you, to be able to get at their data on their terms, from anywhere, then you should be able to use Ubuntu One to do that [18:55] So, what I'd like to know is: what are your cool ideas? What help do you need from me in making them happen? What do you want to use Ubuntu One for in your apps and your scripts and your work? [18:55] davidboy asked: So when will the documentation be up? :D [18:56] There are 5 minutes remaining in the current session. [18:56] davidboy, at 11.04 release! That's the deadline :) [18:57] So you'll be able to start working with this stuff once natty comes out -- but we're documenting and building APIs for all sorts of platforms, as I said; for Ubuntu 11.04, for the web, for Windows and Android. [18:57] So your apps can be anywhere and all work together :) [18:57] chadadavis asked: URL to current code / docs / wiki, so that we can follow development? [18:58] at the moment there isn't one, because half of the APIs aren't yet written. There are blueprints you can look at which show some of this work [18:58] and I'd like to get an alpha version of the documentation up as early as possible [18:58] OK, I've got 2 minutes left: any final questions? [18:59] Then I shall hand you over to the seif and manish show to hear about the greatness that is Zeitgeist :) [19:00] thanks :) [19:00] seiflotfy, manish, it's all yours. Thanks, everyone! [19:00] Thanks aquarius [19:00] thank you aquarius === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Developer Week - Current Session: Rocking with Zeitgeist - Instructors: manish, seiflotfy [19:01] manish, ready [19:01] ? [19:01] yes [19:01] Logs for this session will be available at http://irclogs.ubuntu.com/2011/03/01/%23ubuntu-classroom.html following the conclusion of the session. [19:01] Hello everyone [19:01] This session will introduce you to zeitgeist [19:01] and its related to components [19:01] the agenda is here https://wiki.ubuntu.com/UbuntuDeveloperWeek/Sessions [19:01] scroll down [19:01] I will post it here [19:01] What is Zeitgeist and what it is not - 10 mins [19:02] Security Implications - 5 mins [19:02] Technologies used - 5 mins [19:02] Components of Zeitgeist - 10 mins [19:02] Integration of Zeitgeist in applications - 10 mins [19:02] Latest release numbers and installing zeitgeist - 5 mins [19:02] and finally FAQ for 15 mins [19:03] I have allocated FAQ for 15 mins because I see there are a lot of confusion reguarding what zeitgeist is [19:03] Let us start with first [19:03] What is zeitgeist? [19:03] Zeitgeist is an event logger which keeps a track of your activities while you are using your computer (any supported computing device). [19:03] Events such as opening files, closing files, recieveing calls, sending a message on Instant Messenger (GTalk, Yahoo etc) are logged by Zeitgeist. [19:04] The logging can be configured, so you have the complete control on what is logged and what is not. [19:04] This data can then be used for variety of useful activities. [19:04] Some of the possibilities are having a complete skype, empathy, pidgin call log. [19:04] Finding out with you converse the most. [19:04] You can check which applications you launch the most and how many times you have opened a specific file. [19:05] People ask me - what are the possibilities of the things we can do with this [19:05] I reply - The possibilities are endless, the sky is the limit [19:05] I am hoping on you people to come up with innovative ideas after this session [19:05] after coming to know what zeitgeist is exactly an what it is not [19:05] so now what zeitgeist is not? [19:06] First and formost - Zeitgeist is not a search engine!!! [19:06] remember this [19:06] it is an event logged [19:06] *logger [19:06] If you have some file on your system, then don't expect zeitgeist to search for it. [19:07] It is not the work of zeitgeist to scan you disks and find files. [19:07] It's work is to track your activities and log it. [19:07] As opposed to general misconception, zeitgeist doesn't track files [19:07] Zeitgeist deals with events and not files. [19:07] There are events where no file is involved like recieveing a call. [19:07] UndiFineD asked: are there apps for mobiles, to be keeping track of my android [19:08] actually work is going on to port it to phones too [19:08] we had a prototype for Maemo [19:08] and android [19:08] but sadly Maemo's future is not clear after it got merged with Meego which again is a bit confusing [19:08] we are working on android [19:09] http://zeitgeist-android.com/ [19:09] since Android doesn't use the standard linux stack, some work is needed for making it run on android [19:09] esp testing the port is very important [19:09] darkdevil71 asked: is it a key logger ? [19:10] darkdevil71, no its not [19:10] darkdevil71: I will come to it. It is the next topic. The security implication [19:10] darkdevil71: it doesnt track each and every key you press [19:11] it just logs your activity [19:11] most opening and closing of files [19:11] and some other events [19:11] which events you want to send is configurable [19:11] though the api is still a bit crippled [19:11] Next is - Security Implications [19:11] You might heard that Zeitgeist is a malware/spyware which tracks your activities. [19:11] This is not an exact definition of malware/spyware. [19:12] Malwares record your activity, steal your data without your approval and sneak into the system without system. They have a destructive intention. [19:12] Contrast this with zeitgeist, it records events so that it can be used for constructive purposes. [19:12] It's like nuclear technology. [19:12] Use it constructively, it will benefit mankind, use it destructively and you will be harmed. [19:12] One concern people raise is that if some malware is installed, then it can steal the zeitgeist data. [19:13] In this scenario, if a malware is installed, then you are at a bigger risk than just getting your zeitgeist data stolen. [19:13] Your pidgin passwords are stored in plain text in your home directory. [19:13] (last when I used pidgin) [19:13] Your browser's history is very easily accessible. [19:13] If you have not set the master password in Firefox, then even your passwords are available to the malware. [19:14] any questions related to security implications? [19:15] Next up we have - Technologies used in Zeitgeist [19:15] Zeitgeist is written using Python and uses sqlite to store the events. [19:15] It exposes an API using DBus using which other applications can communicate with it. [19:16] Below the hood, it is basically dependent on glib which makes zeitgeist portable. [19:16] Get a proper port of dbus and glib on windows and zeitgeist should run there without much issues. [19:17] or in this case any other OS [19:17] Next up - Components of zeitgeist [19:18] Zeitgeist is not a single project [19:18] but a collection is components [19:18] helper libraries etc [19:18] a framework more or less [19:18] yeah [19:18] the core part is the engine [19:18] or the daemon [19:19] At the core of zeitgeist is an engine which stores all the events and acts as the store. [19:19] It recieves and provides relevant information(events) to other process. [19:19] The information is exposed via a DBus Session bus. [19:19] If the zeitgeist server is not running, the first time an application invokes a method over DBus, the daemon is started. [19:20] I don't remember the exact name what this is called - autostarting a session bus when first call is made. Hope someone can tell me on #ubuntu-classroom-chat [19:20] The second component is called the datahub [19:20] I know sounds dangerous a bit [19:21] it is a passive logger [19:21] there needs to be some component which keeps on pushing data to the daemon [19:21] or the daemon is nothing more than a white elephant [19:21] Thanks to aquarius that is called DBus activation -- autostarting a session bus when first call is made. [19:21] coming back [19:22] so datahub is a logger [19:22] which also runs as a daemon [19:22] and looks at the recently used files [19:22] and pushes them in the daemon [19:23] so basically when you open a file by double clicking using nautilus datahub comes in picture [19:23] I wont go much in the geekery of implementation [19:23] for adventurous people - "bzr branch lp:zeitgeist-datahub" is your friend [19:24] one more thing I forgot was telling you people about our website, sorry [19:24] http://zeitgeist-project.com/ [19:24] Download section: http://zeitgeist-project.com/download/ [19:24] development - http://zeitgeist-project.com/development/ [19:24] and we are always available at #zeitgeist on freenode [19:25] next up - Activity Journal [19:25] it was formely called gnome-activity-journal [19:25] it is a GUI viewer for your events [19:25] like a dashboard [19:26] With proper zeitgeist extensions you can even have more detailed logs including when you joined an IRC channel or when you received or dropped a call over your IM client. [19:26] you can install it, it is in the repos [19:26] as gnome-activity-journal [19:26] If you right click on any event and select "More Information", you can come to know what other files were opened or which other activity you were engaged in during this event. You can delete the event if you do not like it. [19:26] next up is - Dataproviders [19:27] Dataproviders are small extension/addins/addons/plugins into applications which can push events to zeitgeist. [19:27] we also call it datasources [19:27] same thing [19:27] Datahub cannot push everything to the daemon. [19:27] It mostly tracks opening of files by double-clicking from file browser. [19:27] Using data-providers more *relevant* events can be added like "Creating a new playlist", "Buying a track from foo music store" [19:27] next up is - Extensions [19:28] When we say extensions, it refers to zeitgeist daemon extensions. [19:28] means the extensions for the daemon [19:28] and not the client [19:28] Zeitgeist extensions are those components using which you can control he behavior of how the daemon behaves. You can expose additional information via DBus. [19:28] In a nutshell, you this is your tool of trade if you are not satisfied with how zeitgeist behaves. One size doesn't fit all. :) [19:28] If you want to have an inner scoop of extensions behavior, check [19:28] http://milky.manishsinha.net/2010/11/27/zeitgeist-daemon-extensions-explained/ [19:29] chadadavis asked: facilities for plugins, e.g. Facebook to include external activity streams? [19:29] chadadavis: yes [19:29] that is what I was telling about dataproviders [19:29] I or you can write dataprovieders [19:29] which can probably run as a daemon pulling data from all your web apps [19:29] and logging them in zeitgeist [19:30] which is again browsable [19:30] chadadavis: nice idea. Added to my TODO [19:30] MickStep asked: is it likly that a syncing service will every be created for zeitgeist, like tomboy created snowy [19:30] MickStep: yes. We were working on it [19:30] but due to some shortage of time [19:30] personal lie [19:31] and other important priorities related to zeitgeist pushed this feature a bit below our priority queue [19:31] thanks for bringing it up [19:31] will look into it [19:31] People, ask your questions :) [19:31] jderose asked: Speaking of syncing, are alternate storage backends a possibility for Zeitgeist, like say desktopcouch? [19:31] jderose: right now none. It can be looked into [19:32] but the thing is that is not worth the effort as of now. Since right now we are spending our time in deploying zeitgeist [19:32] integration with applications [19:33] for you call, you can add our zeitgeist ppa or latest packages. Sadly most of the packages are for Maverick [19:33] https://launchpad.net/~zeitgeist/+archive/ppa [19:33] this PPA [19:33] there are many zeitgeist-datasources-* packages [19:33] like one for tomboy [19:34] if you install that package [19:34] zeitgeist-datasource-tomboy [19:34] then your opened, closed notes will appear in GAJ :) [19:34] if you install the -xchat datasource [19:34] it will show you which all channels you joined [19:34] when you talked [19:34] when you quit, parted [19:35] cando_ is the current maintainer of gnome-activity-journal [19:35] there are many datasources/dataproviders have a look at them in the PPA [19:36] next is Language bindings [19:40] by language bindings I mean, language specific wrappers over zeitgeist api [19:40] you can use zeitgeist using it's python client [19:40] which is shipped along with the daemon [19:40] for C/Vala we have libzeitgeist [19:40] http://launchpad.net/libzeitgeist [19:40] for mono (C#) we have zeitgeist-sharp http://launchpad.net/zeitgeist-sharp [19:40] Qt - libqzeitgeist [19:40] http://gitorious.org/kde-zeitgeist/libqzeitgeist [19:40] and we also have for javascript [19:40] but still it is not not yet mature [19:40] needs work [19:40] next is Zeitgeist integration [19:40] 1) Unity [19:40] okay I will come to it [19:40] now lets goto questions [19:40] techbreak_ asked: its in gsoc ? [19:40] if you asked if zeitgeist is in gsoc, then we are trying, not sure if we need to apply independently [19:40] it doesnt make sense [19:40] we need zeitgeist integration in applications like kde, gnome apps [19:40] zeitgeist will be offering some work over several organizations [19:40] such as KDE, GNOME and hopefully Ubunut [19:40] UndiFineD asked: can we read out data from zeitgeist, if so could we get some statistics, maybe people would like to compare productivity [19:40] UndiFineD: yes. you can [19:40] use the API [19:40] if you like, you can use the language of your choice [19:40] Python, C, Vala, C#, Javascript [19:41] as I can see in the -chat channel, there is some confusion [19:41] zeitgeist doesnt look for any data [19:41] it just sits and waits for events to be pushed [19:41] when asked it hands out events [19:42] the pushing it done by datasources [19:42] jeyd asked: what about the xchat datasource in LUCID? [19:43] jeyd: we need to put that too. I can see that -datasources package is there for lucid [19:43] and the lucid package doesnt have xchat [19:43] * manish puts this in TODO [19:43] for more info https://launchpad.net/~zeitgeist/+archive/ppa/+packages [19:44] godbyk asked: Does Zeitgeist only pay attention to the channel part/join events and ignore what was actually said in the channel? [19:44] godbyk: it wont log each and every line you said [19:44] use your irc client's logging functionality [19:45] techbreak_ asked: which language it is written inn ? [19:45] as I said zeitgeist is written in Python [19:46] MickStep asked: What is the simplest example you can provide for how to write a dataprovider [19:46] there is one [19:46] I will use Python's example [19:47] you can check it in git. [19:47] git.gnome.or [19:47] this one [19:48] http://git.gnome.org/browse/rhythmbox/tree/plugins/rbzeitgeist/rbzeitgeist/__init__.py [19:48] the RB plugin [19:48] We have implemenation for Unity [19:48] Unity makes use of Zeitgeist in its dash where it provides the user with easy access to its most and recently used data (files/folders/applications) as well as searching over the Zeitgeist FTS (Full Text Search) extension. [19:48] There is more development going on to bring the same features to a contacts dash where the user can browse his contacts by most/recently used. [19:49] a snapshot by seiflotfy [19:49] http://zeitgeist-project.com/wp-content/uploads/2010/12/unity-most-used-apps.png [19:49] then we have it integrated in Synapse === sre-su_ is now known as sre-su [19:49] the uber-cool launcher written by mhr3 and his team [19:49] Other than heavily depending on the Zeitgeist FTS (Full Text Search) extension for searching, you can also browse recent items which were logged by Zeitgeist, in case you close a document by mistake or just want to hear again the music track that played a few minutes ago. [19:50] It also has a relevancy service, which makes sure that applications you use often end up among the first results of a search – this is done using Zeitgeist, so you can also track the popularity also in other Zeitgeist clients. [19:50] obligatory snapshot - http://zeitgeist-project.com/wp-content/uploads/2010/12/synapse-search-sort-apps-ranking.png [19:50] I already told about Activity Journal [19:50] http://zeitgeist-project.com/wp-content/uploads/2010/12/gaj-diary.png [19:50] http://zeitgeist-project.com/wp-content/uploads/2010/12/gaj-timeline.png [19:50] manish, i think it would be cool to show them the tomboy plugin that provides "used with" [19:50] yeah [19:51] There are 10 minutes remaining in the current session. [19:51] The used with is here http://thoughts.manishsinha.net/photo/1280/2890463378/1/tumblr_lfh52cBm7g1qcwfsm [19:51] here you can even see bzr plugin in action [19:51] and xchat plugin in action [19:51] seiflotfy: you have a snapshot with tomboy plugin [19:51] can you take one and upload before this session gets over? [19:52] yeah [19:52] last in integration section is Docky [19:52] The integration with Zeitgeist is in the form of generating jump-lists for applications and folders [19:52] An application that is provided a jump-list is populated with the most and recently used data that was used with it. This also applies for folder where the most and recently used files are displayed in its jump-list. [19:52] snapshot: http://zeitgeist-project.com/wp-content/uploads/2010/12/docky-folder-jump1-300x289.png [19:52] http://zeitgeist-project.com/wp-content/uploads/2010/12/docky-app-jump-300x300.png [19:53] http://seilo.geekyogre.com/2010/08/zeitgeist-hearts-tomboy/ [19:53] this is a video of zeitgeist being used by tomboy [19:53] Next is Installation: [19:53] Stable PPA: http://launchpad.net/~zeitgeist/+archive/ppa [19:53] I have an experimental PPA where i love to upload packages [19:53] bleeding edge [19:53] enough to break your system [19:53] http://launchpad.net/~manishsinha/+archive/experimental [19:54] use it with care, if you are adventurous, this is you best best [19:54] The best way to install zeitgeist is from PPA of official repos [19:54] *or [19:54] or if you want to check the latest versions [19:54] Zeitgeist Engine - 0.7 "All I have is this woodchuck" [19:54] http://launchpad.net/zeitgeist/0.7/0.7 [19:54] Zeitgeist Datahub - 0.7.0 [19:54] http://launchpad.net/zeitgeist-datahub/0.7/0.7.0 [19:54] Activity Journal - 0.6.0 "Pink Unicorns don't exist" [19:54] http://launchpad.net/gnome-activity-journal/0.6/0.6.0 [19:55] libzeitgeist - 0.3.2 Rattleweed [19:55] http://launchpad.net/libzeitgeist/0.3/0.3.2 [19:55] zeitgeist-sharp - 0.1.1 Lily [19:55] Lily is the character from HIMYM (I love that series) :) [19:55] http://launchpad.net/zeitgeist-sharp/0.1/0.1.1 [19:55] libQZeitgeist - 0.1 "Hit ‘n Run" [19:55] http://www.gitorious.org/kde-zeitgeist/libqzeitgeist/archive-tarball/master [19:55] and for dataproviders we have only snapshot releases [19:55] which we package [19:56] There are 5 minutes remaining in the current session. [19:56] godbyk asked: What are some of your favorite future plans for Zeitgeist? How and where would you like to see it be used in the future? [19:56] godbyk: nice question [19:56] godbyk, alot [19:56] fav plans are [19:56] having a good blacklist plugin [19:56] that is wat everyone wants [19:56] and Banshee integration [19:56] which is my fav thing [19:56] and the geolocation deployment [19:56] yes [19:57] and syncing service [19:57] which is half implemented [19:57] it uses django [19:57] seiflotfy: shall we move to next quesiton? [19:57] JackyAlcine asked: Zeitgeist is a semantic framework, like NEPOMUK, no? Is it possible to use this to do automation tasks like perhaps, backups of the last few used documents? [19:57] JackyAlcine, no its not like NEPOMUK [19:57] seiflotfy: your turn to answer this [19:57] NEPOMUK is a ontology [19:57] NEPOMUK KDE is a repository [19:58] NEPOMUK KDE knows about what your files are about [19:58] Zeitgeist is a log [19:58] it knows how you use your files and how they are contextually related [19:58] !q [19:59] techbreak_ asked: any video log it keeps ? [19:59] what do you mean [19:59] if u have any questions please join #zeitgeist [19:59] we will be happy to help you out there [19:59] our time is up [19:59] so thanks you [19:59] we have most of our discussion on irc [19:59] and we hardly use mailing lists [19:59] thanks you everyone === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Developer Week - Current Session: Getting your fixes into Debian, how to make community happy - Instructors: Rhonda, nigelb [20:01] Logs for this session will be available at http://irclogs.ubuntu.com/2011/03/01/%23ubuntu-classroom.html following the conclusion of the session. [20:01] So, let's continue with the schedule without further interruption, to keep you satisfied. === neversfelde_ is now known as neversfelde [20:02] Please reminded to ask your questions in #ubuntu-classroom-chat and prefix them with QUESTION: so that ClassBot can pick them up. [20:02] I'm Rhonda and I'm your host for the last session today which is about "Getting your fixes into Debian, how to make community happy" [20:03] I will be your host alone, unfortunately nigelb had to rest. [20:04] Anyway, I'm a longtime Debian Developer and have stumbled maintained a fair amount of packages for Debian for a long time, so I managed to get a good overview on how to work with the Debian Bug Tracking System (BTS). [20:04] First let me tell you why you want to send bugreports to Debian and get fixes done there instead of in Ubuntu. [20:05] You might have attended the great session of tumbleweed yesterday where he mentioned the why. [20:05] Let me quote him, "we should rather report the mistake to the upstream, and we'll get the benefit of the fix, without extra effort, when the upstream releases a new version" [20:05] And: "during [regular development time], any uploads to debian get pulled over pretty quickly (assuming we haven't deviated from Debian)" [20:06] Having a difference within Ubuntu requires a lot of overhead because a merge can't happen automatically. It requires someone to take a look at it, requires testing, wether it still applies, and stuff. [20:06] And then there is also our Code of Conduct which asks us to be collaborative, to give back. [20:07] So every patch that is pushed upstream is a patch less for us to keep care of, with the additional benefit to the rest of the Free Software ecosystem. [20:08] Unfortunately (for certain definitions of that word) Debian doesn't use launchpad but debbugs, a special tailored BTS done for the requirements within Debian. [20:08] The first interface I want you to get familiar with is the website: http://bugs.debian.org/ [20:09] It offers you simply and quite convenient query shortcuts - and it's just that: A query interface. [20:09] The Debian BTS is run and operated only by emails, the website is a read-only tool. [20:10] But it still offers a lot: If you want to see e.g. the bugreports about a certain package, you just add the packagename to the URL, like in http://bugs.debian.org/wesnoth-1.8 [20:10] There you get an overview of all the open bugreports against said package. [20:11] From there you can click through and end up with different queries, like for a specific bugreport (which can also be reached through http://bugs.debian.org/bugnumber, like http://bugs.debian.org/12345) [20:12] Or for a specific package maintainer address, it's http://bugs.debian.org/maintainer@email.address [20:12] But more interesting for you, when you are reporting bugs, probably is to query all of your reported bugs that weren't dealt with yet. This is mine: http://bugs.debian.org/from:rhonda@debian.at [20:13] hugohirsch asked: I need to know the exact version of the package I'm looking for bugs in Debian, right? [20:13] No, the overview page for the bugs for a package aren't for a specific version, or release. You get them all on one page there. [20:14] If you scroll down to the end of the overview page you have a form where you can narrow down the list, but in general you get them all. [20:15] If your question was related to wesnoth-1.8, the 1.8 is part of the package name, it's not the package version. Sorry for having used a confusing example here. :) [20:16] Please notice that a source package can have multiple binary packages, and if you want an overview for all the bugs for a certain source package, you go to http://bugs.debian.org/src:sourcepackagename [20:16] Anyway, like said, the website is just a query interface. The actual working stuff behind debbugs is its email interface. [20:17] There is one commandline tool that is very popular because it prepares a report template for you and fills in some additional information that are helpful for the package maintainer. That tool is called reportbug. [20:18] Within Ubuntu though, you need to add pass the -B debian option to reportbug, otherwise it will tell you that you should use launchpad (for Ubuntu) instead to report bugs. :) [20:19] So if you run reportbug -B debian somepackage, you will be asked a few questions, an editor will get fired up into which you enter the description of the bug, and then you can send it. [20:19] This though requires usually a local installed mail transport agent, which might be a bit cumbersome. But even in those cases, reportbug can be very useful. [20:20] It has a --template option which can produce the template text for you to paste into your preferred email client to get the additional information for the package maintainers. [20:20] hugohirsch asked: Is reportbug similar to ubuntu-bug (reporting to LP instead)? [20:21] Actually I've never used ubuntu-bug, this is where I would have hoped for a person deeper involved in Ubuntu to jump in to the rescue. ;) [20:22] The general overview about debbugs can be found on https://wiki.ubuntu.com/Debian/Bugs, and the specific description about the email interface is at http://www.debian.org/Bugs/Reporting [20:23] Actually reporting a bug to Debian is sending an email to submit@bugs.debian.org and add a few pseudo header lines in the first lines of your mail text. [20:24] The most important here is "Package: packagename" so that the BTS knows where to sort your bugreport to. [20:24] There are additional ones, like "Version: 1.2.3" to note that you found the bug in said version. [20:25] Then there is "Severity: important" - this tells the BTS the severity of the bugreport. Valid values here are grave, critical, serious, important, normal, minor and wishlist [20:25] Please don't choose the first three unless you are very certain here, they have a special meaning, I'll return to them later. [20:26] If you are uncertain, just leave it out and it will default to normal. All these things can be adjusted later. [20:26] You will receive an email in return telling you that your bugreport was received and telling you the number of the bugreport, for a reference. [20:27] And here we come to the control bot of the BTS, reachable through control@bugs.debian.org [20:27] You can send it commands to manipulate the bugs, and for this you need the bugnumber. [20:28] The documentation for that can be found at http://www.debian.org/Bugs/server-control - you can see the list of commands in the table at the top. [20:29] Is this debian method of dealing with bugs through email descended from the days before the WWW really took off [20:30] Actually to some degree, or rather not. Yes, there weren't these possibilities in the early days of html, but forms were already there. [20:30] But what actually is important for us to be able to reach the bug reporters, and an email interface is very convenient in that way because email is quite universal. [20:32] With the commands for the control bot you can see that you can adjust almost all values, like with "severity 12345 important" you'd change the severity of that bug, with "forwarded 123 http://upstream.bugtracker/456" you can note down that this bug was also reported to some upstream project [20:32] The "tag" command is also very useful, bugs can be marked with certain tags. [20:33] Commonly used ones are moreinfo, unreproducible, wontfix, patch, help, security, pending, and releasename tags, like squeeze or wheezy or sid. [20:34] retitle will set the bugtitle new, in case when the original bugreporter didn't provide a useful summary in the subject [20:34] With found one can note down additional affecting versions, and with fixed one can note down that the bug is fixed in said version. [20:35] Though, usually when bugs get closed in a version, it is done similar to how it's done in Ubuntu: with a changelog entry. [20:35] For Debian this goes like "Closes: #12345" (in Ubuntu it's "LP: #12345") [20:36] That will do two things in the end: It sets the fixed version in the bugreport, and it will mark the bugreport as done. [20:36] And this is where I want to start with explaining how version tracking works in the Debian BTS. [20:37] Because usually, after a while, bugs get archived so they disappear from the overview page. [20:37] I wrote this down in a blog post of mine last year, but I'll explain it here nevertheless. The blogpost as a reference can be found here: http://rhonda.deb.at/blog/debian/on-BTS-usage.html [20:38] Bugs get archived after 28 days they are done. [20:39] Though, there might be certain delaying factors here: The bug has to be done on all architectures in unstable and in testing. [20:39] When that's the case, the counter start. [20:39] Well, it has to be done in testing only when the version tracking also sees testing as affected. [20:40] When the bugreport was filed against a version that is only in unstable and all archs are in sync in unstable the counter starts then already. [20:40] Also there are these special bug severities that I mentioned earlier: grave, critical and serious. [20:41] Those are considered Release Critical bugs, and such bugs have to get fixed in _all_ affected distributions, not only in the ones in development. [20:41] That means, bugreports for RC bugs that are done in unstable will still stay around in the overview for the package as a reminder. [20:42] Sometimes though version tracking gets a bit tricky. [20:42] I've dug up some bugreports that we can take a look at to learn to understand it. [20:43] And actually, I want to also mention another great helpful tool, which is parts of the devscripts package: It's called "bts". [20:43] bts is a commandline client to the BTS. Actually what it does is create a mail to control@bugs built from the options you give. [20:44] The former mentioned example of setting the severity of a bugreport would be as easy with bts as "bts severity 12345 important". [20:44] Please notice again that this requires a local configured MTA (ssmtp is quite easy for simple sending out mails) [20:45] And it takes your DEBEMAIL environment variable as email address, so make sure to set that to your preferred value. [20:45] MickStep asked: That debian ssl bug was a "grave"? [20:46] Quite certainly. :) You can read up on the definitions of the servities in the BTS documentation on http://www.debian.org/Bugs/ [20:47] So, coming back to my examples. Let's start to dig through the overview page that I mentioned before first, explaining a few more interesting parts there. [20:48] http://bugs.debian.org/wesnoth-1.8 - you see the bugreports grouped by severities. You have links to the Bugs themself in the number, after that is a box of [m| | ] which notes down some flags. [20:48] If you hover the characters you get their meaning in a tooltip - but you can also click there to get additional overview information [20:49] Like who reported the bug, when, the tags, and such# [20:49] If you actually go to the bug page, you find overview information at the top, and a version graph on the righthand side. [20:49] Red circles mark affected versions, green boxes fixed versions. [20:50] You also can see the distribution parts in there to see wether stable, testing and unstable are affected [20:50] Let's look at a specific bug: http://bugs.debian.org/612780 [20:51] There are 10 minutes remaining in the current session. [20:51] You don't see a version graph here because there aren't any version information given. [20:51] The total lack of version information makes the BTS think the bug affects all versions of the package. [20:52] Actually, building against a package from experimental isn't a release critical bug, so what am I going to do? [20:52] I call this command: [20:52] bts severity 612780 important '# FTBFS against packages in experimental is not RC' [20:53] Leave the page open, we will reload it in a few minutes. :) [20:53] This bugreport is also interesting: http://bugs.debian.org/456558 [20:53] It actually does have a bug graph, and both found and fixed versions. [20:53] But why isn't there a green box? [20:54] If one looks close then one can see that it was found in the audacious package but fixed in the audacious-plugins package. [20:55] The BTS though doesn't find any information that audacious package is fixed, and the bugreport is assigned to that package. [20:55] So the proper fix to get that bugreport really done is a reassign to audacious-plugins package. [20:56] There are 5 minutes remaining in the current session. [20:56] Please notice that a reassign deletes all version information, so we have to re-add the fixed version afterwards. [20:56] Here bts comes to the rescue again, and this is a good example for a chained command: One can give multiple commands that are sent to the control bot in one commandline. This is what I am using: [20:56] bts reassign 456558 audacious-plugins '# done in different source package' . fixed 456558 2.0.1-1 [20:57] Actually there are more than just this bug in that state, so I rather leave this up to a team member responsible for audacious: bdrung, please reassign them all appropriately. ;) [20:58] The next example is more interesting: http://bugs.debian.org/src:mail-notification [20:58] You will find a fair amount of still non-archived bugs at the bottom of the page. [20:58] Let's pick out http://bugs.debian.org/383159 as example [20:59] The version graph is pretty unreadable here, so let's click on it to get it in bigger size. [20:59] If you look closer, you'll notice something pretty interesting: unstable is listed both in a green _and_ in a red box. [21:00] That's … special indeed. What's going on here? For that we use another fine resource as help: http://packages.debian.org/unstable/mail-notification [21:01] Logs for this session will be available at http://irclogs.ubuntu.com/2011/03/01/%23ubuntu-classroom.html [21:01] You might know a similar page, http://packages.ubuntu.com/ offers the same service for you, it's the same codebase. === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || [21:02] At the end you'll find that the hurd-i386 package has a different version than the others. [21:03] So actually the build for that architecture is having troubles. Given that that architecture is not really an official yet, filing a bugreport against ftp.debian.org and asking for removal of the package on that architecture will fix that. [21:03] … and I guess I should conclude the session, we run out of time. [21:04] The fineprint is: Version tracking in the Debian BTS is still something rather new, not all Debian Developers have a good understanding of it and it needs a fair amount of cleanup. [21:04] Don't be shy, feel free to ask, stumble by in #debian-ubuntu on irc.debian.org (different network than irc.ubuntu.com) and we'll try to help. [21:15] Bonsoir tout le monde !