Merge lp://staging/~ted/ubuntu-app-launch/jobs-systemd into lp://staging/ubuntu-app-launch/16.10

Proposed by Ted Gould
Status: Superseded
Proposed branch: lp://staging/~ted/ubuntu-app-launch/jobs-systemd
Merge into: lp://staging/ubuntu-app-launch/16.10
Prerequisite: lp://staging/~ted/ubuntu-app-launch/jobs-tests
Diff against target: 1680 lines (+1208/-60)
21 files modified
libubuntu-app-launch/CMakeLists.txt (+4/-0)
libubuntu-app-launch/application-impl-base.cpp (+20/-0)
libubuntu-app-launch/application-impl-base.h (+3/-0)
libubuntu-app-launch/application-impl-click.cpp (+6/-0)
libubuntu-app-launch/application-impl-legacy.cpp (+4/-17)
libubuntu-app-launch/application-impl-legacy.h (+0/-1)
libubuntu-app-launch/application-impl-libertine.cpp (+11/-8)
libubuntu-app-launch/application-impl-snap.cpp (+8/-4)
libubuntu-app-launch/application-info-desktop.cpp (+2/-1)
libubuntu-app-launch/application-info-desktop.h (+8/-0)
libubuntu-app-launch/jobs-base.cpp (+45/-2)
libubuntu-app-launch/jobs-base.h (+8/-0)
libubuntu-app-launch/jobs-systemd.cpp (+950/-0)
libubuntu-app-launch/jobs-systemd.h (+123/-0)
libubuntu-app-launch/jobs-upstart.cpp (+0/-25)
libubuntu-app-launch/registry-impl.cpp (+1/-1)
libubuntu-app-launch/snapd-info.cpp (+1/-1)
tests/exec-util-test.cc (+10/-0)
tests/libual-cpp-test.cc (+1/-0)
tests/libual-test.cc (+1/-0)
xmir-helper.c (+2/-0)
To merge this branch: bzr merge lp://staging/~ted/ubuntu-app-launch/jobs-systemd
Reviewer Review Type Date Requested Status
Unity API Team Pending
Review via email: mp+309406@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2016-11-10.

Commit message

SystemD backend added

To post a comment you must log in.
309. By Ted Gould

Adding in numeric header

310. By Ted Gould

Don't throw an exception when we can't read the file, just assume it is empty

311. By Ted Gould

Merge in the tests branch

312. By Ted Gould

Pulling through updates

313. By Ted Gould

Setup the dbus signal watchers for new and removed units

314. By Ted Gould

Flesh out the unitNew and unitRemoved cache part of the functions

315. By Ted Gould

Emit signals if we see no applications or they disappear

316. By Ted Gould

Use pause and resume from the base class

317. By Ted Gould

We are no emitting valid stopped and started signals

318. By Ted Gould

Switch to the signal based unit cache

319. By Ted Gould

Replace listUnits code with using our unit cache

320. By Ted Gould

Setting up the signal watcher for building the failed signal

321. By Ted Gould

Flesh out the failed signal setup

322. By Ted Gould

Make sure the failure test is still using the Upstart backend

323. By Ted Gould

Debug messages

324. By Ted Gould

Subscribing to events from systemd

325. By Ted Gould

Make sure we get the unit path not just the job path

326. By Ted Gould

Putting in a warning if we're not setting the ExecStart

327. By Ted Gould

Warn if we end up with an odd parse

328. By Ted Gould

Make the code less clever but easier to read and hopefully we can figure out what's going on.

329. By Ted Gould

Pulling through trunk

330. By Ted Gould

Clear out some of the environment variables and check the length

331. By Ted Gould

Keeping libertine launch

332. By Ted Gould

Merge parent

333. By Ted Gould

Test fixes

334. By Ted Gould

Update to the jobs-tests branch updates

335. By Ted Gould

Pull out the registry-mock into it's own file for sharing

336. By Ted Gould

Get in the bones for our testing

337. By Ted Gould

Add in the systemd mock

338. By Ted Gould

Make sure not to use the pointer if we're cancelled

339. By Ted Gould

Build the infrastructure for putting instances in

340. By Ted Gould

Getting our test objects setup

