Re: What logs should be displayed by default in the gnome-system-log viewer?

2011-12-08 Thread Martin Pitt
Sebastien Bacher [2011-12-08 17:57 +0100]:
> Does anyone have an opinion on what logs should be displayed by
> default, we could either use a static list in the default config of
> gnome-system-log or make it parse one of the rsyslog files if there
> is one which would provides the list we need.

Could we change it to parse /etc/rsyslog.d/50-default.conf instead?
This should be pretty much the format it expects.

Failing that, if we really need to hardcode, these seem useful:

/var/log/auth.log
/var/log/boot.log
/var/log/dpkg.log
/var/log/kern.log
/var/log/mail.log
/var/log/syslog
/var/log/Xorg.0.log

Xorg.0.log isn't from syslog, so perhaps that one should be hardcoded either
way?

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Please change python-gobject dependencies to python-gi

2011-12-08 Thread Martin Pitt
Owas Lone [2011-12-08 18:18 +0530]:
> Will this change affect 11.10 packages? 

No.

> I mean do we need seperate packaging for 11.10 and 12.04 now?

If you need packages to be backportable, you can set up dependencies
like

  Depends: python-gi | python-gobject (>= 3.0)

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: What logs should be displayed by default in the gnome-system-log viewer?

2011-12-08 Thread Andrea Corbellini
Hi. In the source code of gnome-system-log, just before the function
that parses /etc/syslog.conf, there's a note:

/* TODO: ideally we should parse configuration files in /etc/logrotate.conf
 * and all the files in /etc/logrotate.d/ and group all the logs referring
 * to the same entry under a category. Right now, we just do some
 * parsing instead, and fill with quasi-sensible defaults.
 */

So the long-term plan of GNOME is to parse /etc/logrotate* instead of
syslog.conf.

