lp:~canonical-scott/upstart/bridges

Created by Scott James Remnant (Canonical) and last modified
Get this branch:
bzr branch lp:~canonical-scott/upstart/bridges
Only Scott James Remnant (Canonical) can upload to this branch. If you are Scott James Remnant (Canonical) please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott James Remnant (Canonical)
Project:
upstart
Status:
Merged

Recent revisions

1253. By Scott James Remnant (Canonical)

Here's a quick pass at adding file descriptors to the events and
ultimately to the job.

This needs a small patch to libnih-dbus to add DBUS_TYPE_UNIX_FD <-> int
mappings

1252. By Scott James Remnant (Canonical)

Need a destructor to close the socket

1251. By Scott James Remnant (Canonical)

Support abstract sockets with:

 start on socket PROTO=unix PATH=@/at/upstart/example

1250. By Scott James Remnant (Canonical)

Ok, that's about 90% of a socket bridge for upstart, it'll handle the
following:

 start on socket PROTO=inet PORT=1234
 start on socket PROTO=unix PATH=/var/run/.s.pgsql.1234

Missing piece is actually getting the socket across, which needs a patch
to libnih-dbus

1249. By Scott James Remnant (Canonical)

catch up with main

1248. By Scott James Remnant (Canonical)

skeleton job tracking code

1247. By Scott James Remnant (Canonical)

Import the udev bridge from Ubuntu

1246. By Scott James Remnant (Canonical)

Implement properties for start_on, stop_on and emits

1245. By Scott James Remnant (Canonical)

* init/tests/test_job.c (test_change_state): Add missing
DBUS_TYPE_INVALID to dbus_message_get_args() call.

1244. By Scott James Remnant (Canonical)

* dbus/com.ubuntu.Upstart.Instance.xml (GoalChanged, StateChanged)
(Failed): New signals.
* init/job.c (job_change_goal): Emit GoalChanged signal after
(job_change_state): Emit StateChanged signal after changing state.
(job_failed): Emit Failed signal after marking job as failed.
* init/tests/test_job.c (test_change_goal): Test for this.
(test_change_state): Test for this.
* NEWS: Update.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~canonical-scott/upstart/trunk
This branch contains Public information 
Everyone can see this information.