debdiff for precise

** Patch added: "debdiff-12.05-0ubuntu0.12.04.diff"
   
https://bugs.launchpad.net/landscape-client/+bug/1004678/+attachment/3204998/+files/debdiff-12.05-0ubuntu0.12.04.diff

** Description changed:

- WORK IN PROGRESS
- 
- Do not act on this bug yet as it is missing many things. I'm still
- running the landscape SRU tests.
- 
  SRU request to update landscape-client to version 12.05 in lucid, natty,
  oneiric and precise.
  
  Landscape has an SRU exception provided the mentioned rules are followed:
  https://wiki.ubuntu.com/StableReleaseUpdates#Landscape
  
  [Impact]
  Users are not able to create activities which at the same time manipulate 
package holds and package changes (like install/remove/upgrade/downgrade) (LP: 
#972489)
  Additionally, the upstream tarball had a debian/ directory in it making 
proper debian packaging more confusing, because the ubuntu package had patches 
for files that were already in debian/. That and many lintian warnings were 
also fixed (LP: #1005663)
  Finally, the dependencies between landscape-client and landscape-common were 
tightened up to make sure that landscape-client always required the exact same 
version of landscape-common, instead of greater-or-equal, preventing a 
situation where, for example, landscape-client 12.05 would be installed 
together with landscape-common 12.04.
  
  [Test Case]
  A full test report is attached to this ticket, and also available online at 
https://wiki.canonical.com/Landscape/ClientSRUTests/12.05 (only for Canonical 
employees, sorry). It includes tests for the changes as well as some standard 
regression tests as defined in the Landscape Update Policy at 
https://wiki.ubuntu.com/LandscapeUpdates.
  
  This is a test case for the major bug driving this release (LP: #972489)
  After getting a Landscape account (a free trial is available), perform the 
following steps:
  1. Register a computer (easier if you just create an AWS cloud and spawn a 
precise instance)
  2. Wait for all packages to be synced (numbers in landscape closely matching 
apt-cache stats, close to 40k)
  3. Create a package activity which installs one uninstalled package and holds 
an installed one.
  Broken Behavior: activity fails with message:
  """
  Requested changes require a more recent version of the landscape-client 
package.
  """
  Fixed Behavior: activity succeeds
  
  For step (3), I suggest doing a search for package "python-l" and then
  selecting python-ldap to install and python-launchpadlib to hold (or
  some other package that is already installed).
  
  To hold a package, you have to click on the small triangle to the left
  of the package icon and then click on the package icon that will show up
  in the row below. See attached screenshot.
  
  [Regression Potential]
  - inter-package dependencies were tightened so that landscape-client now 
requires the same exact version of landscape-common instead of just >=. I can't 
imagine where this would cause problems, but a dependency change always 
warrants a second opinion/look.
  - some things in debian/* changed to try to make the package easier to build 
and handle (and understand). In particular, it changed from being a "1.0" 
undeclared package (it didn't have debian/source/format), a mashup of a native 
and a non-native package, to a proper "3.0 (quilt)" package (but without 
patches) where the upstream tarball has no debian/ and has been officially 
released as such.
  - package holds is a new feature in Landscape, initially supported by the 
previous 12.04.3 SRU. This 12.05 update fixes a particular case of mixing 
package holds with normal package operations like install and remove. I don't 
expect regressions here, just improvements really, but just mention it because 
holds is still a "fresh" new feature.
  - all code changes have unit tests. If you have the right dependencies 
installed, you can run the test suite with "make check" (just above 2150 tests).
  - a lot of deprecated code related to smart was removed. Smart was officially 
dropped from landscape-client in 12.04 but some code (and tests) was still 
there. The only regression potential here is if landscape-common was left at 
some older version and landscape-client was updated to >= 12.04, which was 
possible before, but we addressed that via the stricter inter-dependencies 
between those two packages.
  
  For a more detailed list of the changes, see debian/changelog.

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

Title:
  Please update landscape-client to 12.05

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1004678/+subscriptions

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

Reply via email to