Serge Hallyn | 23 May 23:23
Favicon

Ubuntu Server Team Meeting Minute 20120522

Meeting started by s3h at 16:01:01 UTC.  The full logs are available at
http://ubottu.com/meetingology/logs/ubuntu-meeting/2012/ubuntu-meeting.2012-05-22-16.01.log.html
.

== Meeting summary ==

 *Review ACTION points from previous
''LINK:'' https://blueprints.launchpad.net/~ubuntu-server/+specs?role=drafter   (Daviey, 16:04:06)
''LINK:''
https://blueprints.launchpad.net/~james-page/+specs?searchtext=servercloud-q&role=assignee
  (Daviey, 16:04:12)
''LINK:''
https://blueprints.launchpad.net/~james-page/+specs?searchtext=servercloud-q&role=assignee
  (s3h, 16:04:57)
''LINK:'' http://people.canonical.com/~davewalker/delta.html   (Daviey, 16:06:53)
''ACTION:'' zul talk to arosales and jamespage offline about SRU tracker  (s3h, 16:07:05)

 *Quantal Development

Specs currently under consideration are at
https://blueprints.launchpad.net/~ubuntu-server/+specs?role=drafter.  If a spec is missing, let
Daviey know.

Blueprints which $user is responsible for driving to Approved state can be found at
https://blueprints.launchpad.net/~$user/+specs?searchtext=servercloud-q&role=assignee. 
Please set those which require review to Review state.

Daviey urges now is the time for frantic work on merges. 
http://people.canonical.com/~davewalker/delta.html shows the delta with sid.

(Continue reading)

bdfhjk | 23 May 19:39
Picon

Next Ubuntu Algorithm Classess


Hello,

We have a monthly delay, because ACM ICPC (International Algorithm Competition) was held in Poland and everyone were busy at that time.

Next classess will be held on 25.05 at 17:00 UTC (Time in your city http://bit.ly/KLG8Lh), freenode IRC chat (webchat.freenode.net), channel #ubuntu-classroom

Here is the link to notes: https://docs.google.com/document/d/1Okbul4AIzQTR4CVGLcx-dmIXkdToNvLiJkIZurxNB8Q/edit


Marek Bardoński
Luke Yelavich | 23 May 08:44
Favicon

Patch pilot report, 22/05/2012.

Bug #1002909  sync mpqc - Synced.

Bug #1002885 merge lastfm - Wasn't really a merge, more a sync and fix FTBFs due to our glib.h change, so uploaded.

Bug 1002875 sync istanbul - Synced.

Bug 1002869 sync inspircd - Already synced.

lp:~logatron/ubuntu/quantal/netatalk/fix-for-992849 - The patch to fix a typo wasn't present in bzr,
marked needs fixing.

lp:~n-muench/ubuntu/quantal/open-vm-tools/open-vm-tools.march-merge2b - Needs fixing, using
deprecated glib functions.

lp:~logatron/ubuntu/quantal/ac100-tarball-installer/fix-for-848188 - Uploaded

Barry Warsaw | 23 May 01:24
Favicon

Patch pilot report 2012-05-22

Patch pilot report 2012-05-22

* Reviewed python3 branch for software-properties
  https://code.launchpad.net/~glatzor/software-properties/python3/+merge/105755
  Needs Fixing

* Reviewed python-couchdb merge from Debian merge proposal:
  https://code.launchpad.net/~dmitrij.ledkov/ubuntu/quantal/python-couchdb/merge/+merge/104527
  Needs Fixing

* Reviewed, approved, and uploaded python-tz packaging merge that adds Python
  3 support:
  https://code.launchpad.net/~takluyver/ubuntu/quantal/python-tz/merge-py3/+merge/105551

* Reviewed landscape-client merge proposal:
  https://code.launchpad.net/~bkerensa/ubuntu/quantal/landscape-client/fix-for-962974/+merge/103843
  Suggested that the change be pushed to lp:landscape-client

* Sync'd canto 0.7.10-3 with Ubuntu delta for dh_python2.
  LP: #1002861

Cheers,
-Barry
Scott Kitterman | 22 May 16:49

dh_python2 and /usr/share/pyshared in quantal

In https://launchpad.net/ubuntu/+source/python-defaults/2.7.3-0ubuntu3 Ubuntu 
modified dh_python2 to drop creation of /usr/share/pyshared and creation of 
python version specific symlinks to /usr/lib/python2.7/dist-packages/.

I believe this change should be reverted, but rather than just upload, wanted 
to discuss it first.  See https://bugs.launchpad.net/ubuntu/+source/python-
defaults/+bug/1001912 for additional discussion.

I've checked with Piotr Ożarowski (POX), the upstream developer for dh_python2 
and he does not support removing this feature of dh_python2 until after 
pysupport and pycentral are removed.  Even with a single supported python 
version (as Ubuntu has now) it's still useful because pysupport installs files 
in the same location.  It avoids some namespace issues.

This change breaks dozens of packages and has negligible (if any) advantages.

Additionally, the Python policy lists /usr/share/pyshared as the correct 
location to install version independent python files, so removing it moves away 
from the documented policy.

I'd like to understand if there's some compelling reason to make this change 
for quantal.  If not, it should be reverted sooner rather than later as 
packages built with this version are being misbuilt.

Scott K

--

-- 
ubuntu-devel mailing list
ubuntu-devel <at> lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
James Page | 21 May 19:10
Favicon
Gravatar

Patch Pilot Report 20120521


https://bugs.launchpad.net/ubuntu/+source/munin/+bug/598385
  - Review revised patch for quantal and uploaded alongside bug
https://pad.lv/1000678
  - Nominated for 12.04 - SRU information needs more work.
  - Worked with vibhav to prepare SRU information + uploaded to
precise-proposed.

https://bugs.launchpad.net/ubuntu/+source/mosh/+bug/985981
  - Re-based to version in quantal and uploaded.

https://bugs.launchpad.net/ubuntu/+source/cfitsio3/+bug/1001572
  - Uploaded

https://code.launchpad.net/~kroq-gar78/ubuntu/precise/activemq/sid-merge/+merge/106539
  - Merge from Debian testing for SRU - not appropriate and not
correct either so pointed the proposer at the SRU process with some
general guidance - also commented in bug.

https://code.launchpad.net/~kroq-gar78/ubuntu/quantal/activemq/sid-merge/+merge/106540
  - Disapprove - package can now be synced from Debian testing -
however it FTBFS due to the switch to openjdk-7 as default Java in
Ubuntu only.
  - Synced the package instead with attribution to the proposer of
this merge - FTBFS due to Java 7 can be dealt with ontop of latest
Debian packaging changes.

@pilot out

Cheers

James

--

-- 
James Page
Ubuntu Core Developer
Kate Stewart | 18 May 21:05
Favicon

Improving the release notes for 12.10

Hi,
   With UDS just last week, why am I starting a note off about the
release notes for 12.10 you ask?  ;)    Because this is the time we're
all putting together our blueprints, and the best opportunity to get
some standardized formats in place,  so we can get a bit smarter about
generating our release notes for this upcoming cycle.  :D

   Historically the release notes are pulled together manually as we 
