lp:~therve/landscape-client/download-script-attachments
- Get this branch:
- bzr branch lp:~therve/landscape-client/download-script-attachments
Branch merges
- Alberto Donato (community): Approve
- Thomas Herve (community): Abstain
- Free Ekanayaka (community): Approve
-
Diff: 283 lines (+136/-32)3 files modifiedlandscape/__init__.py (+1/-1)
landscape/manager/scriptexecution.py (+61/-26)
landscape/manager/tests/test_scriptexecution.py (+74/-5)
Related bugs
Bug #893040: Support the new attachment service in script management | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 405. By Björn Tillenius
-
Merged apt-facade-
remaining- tests [r=fwierzbicki, therve] [f=890605,890606]. Make sure that ReleaseUpgrader and PackageTaskHandler tests can be run
with AptFacade instead of SmartFacade.For ReleaseUpgrader I simply remove the setup of a facade, since the
facade isn't used by ReleaseUpgrader.For PackageTaskHandler I made a change to AptFacade to be able to set
the architecture to None. This makes the PackageTaskHandler tests pass,
if I change them to use AptFacadeHelper instead of SmartFacadeHelper.I didn't bother actually running the tests for both SmartFacade and
AptFacade, since the changes are minimal. When the time comes to remove
SmartFacade we can change it to use AptFacadeHelper, without changing
anything else. - 404. By Björn Tillenius
-
Merged apt-facade-
changer- optional [r=free. ekanayaka, therve] [f=889113]. Use AptFacade in PackageChanger, if USE_APT_FACADE=1 is set.
I've removed the use_apt_facade parameter to run_task_handler() and
moved the check to inside that method. Everything that uses
run_task_handler() should be compatible with AptFacade. - 403. By Mike Milner
-
Mock out call to restart_landscape() [trivial]
[r=fwierzbicki] Test tries to restart the real landscape daemon on your dev system.
- 402. By Björn Tillenius
-
Merged apt-facade-changer [r=milner,
free.ekanayaka] [f=865303]. Run the package changer tests for AptFacade and make sure they pass.
- 401. By Björn Tillenius
-
Merged apt-facade-
changer- fixes [r=therve,ack] [f=889067, 889069, 889087, 889099] . Fixes to AptFacade that is needed for the package changer to work:
1) Fix mark_upgrade() to upgrade the package to the latest version,
instead of upgrading to the version that is passed in.2) Don't do anything if you try to upgrade a package that is already
at the latest version.3) Raise a TransactionError if something goes wrong committing the
changes to the Apt cache.4) Take the Package object into account, when comparing Version
objects to find out which dependencies are needed for
DependencyError in perform_changes(). - 400. By Fernando Correa Neto <email address hidden>
-
Merged add-otp-field [f=881405].
This branch adds a new message type, 'register-
provisioned- machine' , which is meant to register computers using an OTP.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~landscape/landscape-client/trunk