2012-05-13 22:08:48 |
Tony Byrne |
bug |
|
|
added bug |
2012-05-13 22:08:48 |
Tony Byrne |
attachment added |
|
test case for bug 1 https://bugs.launchpad.net/bugs/998910/+attachment/3145282/+files/extras_package_test.diff |
|
2012-05-19 20:35:42 |
David Planella |
tags |
|
arb |
|
2012-05-19 20:42:58 |
David Planella |
bug |
|
|
added subscriber David Planella |
2012-05-21 17:13:47 |
Andrew Starr-Bochicchio |
branch linked |
|
lp:~tony-badwolf/quickly/quickly-extras |
|
2012-05-21 17:14:08 |
Andrew Starr-Bochicchio |
bug |
|
|
added subscriber Andrew Starr-Bochicchio |
2012-05-22 10:57:21 |
Daniel Holbach |
bug task added |
|
quickly (Ubuntu) |
|
2012-05-22 12:23:13 |
Ubuntu Foundations Team Bug Bot |
tags |
arb |
arb patch |
|
2012-05-22 12:23:20 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2012-05-23 19:21:42 |
Michael Terry |
branch linked |
|
lp:~mterry/quickly/extras |
|
2012-05-29 12:16:59 |
Daniel Holbach |
bug |
|
|
added subscriber Daniel Holbach |
2012-05-31 19:36:19 |
Michael Terry |
quickly: status |
New |
Fix Committed |
|
2012-05-31 19:58:11 |
Michael Terry |
quickly: milestone |
|
12.05 |
|
2012-05-31 20:10:16 |
Michael Terry |
nominated for series |
|
Ubuntu Precise |
|
2012-05-31 20:10:16 |
Michael Terry |
bug task added |
|
quickly (Ubuntu Precise) |
|
2012-05-31 20:10:39 |
Launchpad Janitor |
quickly (Ubuntu): status |
New |
Fix Released |
|
2012-05-31 20:20:25 |
Michael Terry |
quickly: status |
Fix Committed |
Fix Released |
|
2012-05-31 20:40:35 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/quickly |
|
2012-05-31 20:45:54 |
Michael Terry |
description |
Quickly version 12.04
quickly package --extras makes a deb that contains a broken application. When installed the application contains errors
running installed application
bug 1
$ /opt/extras.ubuntu.com/test-project$ ./test-project
File "/opt/extras.ubuntu.com/test-project/test_project_lib/test_projectconfig.py", line 57, in get_data_path
raise project_path_not_found
fix bug 1
edit /opt/extras.ubuntu.com/test-project/test_project_lib/test_projectconfig.py
line 19 __test_project_data_directory__ = '/opt/extras.ubuntu.com/test-project/share/test-project/'
bug 2
$ /opt/extras.ubuntu.com/test-project$ ./test-project
(test-project:21107): GLib-GIO-ERROR **: Settings schema 'net.launchpad.test-project' is not installed
bug 3
the path '/opt/extras.ubuntu.com/test-project/share/test-project/' is too long |
[Impact]
The commands 'quickly package --extras' and 'quickly submitubuntu' do not create working debian packages. When run from their /opt locations, they give a warning like:
File "/opt/extras.ubuntu.com/ubuapp/ubuapp_lib/ubuappconfig.py", line 57, in get_data_path
raise project_path_not_found
And even if you manually change code to fix that, it will complain about missing gsettings schema files.
So those two commands are completely useless for ARB submission, despite being a commonly recommended way to follow the ARB process.
[Test Case]
cd /tmp
quickly create ubuntu-application ubuapp
# close opened window
cd ubuapp
quickly package --extras
sudo dpkg -i ../ubuapp_0.1_all.deb
# on 12.04, this is the binary path
/opt/extras.ubuntu.com/ubuapp/ubuapp/ubuapp
# in my fixed version, this will be the binary path
#/opt/extras.ubuntu.com/ubuapp/bin/ubuapp
Notice that it will crash in the unfixed version. But will run in my fixed version.
[Regression Potential]
My fix carefully only affects the --extras path (which is also used for submitubuntu). I intentionally chose an ugly way to fix this so that I could only affect that path and not regress anything else.
In 12.10, my hope is to eventually implement a non-ugly fix. But I'm confident this will only affect users of --extras.
[Original Report]
Quickly version 12.04
quickly package --extras makes a deb that contains a broken application. When installed the application contains errors
running installed application
bug 1
$ /opt/extras.ubuntu.com/test-project$ ./test-project
File "/opt/extras.ubuntu.com/test-project/test_project_lib/test_projectconfig.py", line 57, in get_data_path
raise project_path_not_found
fix bug 1
edit /opt/extras.ubuntu.com/test-project/test_project_lib/test_projectconfig.py
line 19 __test_project_data_directory__ = '/opt/extras.ubuntu.com/test-project/share/test-project/'
bug 2
$ /opt/extras.ubuntu.com/test-project$ ./test-project
(test-project:21107): GLib-GIO-ERROR **: Settings schema 'net.launchpad.test-project' is not installed
bug 3
the path '/opt/extras.ubuntu.com/test-project/share/test-project/' is too long |
|
2012-05-31 21:40:21 |
Michael Terry |
removed subscriber Ubuntu Review Team |
|
|
|
2012-05-31 21:40:59 |
Michael Terry |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-06-04 22:52:17 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/quickly |
|
2012-06-04 23:09:30 |
Brian Murray |
quickly (Ubuntu Precise): status |
New |
Fix Committed |
|
2012-06-04 23:09:33 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2012-06-04 23:09:39 |
Brian Murray |
tags |
arb patch |
arb patch verification-needed |
|
2012-06-05 00:09:31 |
Andrew Starr-Bochicchio |
tags |
arb patch verification-needed |
arb patch verification-done |
|
2012-06-06 18:57:42 |
Launchpad Janitor |
quickly (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|