[Karmic] Please update gapti to version 0.0.3 (bzr rev 34)

Bug #340901 reported by Savvas Radevic
4
Affects Status Importance Assigned to Milestone
gapti
Fix Released
Undecided
Unassigned
gapti (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gapti

$ sudo apt-get install gapti
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gapti: Depends: python (< 2.6) but 2.6.1-0ubuntu3 is to be installed
E: Broken packages

$ apt-cache policy gapti
gapti:
  Installed: (none)
  Candidate: 0.0.2ubuntu3
  Version table:
     0.0.2ubuntu3 0
        500 http://archive.ubuntu.com jaunty/universe Packages

I've also noticed that it requires python-support, some changes in the source and modules in order to be compatible with 2.6 (and probably 3.0).

Revision history for this message
Savvas Radevic (medigeek) wrote :
Revision history for this message
Savvas Radevic (medigeek) wrote :

Matching build log: http://launchpadlibrarian.net/23743844/buildlog_ubuntu-jaunty-i386.gapti_0.0.2ubuntu4_FULLYBUILT.txt.gz

P.S. In case you're wondering about the empty lines:
"+ Replaced lines with spaces (\s+) with empty lines"

Revision history for this message
Savvas Radevic (medigeek) wrote :

Also, I've done a lot of changes based on the fact that there wasn't a new release from upstream since 2006

Revision history for this message
Savvas Radevic (medigeek) wrote :

For universe sponsors, after consulting several people on #ubuntu-motu it all summed up in one line:
06:49:03 < wgrant> As much as it can be nice to play upstream sometimes, we are not upstream for gapti.

Unless you believe otherwise, please disregard the patch above, I have notified the original author of gpti about this patch, perhaps it will be imported upstream.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Great work Savvas! Is there an usptream bug for it somewhere?

Revision history for this message
Savvas Radevic (medigeek) wrote :

I linked it with the launchpad project, the maintainer there will be notified, I'll wait for their response :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

Here's a backup plan, I made a smaller patch, still with python-support, with only the required replacements, which are done through debian/rules and sed.

Revision history for this message
Jerome Haltom (wasabi) wrote :

Hi. Sorry, haven't worked on this in ages. Actually wasn't aware people were using it. Really wanted to get back into it. You happen to clean it up?

I'll just add you to the launchpad group and you can commit it.

Revision history for this message
Savvas Radevic (medigeek) wrote :

Hi Jerome, I've applied for gapti-dev team :)
I'll try and update it for jaunty, but if you think that this isn't used and that this project isn't going to be maintained upstream anymore, we should ask for a package removal.

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 340901] [NEW] needs python 2.6 transition and porting

Woops, forgot about this - I'll apply the patch tomorrow, as soon as I get home!

On 3/12/09, Jerome Haltom <email address hidden> wrote:
> Hi. Sorry, haven't worked on this in ages. Actually wasn't aware people
> were using it. Really wanted to get back into it. You happen to clean it
> up?
>
> I'll just add you to the launchpad group and you can commit it.
>
> --
> needs python 2.6 transition and porting
> https://bugs.launchpad.net/bugs/340901
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Sent from my mobile device

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: needs python 2.6 transition and porting
Changed in gapti (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Savvas: what do you want to get uploaded now?

The "smaller patch" does not include the porting, but it changes from CDBS to debhelper. Is this what we want in?

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 340901] Re: needs python 2.6 transition and porting

It still needs some work - I'll revert to the old cdbs, it seems
better to keep it that way.
Give me two days :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

I mean I'll make a bugfix release (0.0.3) and ask for an FFe upload.

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: needs python 2.6 transition and porting

Well... I eventually decided to keep python-support, could prove better in the future.
I added a setup.py to do the "legwork" for the data installation.

PPA Build:
https://launchpad.net/~medigeek/+archive/ppa/+build/928193

Reflects revision 34 in gapti trunk:
http://bazaar.launchpad.net/~gapti-dev/gapti/trunk/changes

Revision history for this message
Savvas Radevic (medigeek) wrote :

