[Branch ~upstart-devel/upstart/trunk] Rev 1421: * dbus/com.ubuntu.Upstart.xml:

noreply at launchpad.net noreply at launchpad.net
Thu Jan 31 17:25:33 UTC 2013


------------------------------------------------------------
revno: 1421
committer: James Hunt <james.hunt at ubuntu.com>
branch nick: upstart-setenv+getenv
timestamp: Fri 2013-01-25 20:08:49 +0000
message:
  * dbus/com.ubuntu.Upstart.xml:
    - Added 'job_details' string array as first parameter for GetEnv,
      SetEnv, UnsetEnv, ListEnv and ResetEnv to allow methods to either
      act globally or on a specific job environment.
  * init/control.c:
    - control_set_env():
    - control_unset_env():
    - control_get_env():
    - control_list_env():
    - control_reset_env():
      - Disallow setting for PID 1.
      - Operate globally or on specified job.
  * init/control.h: control_get_job(): Macro to simplify extracting job
    from provided job details.
  * init/job.c: job_find(): New function.
  * init/job_class.c:
    - job_class_environment_set(): Delimiter handling now moved to
      control_set_env() so it can be shared by job and global logic.
    - job_class_find(): New function.
  * init/state.c:
    - Removed state_get_job() and replaced calls with job_find().
  * util/initctl.c:
    - Updated *_action() functions for new D-Bus parameters and made use
      of new function get_job_details().
modified:
  ChangeLog
  dbus/com.ubuntu.Upstart.xml
  init/control.c
  init/control.h
  init/job.c
  init/job.h
  init/job_class.c
  init/job_class.h
  init/state.c
  util/initctl.c


--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk

Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revision-diff.txt
Type: text/x-diff
Size: 16505 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20130131/22eb95f5/attachment-0001.diff>


More information about the upstart-devel mailing list