An another equivalent that could be used is /etc/rsyslog.conf (and
consequently /etc/rsyslog.d/*.conf), however, AFAIK, it uses a different
syntax.

Using a static list should be the fastest and painless solution. I'd say
you should put /var/log/{syslog,dmesg,kern.log,Xorg.0.log,auth.log}
and maybe also /var/log/dpkg.log and /var/log/apt/history.log

On Thu, 2011-12-08 at 17:57 +0100, Sebastien Bacher wrote:
> Hi,
> 
> Currently gnome-system-log is not displaying any log in Ubuntu [1], 
> that's because it tries to parse /etc/syslog.conf to get the list of 
> logs to display, which doesn't work with rsyslog.
> 
> Does anyone have an opinion on what logs should be displayed by default, 
> we could either use a static list in the default config of 
> gnome-system-log or make it parse one of the rsyslog files if there is 
> one which would provides the list we need.
> 
> Cheers,
> Sebastien Bacher
> 
> [1]
> 
> https://bugs.launchpad.net/bugs/841085
> 
> 



signature.asc
Description: This is a digitally signed message part
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Ubuntu Transition Tracker [Was: Please change python-gobject dependencies to python-gi]

2011-12-08 Thread Andrew Starr-Bochicchio
On Wed, Dec 7, 2011 at 5:46 AM, Martin Pitt  wrote:
> Hello Ubuntu developers,
>
> TL;DR: For packages which use the new python gobject-introspection
> bindings (from gi.repository import ...) instead of the old static
> bindings ("import gobject"), please change "python-gobject" build and
> binary dependencies to "python-gi". Same applies to python-gi-cairo.
> and python-gi-dev.

I took a stab at creating a transition tracker for this. It's located
at lp:~andrewsomething/+junk/python-gi-transition-tracker I don't know
how useful it will be for this particular transition as it seems most
of this will need to happen in Debian first. I mostly did it just to
take a look at how these trackers work. I ran into one obvious
difficulty. The tracker is hosted in a +junk branch.

It would be nice if
lp:~ubuntu-transition-trackers/+junk/transition-tracker was moved to a
proper project as it is impossible to propose a merge to a +junk
branch on Launchpad.

Thanks,

-- Andrew Starr-Bochicchio

   Ubuntu Developer 
   Debian Maintainer

   PGP/GPG Key ID: D53FDCB1

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


What logs should be displayed by default in the gnome-system-log viewer?

2011-12-08 Thread Sebastien Bacher

Hi,

Currently gnome-system-log is not displaying any log in Ubuntu [1], 
that's because it tries to parse /etc/syslog.conf to get the list of 
logs to display, which doesn't work with rsyslog.


Does anyone have an opinion on what logs should be displayed by default, 
we could either use a static list in the default config of 
gnome-system-log or make it parse one of the rsyslog files if there is 
one which would provides the list we need.


Cheers,
Sebastien Bacher

[1]

https://bugs.launchpad.net/bugs/841085


--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: Please change python-gobject dependencies to python-gi

2011-12-08 Thread Owas Lone
Will this change affect 11.10 packages? I mean do we need seperate
packaging for 11.10 and 12.04 now?

On Wed, Dec 7, 2011 at 4:16 PM, Martin Pitt  wrote:
> Hello Ubuntu developers,
>
> TL;DR: For packages which use the new python gobject-introspection
> bindings (from gi.repository import ...) instead of the old static
> bindings ("import gobject"), please change "python-gobject" build and
> binary dependencies to "python-gi". Same applies to python-gi-cairo.
> and python-gi-dev.
>
> Background:
>
> The pygobject package has a bit of a complicated history. It started
> with actually providing the "gobject" static binding and a few others
> such as "glib", then the new GI bindings ("gi.repository") were
> merged, and now it only contains the GI bindings and nothing else. We
> now have a pygobject-2 source package which provides the old static
> bindings for backwards compatibility.
>
> python-gobject is now a transitional package which pulls in both the
> new python-gi and the compatibility python-gobject-2 packages. The
> goal is to migrate everythign that uses GI to python-gi, so that it's
> easier to see which packages still need to be ported, and that
> pygobject-2 can eventually be removed.
>
> This change was already done for many packages in main, and I'll also
> follow the progress and do some fixes there, but it's better if more
> people than just me know the background and avoid introducing new
> dependencies to python-gobject.
>
> Thanks!
>
> Martin
> --
> Martin Pitt                        | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
>
> --
> ubuntu-devel mailing list
> ubuntu-devel@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>



-- 
Owais Lone
he...@owaislone.org
http://www.owaislone.org

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Patch pilot report 08-12-2011

2011-12-08 Thread Didier Roche

Hey guys,

Here is my patch pilot report (swapping it as I won't be around next week):


https://code.launchpad.net/~smoser/ubuntu-dev-tools/bad-http-proxy-logic/+merge/84898
-> merged

https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/901438,
https://code.launchpad.net/~mathieu-tl/ubuntu/precise/libnl3/merge-3.0-2/+merge/84861
-> approved and sponsored

https://code.launchpad.net/~mial/ubuntu/oneiric/unity/bug-791810/+merge/84593
-> rejected as it was retargeted against lp:unity, but the branch 
content wasn't change and so, there is no common history there.
Tried to comment to give some guidance on how to do it the right way 
(but we really have an issue advertizing "please do not use

this branch" where we are upstream for the project.

https://code.launchpad.net/~om26er/ubuntu/oneiric/compiz-plugins-main/fix-876591-2/+merge/84492
-> added to the current SRU. Marked as merged

https://bugs.launchpad.net/ubuntu/+source/gedit-developer-plugins/+bug/892848
-> removed the sponsor team as already handled by upstream (close to 
ubuntu, so a new release will be soon around)


https://bugs.launchpad.net/ubuntu/+source/chemtool/+bug/839745
-> explained that a SRU only need the minimal changes when possible. Ask 
to make the patch change and unsuscribe ubuntu-sponsor.


https://bugs.launchpad.net/ido/+bug/867649
-> pinged dx upstream to have a review and unsuscribe ubuntu-sponsors

https://code.launchpad.net/~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.4.0-2.1/+merge/81375
-> SRU sponsored, fix the versionning though

https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/884366
-> subscribe upstream and remove ubuntu-sponsors

https://bugs.launchpad.net/ubuntu/+source/vim/+bug/856779
-> the patch is introducing some regressions, unsuscribe the sponsor 
team for now.


https://bugs.launchpad.net/ubuntu/+source/apt/+bug/900770
-> already handled in debian and ubuntu by the relevant team, unsuscribe 
sponsors then


https://bugs.launchpad.net/ubuntu/+source/empcommand/+bug/901464
-> unsuscribe for new as the bug had an orig.tar.gz, debian.tar.gz and 
.dsc, but the file
size doesn't match in it. Explained how to provide a debdiff as well and 
to resuscribe when fixed.


https://bugs.launchpad.net/ubuntu/+source/drc/+bug/901546
-> thinkng the ack and then doing it.

https://bugs.launchpad.net/ubuntu/oneiric/+source/at-spi2-core/+bug/877358
-> target changed, appended to current version in -proposed and sponsored.

Cheers,
Didier

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Re: vim on DVD

2011-12-08 Thread Martin Pitt
Hello Benjamin,

Benjamin Drung [2011-12-07 20:39 +0100]:
> it would be nice if we would have the full "vim" binary package
> installed on the DVD version of Ubuntu. It's not to huge for the DVD
> version and I often have to install it when using the live CD for more
> than a few minutes.

Full ack. This actually used to be in the DVD seed (and still is), but
not in the "usb" seed. I added it there now.

Martin


-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


Please change python-gobject dependencies to python-gi

2011-12-08 Thread Martin Pitt
Hello Ubuntu developers,

TL;DR: For packages which use the new python gobject-introspection
bindings (from gi.repository import ...) instead of the old static
bindings ("import gobject"), please change "python-gobject" build and
binary dependencies to "python-gi". Same applies to python-gi-cairo.
and python-gi-dev.

Background:

The pygobject package has a bit of a complicated history. It started
with actually providing the "gobject" static binding and a few others
such as "glib", then the new GI bindings ("gi.repository") were
merged, and now it only contains the GI bindings and nothing else. We
now have a pygobject-2 source package which provides the old static
bindings for backwards compatibility.

python-gobject is now a transitional package which pulls in both the
new python-gi and the compatibility python-gobject-2 packages. The
goal is to migrate everythign that uses GI to python-gi, so that it's
easier to see which packages still need to be ported, and that
pygobject-2 can eventually be removed.

This change was already done for many packages in main, and I'll also
follow the progress and do some fixes there, but it's better if more
people than just me know the background and avoid introducing new
dependencies to python-gobject.

Thanks!

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel