Created by Simon Poirier and last modified
Get this branch:
bzr branch lp://staging/~simpoir/landscape-client/fix_tempfile_cleaning
Only Simon Poirier can upload to this branch. If you are Simon Poirier please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Simon Poirier
Landscape Client

Recent revisions

919. By Simon Poirier

address review nitpick

918. By Simon Poirier


917. By Simon Poirier

replace shutil rmtree by os.unlink for files.
replace mkstemp by self-cleaning makeFile() makePersistFile() and makeDir(), where appropriate.
add some cleanup for some error cases that didn't.

916. By Andreas Hasenack

Bump debian changelog to 16.08. [trivial]

915. By Simon Poirier

Merge bug_1588404_swift_usage_report [f=1588404] [r=free.ekanayaka,landscape-builder,tealeg] [a=Simon Poirier]
This branch, primarily fixes #1588404 where swift units would not report
usage if the landscape-client unit happened to finish before swift-storage.
As uncaught errors in plugins would be silently discarded and stop looping
when the client is runned as a daemon, additional exception logging have been
added to the broker plugin as part of this branch.

914. By Alberto Donato

Merge drop-repository-helper [f=] [r=tribaal,adam-collard,landscape-builder] [a=Alberto Donato]
Drop the unused create_full_repository test helper.
It's no longer used in the server either.

913. By Andreas Hasenack

Merge libpam-systemd-depends-xenial-onwards [f=1590838] [r=landscape-builder,bogdana,ack,pitti] [a=Andreas Hasenack]
Add a libpam-systemd dependency to landscape-client if built on xenial or higher.

912. By Adam Collard

Merge drop-mocker [f=1592875] [r=bjornt,ack,landscape-builder] [a=Adam Collard]
Actually drop our copy of mocker.

Move makeFile and makeDir into LandscapeTest with slight tweaks to do the unconditional removal of files in cleanup (I used shutil.rmtree even if it's a file just to get a convenient ignore of errors for files that are removed by the tests themselves)

911. By Chad Smith

[tivial mocker retirement] [a=sparkiegeek, bbsw]

910. By Данило Шеган

Merge mock-tests-watchdog-middle [f=1592875] [r=landscape-builder,tealeg,adam-collard] [a=Данило Шеган]
Make a twisted mockery of landscape.tests.test_watchdog.DaemonTest.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.