** Description changed:

+ ==== Begin SRU Template ====
+ [Impact] 
+ A feature was added to curtin upstream to allow the package build
+ process to add its version to the curtin version reported.
+ 
+ That version is exposed via:
+   $ curtin version
+   0.1.0~bzr460-0ubuntu1
+ 
+ And then also
+   $ python3 -c 'from curtin import version; print(version.version_string())'
+   0.1.0~bzr460-0ubuntu1
+ 
+ The above are shown in zesty.  However, the SRU'd versions did not
+ get the packaging change to write that information, so they show only
+ 
+   0.1.0
+ 
+ The fix is to make the change made in zesty's debian/rules.
+ 
+ [Test Case]
+ 
+  $ apt-get install curtin
+  $ curtin version
+ 
+ Expect to see the packaged version reported, with bzr460 in it.
+ 
+ [Regression Potential] 
+ Low chance of regression, as 'curtin version' and the python library
+ function version_string was only recently added for this feature, so
+ nothing would depend on the broken behavior.
+ 
+ ==== End SRU Template ====
+ 
  in trunk revno 448, we added patching of a file in curtin via
  debian/rules so that the packaged version would report its version
  correctly.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: curtin 0.1.0~bzr460-0ubuntu1~16.10.1
  ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5
  Uname: Linux 4.9.0-15-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  Date: Wed Feb 22 16:20:42 2017
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=C.UTF-8
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=C.UTF-8
  SourcePackage: curtin
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666986

Title:
  package does not include dpkg version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1666986/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to