P.S. I'm sorry if the changes in the ChangeLog seem messy. :)

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Version 0.0.2ubuntu4 adapted gapti to be installable with Python 2.6, is anything else required?

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 340901] Re: needs python 2.6 transition and porting
Revision history for this message
Scott Kitterman (kitterman) wrote :

You can always ask. Why do we need it?

Revision history for this message
Savvas Radevic (medigeek) wrote :

It's mostly the "smaller" patch mentioned above, directly changed to
source, with proper copyright and license, debhelper 7 and of course
compatibility with python2.6 (and probably later versions).

Here is the changelog with changes introduced in 0.0.3:
revno: 34
message:
  debian/rules: Uncommented .bzr removal
------------------------------------------------------------
revno: 33
message:
  ChangeLog updated
------------------------------------------------------------
revno: 32
message:
  (Oops) Forgot setup.py, added
------------------------------------------------------------
revno: 31
message:
  * 0.0.3 release with final changes included
  * Using debhelper 7
  * Added proper copyright and license in debian/copyright
------------------------------------------------------------
revno: 30
message:
  Add COPYING file
------------------------------------------------------------
revno: 29
message:
  * Release 0.0.3
  * Added ChangeLog, included in debian/rules
------------------------------------------------------------
revno: 28
message:
  Switched data between Uploaders and Maintainer
------------------------------------------------------------
revno: 27
message:
  * Bug-fix release.
  * python 2.6 transition (LP: #340901)
    + debian/control: Build-Depends: python-all-dev, python-support
    + gapti-root: Fixed UpdateManager.SimpleGladeApp
    + Edited files directly, shebangs: #!/usr/bin/python
    + Modified files directly using: 2to3-2.6 -w *
    + Replaced commands.getoutput with subprocess.Popen().communicate()
    + Replaced lines with spaces (\s+) with empty lines
  * debian/control:
    + Standards-Version: 3.8.0
    + debhelper (>= 5)
  * debian/rules: Removed sed command that changed shebangs
------------------------------------------------------------

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: needs python 2.6 transition and porting

Ok, I misunderstood the "feature-freeze exception".
It seems that since this is a bug-fix release only (improvements in packaging), without any features, so I just need a sponsor for it (Thanks Luca!).

Any takers? :)

summary: - needs python 2.6 transition and porting
+ Please update gapti to version 0.0.3 (bzr rev 34)
Changed in gapti:
status: New → Fix Released
Revision history for this message
Savvas Radevic (medigeek) wrote : Re: Please update gapti to version 0.0.3 (bzr rev 34)

When you run the current version of gapti in ubuntu jaunty:

$ apt-cache policy gapti
gapti:
  Installed: 0.0.2ubuntu4
  Candidate: 0.0.2ubuntu4
  Version table:
 *** 0.0.2ubuntu4 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

$ gapti
Traceback (most recent call last):
  File "/usr/bin/gapti", line 16, in <module>
    from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp
ImportError: No module named Common.SimpleGladeApp

Since it is late, I'm asking for a feature freeze exception, since version 0.0.3 uses the correct modules.
No-one has complained about it not working though, it could wait for karmic if you believe there are more important bugs to squash. :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

Ack'ed by ScottK on IRC, #ubuntu-motu:
2009-04-17 05:54:00 (CEST) < ScottK> savvas: motu-release ack to fix gapti.

Revision history for this message
Savvas Radevic (medigeek) wrote :

After Laney's request on IRC, I made the "really-minimal-patch" to just make gapti work for now. :)

Changed in gapti (Ubuntu):
assignee: nobody → kitterman
status: Confirmed → In Progress
Changed in gapti (Ubuntu):
assignee: kitterman → nobody
Revision history for this message
Scott Kitterman (kitterman) wrote :

Setting back to New since what was uploaded wasn't 0.0.3

summary: - Please update gapti to version 0.0.3 (bzr rev 34)
+ [Karmic] Please update gapti to version 0.0.3 (bzr rev 34)
Changed in gapti (Ubuntu):
status: In Progress → New
Revision history for this message
Savvas Radevic (medigeek) wrote :

Please unsubscribe ubuntu sponsors, I will take care of this some other day :)

Changed in gapti (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.