341. By Ted Gould

Add tests to make sure we're initing systemd

342. By Ted Gould

Add a fallback to use the session bus for testing

343. By Ted Gould

Force the systemd unit to session bus

344. By Ted Gould

Make the tests more reliable by waiting on dbus to close

345. By Ted Gould

Ensure that we're immune to very quickly destroyed instances

346. By Ted Gould

Add in a check for an eventually timeout envvar

347. By Ted Gould

Removing fancy async calls

348. By Ted Gould

Setup some 'GetUnit' and more complex mocking for jobs tests

349. By Ted Gould

Don't emit signals on the initial getting a list of units

350. By Ted Gould

Fixing up debug messages

351. By Ted Gould

Make sure to use the registry we have instead of allocating a new one

352. By Ted Gould

A description

353. By Ted Gould

Merge from trunk

354. By Ted Gould

Making it so that we have two multiple and a single

355. By Ted Gould

Apply formatting

356. By Ted Gould

Test to ensure the user bus path is correct

357. By Ted Gould

Adding a test for the PID functions

358. By Ted Gould

Check the stop call code

359. By Ted Gould

Clearing and checking multiple stopping

360. By Ted Gould

Reduce the amount of data needed

361. By Ted Gould

Make a launch test

362. By Ted Gould

First parts of verifying the transient calls

363. By Ted Gould

Environment checking

364. By Ted Gould

Adding in some tests of the instance objects even though they only call into the manager

365. By Ted Gould

Signal new test

366. By Ted Gould

Check signal removed

367. By Ted Gould

Fix for GCC 5.4

368. By Ted Gould

Fail fast

369. By Ted Gould

Okay, that was probably turning it up too high

370. By Ted Gould

Making it so that we throw on errors when building the mock.

371. By Ted Gould

Drop parallel to make builds more reliable

372. By Ted Gould

Make it so that we replace a job on stop

373. By Ted Gould

Update to trunk

374. By Ted Gould

Make getInstance a const method

375. By Ted Gould

Const getAllJobs()

376. By Ted Gould

Comment formatting, whatevs

377. By Ted Gould

Header reshuffle

378. By Ted Gould

Charles hates returns on void functions

379. By Ted Gould

We don't need no stinkin' std::string object

380. By Ted Gould

Remove some printouts when we cancel

381. By Ted Gould

Protect more against null GVariant pointers

382. By Ted Gould

Make the signal handlers safer

383. By Ted Gould

Make parseUnit and unitName const

384. By Ted Gould

Name lamba better

385. By Ted Gould

Use std::vector<> constructor instead of a loop

386. By Ted Gould

Be louder about not having an exec line

387. By Ted Gould

Getting rid of a TODO

388. By Ted Gould

Move declarations

389. By Ted Gould

Avoid calling getenv() twice

390. By Charles Kerr

Cleaner name finding

391. By Ted Gould

Make lists into real lists

392. By Ted Gould

Make sure we don't copy commands

393. By Ted Gould

Making sure we calculate the string once

394. By Ted Gould

Don't get all the jobs until we're sure we have a registry

395. By Ted Gould

Remove try/catch that isn't needed

396. By Ted Gould

Switching to static_cast<>

397. By Ted Gould

Fixing up the failure signals

398. By Charles Kerr

Clearer sorting

399. By Ted Gould

Overrides

400. By Ted Gould

Test the exec line and ensure it doesn't fail

401. By Ted Gould

Don't crash free memory, works but is odd

402. By Ted Gould

Use the g_array functions to avoid some casts

403. By Ted Gould

Making sure everything is on the right bus

Unmerged revisions

403. By Ted Gould

Making sure everything is on the right bus

402. By Ted Gould

Use the g_array functions to avoid some casts

401. By Ted Gould

Don't crash free memory, works but is odd

400. By Ted Gould

Test the exec line and ensure it doesn't fail

399. By Ted Gould

Overrides

398. By Charles Kerr

Clearer sorting

397. By Ted Gould

Fixing up the failure signals

396. By Ted Gould

Switching to static_cast<>

395. By Ted Gould

Remove try/catch that isn't needed

394. By Ted Gould

Don't get all the jobs until we're sure we have a registry

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches