Activity log for bug #1007006

Date Who What changed Old value New value Message
2012-05-31 16:46:16 Michael Terry bug added bug
2012-05-31 16:46:25 Michael Terry bug task added quickly (Ubuntu)
2012-05-31 16:48:17 Launchpad Janitor branch linked lp:~mterry/quickly/empty-version
2012-05-31 18:06:53 Launchpad Janitor quickly (Ubuntu): status New Confirmed
2012-05-31 18:07:13 Michael Terry nominated for series Ubuntu Precise
2012-05-31 18:07:13 Michael Terry bug task added quickly (Ubuntu Precise)
2012-05-31 19:36:25 Michael Terry quickly: status New Fix Committed
2012-05-31 19:57:49 Michael Terry quickly: milestone 12.05
2012-05-31 20:10:39 Launchpad Janitor quickly (Ubuntu): status Confirmed Fix Released
2012-05-31 20:19:56 Michael Terry quickly: status Fix Committed Fix Released
2012-05-31 20:40:35 Launchpad Janitor branch linked lp:ubuntu/quickly
2012-05-31 21:15:04 Michael Terry description In 12.04, if you do: quickly create ubuntu-cli test-project cd test-project quickly run You will see: WARNING: Your project is out of date. Newly created projects use GTK+ 3, PyGI, and GSettings. See https://wiki.ubuntu.com/Quickly/GTK3 for porting information and when you have finished porting your code, run 'quickly upgrade' to get rid of this message. Which is silly on a fresh project. This happens every run. Why this occurs: 1) 'create' causes a .quickly file to be created with version 12.04 of ubuntu-cli 2) upgrade.py looks what version of ubuntu-application is saved, sees none and uses a default version of the empty string (to force all upgrades to happen). 3) The empty string causes the warning to be spit out and (correctly) exits before saving the latest version of ubuntu-application in .quickly. A simple fix is to skip this warning when we encounter an empty string, since we know a fresh project is OK in regards to PyGI. [Impact] When using the command line interface template (ubuntu-cli) in 12.04, you will repeatedly get warnings like: WARNING: Your project is out of date. Newly created projects use GTK+ 3, PyGI, and GSettings. See https://wiki.ubuntu.com/Quickly/GTK3 for porting information and when you have finished porting your code, run 'quickly upgrade' to get rid of this message. This is a scary warning and is false regardless. It comes from code that confuses ubuntu-cli with ubuntu-application and thinks the current project is out-of-date. While this isn't a super popular template, it also affects any non-ubuntu-application template like the flash-game one or third party templates. [Test Case] cd /tmp quickly create ubuntu-cli ubucli cd ubucli quickly run # Notice warning [Regression Potential] The fix is tiny and only affects whether this warning is printed. [Original Report] In 12.04, if you do: quickly create ubuntu-cli test-project cd test-project quickly run You will see: WARNING: Your project is out of date. Newly created projects use GTK+ 3, PyGI, and GSettings. See https://wiki.ubuntu.com/Quickly/GTK3 for porting information and when you have finished porting your code, run 'quickly upgrade' to get rid of this message. Which is silly on a fresh project. This happens every run. Why this occurs: 1) 'create' causes a .quickly file to be created with version 12.04 of ubuntu-cli 2) upgrade.py looks what version of ubuntu-application is saved, sees none and uses a default version of the empty string (to force all upgrades to happen). 3) The empty string causes the warning to be spit out and (correctly) exits before saving the latest version of ubuntu-application in .quickly. A simple fix is to skip this warning when we encounter an empty string, since we know a fresh project is OK in regards to PyGI.
2012-05-31 21:41:35 Michael Terry bug added subscriber Ubuntu Stable Release Updates Team
2012-06-01 12:38:55 Launchpad Janitor quickly (Ubuntu Precise): status New Confirmed
2012-06-03 12:52:30 Vibhav Pant quickly (Ubuntu Precise): assignee Vibhav Pant (vibhavp)
2012-06-04 22:52:17 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/quickly
2012-06-04 23:09:00 Brian Murray quickly (Ubuntu Precise): status Confirmed Fix Committed
2012-06-04 23:09:04 Brian Murray bug added subscriber SRU Verification
2012-06-04 23:09:11 Brian Murray tags verification-needed
2012-06-06 17:29:19 David Planella tags verification-needed verification-done
2012-06-06 18:57:42 Launchpad Janitor quickly (Ubuntu Precise): status Fix Committed Fix Released