go through the cycle.  This tends to involve a lot of last minute
reminders and a bit of a scramble to get the editing and summarizing
done.   This cycle,  based on the discussions at UDS[1],  we'd like to
try something different:  basically using a standard section in the
blueprint to capture the release notes, and then automating them being
copied to the right products WIKI pages when the blueprint is marked
done.

   Some teams will also be experimenting this cycle with using even more
standardized format for the whiteboards in the blueprints[2],  of which
the "Release Notes:", section will be part of.  

   My request for 12.10, is that if you have a feature you're working
on,  that needs to go in the release notes for 12.10,   Please add a
"Release Notes:" section to the end of your blueprint whiteboard.  Once
the blueprint is approved, we'll be setting up the cross linkage from
the blueprint to the ReleaseNotes and TechnicalOverviews for 12.10 over
the next week ( using topic-quantal-XXXXX-release-notes blueprints), and
see if we can figure out some good patterns of automating that part next
time. ;)

   When the feature is complete,  and you're ready to make the release
note visible,  mark the blueprint done,  and the release note text will
be copied to the right places.

Thanks for your help with getting this prototyped.  :)   

Please let me know if you have questions. 

Kate

[1] https://blueprints.launchpad.net/ubuntu/+spec/other-q-release-notes
[2] https://wiki.ubuntu.com/BlueprintSpec

Martin Pitt | 18 May 16:41
Favicon
Gravatar

Apport API users: Watch your data types / Python 3 porting

Hello Ubuntu developers,

I just uploaded Apport 2.1 to Quantal. A big change in that version is
that the whole code now works with both Python 2 and 3, except for the
launchpadlib crash database backend (as we do not yet have a
python3-launchpadlib package).

I took some care that apport report objects get along with both
strings ("unicode" type in Python 2) and byte arrays ("str" type in
Python 2) in values, so most package hooks should still work. However,
now is the time to check whether they also work with Python 3, to make
the impending transition to Python 3 easier.

However, you need to watch out if you use projects or scripts which
directly use python-apport to process reports: The open(), write(),
and write_mime() methods now require the passed file descriptors to be
open in binary mode. You will get an exception otherwise.

A common pattern so far has been code like

  report = apport.Report()
  report.load(open('myfile.crash'))

This needs to be changed to

  report = apport.Report()
  with open('myfile.crash', 'rb') as f:
      report.load(f)

The "with" context is not strictly required, but it takes care of
timely closing the files again. This avoids ResourceWarning spew
when you run this in test suites or enable warnings.

Thanks,

Martin

--

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
Bryce Harrington | 18 May 02:12
Favicon
Gravatar

Pilot Report 2012-05-17

80 items at start, 70 (actually, 63) by end.

221112 keyboard-config: [SRU] Fix problem with space bar for fr(oss) keymap
  + Uploaded to quantal in 2.5-1ubuntu2
  + Filed SRU

825624 xkeyboard-config: [SRU] Add dead_hook and dead_horn to latin keymap
  + Uploaded to quantal in 2.5-1ubuntu2
  + Filed SRU

1000355 drbd8 - lucid sru
  + Already sponsored by timg-tpi; unsub sponsors

829819 balazarbrothers - spelling fix
  + Already accepted by Debian.  Too minor to diverge; disapproved branch

1000541 ia32-libs - Drop fluendo depends
  + Fix was uploaded for precise but not quantal
  + sponsored quantal upload 

994752 lxc
  + Already sponsored; unsub sponsors

quantal/emacs23/merge-23.4
  + Reviewed two branches from Laney, uploaded the second

1000557, 1000558, 1000560, 1000561 - texlive-* sync requests
  + sync'd

Branches needing set to Work In Progress:
 (I'm unable to set this for some reason; perhaps someone else could?)
 https://code.launchpad.net/~logatron/ubuntu/precise/xchat/fix-for-584207/+merge/102993
 https://code.launchpad.net/~kroq-gar78/ubuntu/precise/ubuntu-dev-tools/fix-988009/+merge/103595
 https://code.launchpad.net/~paolorotolo/rhythmbox/fix-for-991107/+merge/104368
 https://code.launchpad.net/~mitya57/app-install-data-ubuntu/unity-mail-fix/+merge/105514
 https://code.launchpad.net/~dmitrij.ledkov/ubuntu/quantal/bogl/merge/+merge/104578
 https://code.launchpad.net/~kroq-gar78/ubuntu/precise/dkms/fix-989998/+merge/103962
 https://code.launchpad.net/~bkerensa/ubuntu/precise/landscape-client/fix-for-962974/+merge/101839

Colin Watson | 17 May 19:51
Favicon

Python 3 port of ubiquity

I uploaded a Python 3 port of ubiquity today, which I've been dealing
with on and off for a while.  It was surprisingly easier than I
expected, although there were a few interesting roadblocks.  I mostly
embarked on this to get some practice in writing Python 3 code, with a
side order of thinking that it would be a good idea to attack the stack
of things to port from the top down rather than the bottom up, in case
any of the work became unnecessary as a result.

I'd done a Python 3 port before, namely germinate (assisted at the time
by http://python3porting.com/), so I had a rough idea of the sort of way
I find it useful to attack these problems.  In particular, my preference
is definitely to avoid using 2to3 except as a sort of first cut at a
to-do list.  A great deal of the problem can be demolished simply by
porting to a sufficiently modern Python 2 style first.

Thus, I started with a few old standbys: print function, 'except
Exception as value', module renamings, and so on.  To start with, I
found I could either guess randomly at common problems or run 2to3 in
its default report-only mode, find a single category of problem (for
instance, "map returns an iterator rather than a list"), grep for it
through the whole codebase, and think of a way to make all occurrences
valid in both Python 2 and 3.  After a while I got to the point where it
was worth adding --python2 and --python3 options to ubiquity's test
suite so that I could try both (the test runner re-execs itself, so I
couldn't just run it under different interpreters), and could continue
until the test suite passed.

A few specific notes on things I did in this stage:

 * The test suite used things like mock.patch("__builtin__.open").  I
   defined a helper like this:

     if sys.version >= '3':
         def builtin_patch(name):
             return mock.patch("builtins.%s" % name)
     else:
         def builtin_patch(name):
             return mock.patch("__builtin__.%s" % name)

 * gettext.install only takes unicode=1 (or unicode=True or whatever) in
   Python 2; that's unnecessary in Python 3.  The neatest approach I
   found was:

     kwargs = {}
     if sys.version < '3':
         kwargs['unicode'] = 1
     gettext.install(domain, LOCALEDIR, **kwargs)

 * If you're using python-apt, you *must* port entirely to the 0.8 API.
   python-apt tolerated this under Python 2, but the old API is compiled
   out under Python 3.  /usr/share/python-apt/migrate-0.8.py may be of
   some partial help.

 * It's probably not news to anyone that you have to get your binary vs.
   text data model solid when porting to Python 3.  There was one
   wrinkle I hadn't thought of, though.  ubiquity uses subprocesses
   quite a bit, and they return binary data by default.  Initially I
   tried .decode(), but after a while I realised that you can pass
   universal_newlines=True to subprocess.Popen (etc.) to get text output
   directly; this is much neater, works under both Python 2 and 3, even
   improves non-Unix support under Python 2 if you care ;-), and I
   recommend this approach.  There were a couple of exceptions in
   ubiquity, either where requiring straight-up binary data or where
   dealing with text that's potentially in mixed encodings indicated by
   field names.

 * Three-arg raise is particularly awful for compatibility, because the
   Python 2 form is an uncatchable SyntaxError in Python 3; you have to
   use exec() to work around this.  ubiquity only had one instance of
   this, so I used six.reraise().

 * pyflakes got upset with functions/methods defined two ways depending
   on sys.version, so I had to add some exclusions.

 * python-libxml2 hasn't been ported.  If you're currently using this,
   consider whether you can just use something in the standard library
   instead, rather than the larger python(3)-lxml.  I switched ubiquity
   over to xml.etree.cElementTree, and aside from the expected
   footprint-related virtues of using the stdlib, it actually ran faster
   in our case.

 * I had to port PyICU to get the test suite working.  This had been
   done upstream, but required packaging.

 * Be careful with what 2to3 says about list/iterator/view-related
   changes on dictionary methods and similar.  Its conservative approach
   is to add list() more or less everywhere, but if you're actually
   using .items() etc. only as an iterator, you can leave it as-is.
   Watch out for cases where you modify the dictionary while iterating
   over it, though; in that case you'll indeed need list().

 * I know others (including Barry) advocate 'from __future__ import
   unicode_literals'.  I found this a good approach in tests, but it
   makes me nervous in library code since it could easily end up
   changing your API.  I'd say only attempt this if you have
   exceptionally good test coverage.

Now, ubiquity's test suite isn't everything it might be, although I was
pleased to find that it got me most of the way.  However, I still had to
attack some frontend/backend glue code, and the KDE frontend is
currently untested (any volunteers?).  PyKDE4 had been ported upstream,
but required packaging; thanks to Philip Muškovac for reviewing and
uploading my patch there.  There were then a few other things to fix,
including calling sip.setapi("QVariant", 1) until I figure out what's
going on with the new QVariant API, and joyously discovering that most
bits of PyQt4 finally return ordinary Unicode strings in Python 3 rather
than messing about with QString objects.

But, finally, it all works at least in my tests.  I expect there'll be a
bit of shakedown time, but once things have settled I anticipate the
main benefit being that we stop having failures only in languages that
use non-ASCII characters, which has been a headache for us in the past.
I also expect to be able to drop the compatibility code once everything
is working and it's clear that we're past the point of no return in
using only Python 3 on the desktop image.

I definitely felt a tipping point here: once I'd ported a couple of
packages, my approach to subsequent ones has been to go through all the
changes I made for previous ports and duplicate each of them, which
really speeds things up.  Plus, of course, each library helps another
batch of packages.  Now that both GTK (via PyGI) and PyKDE are usable,
it should be possible to attack quite a few multiple-frontend programs
in Ubuntu; so please do!

-- 
Colin Watson                                       [cjwatson <at> ubuntu.com]

--

-- 
ubuntu-devel mailing list
ubuntu-devel <at> lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
Sebastien Bacher | 17 May 19:18
Favicon

Re: [ubuntu/quantal] gelemental 1.2.0-8ubuntu1 (Accepted)

Le 17/05/2012 19:00, Angel Abad a écrit :
> gelemental (1.2.0-8ubuntu1) quantal; urgency=low
>
>    * Merge from Debian testing.  Remaining changes:
>      - debian/control: Require libgtkmm>= 2.18.0 for fix_gtkmm_2.18.dpatch
>      - Add binary -dbg packages with debugging symbols:
Hey,

It seems like that could be a direct sync? the version you request was 
already in lucid and Ubuntu builds dbgsym binaries for all sources so 
there is little point to add a dbg over Debian?

--
Sebastien Bacher

--

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


Gmane