lp:~jamesodhunt/upstart/bug-1324096

Created by James Hunt on 2014-06-02 and last modified on 2014-06-05
Get this branch:
bzr branch lp:~jamesodhunt/upstart/bug-1324096
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Project:
upstart
Status:
Merged

Recent revisions

1625. By James Hunt on 2014-06-05

* Formatting.

1623. By James Hunt on 2014-06-04

* dbus/com.ubuntu.Upstart.xml: Renamed SetEnvMulti to SetEnvList and
  UnsetEnvMulti to UnsetEnvList for clarity.
* init/control.c:
  - control_set_env_list(): Renamed from control_set_env_multi().
  - control_unset_env_list(): Renamed from control_unset_env_multi().
  - control_unset_env(): Actually make it call control_unset_env_list().
* util/initctl.c: Updated to call renamed functions.

1622. By James Hunt on 2014-06-02

* dbus/com.ubuntu.Upstart.xml: Added 'SetEnvMulti' and 'UnsetEnvMulti'
  methods to allow multiple job environment variables to be set/unset
  simultaneously (LP: #1324096).
* init/control.c:
  - control_set_env_multi(): Implementation for 'SetEnvMulti'.
  - control_set_env(): Retained 'SetEnv' implementation that now calls
    control_set_env_multi().
  - control_unset_env_multi(): Implementation for 'UnSetEnvMulti'.
  - control_unset_env(): Retained 'UnSetEnv' implementation that now calls
    control_unset_env_multi().
* util/initctl.c:
  - set_env_action(): Updated to call set_env_multi_sync().
  - unset_env_action(): Updated to call unset_env_multi_sync().
* util/man/initctl.8: Updated to document ability for 'set-env' and
  'unset-env' to set and unset multiple variables simultaneously.
* util/tests/test_initctl.c: Added new tests:
  - "multiple set-env in 'name=value' form"
  - "multiple set-env in 'name=' form"
  - "multiple set-env in 'name' form"
  - "set-env for multiple already set variables"
  - "set-env with multiple variables, some already set"
  - "set-env with multiple variables in different forms"
  - "set-env --retain with multiple variables, some already set"

1621. By James Hunt on 2014-05-15

* Merge of lp:~xnox/upstart/reboot-fix.

1618. By James Hunt on 2014-04-24

* init/man/init.5: Further clarification of 'respawn limit'.

1617. By James Hunt on 2014-04-24

* init/man.5:
  - Clarify default behaviour of 'respawn' stanza.
  - Add missing 'respawn limit unlimited' details.

1616. By James Hunt on 2014-04-17

* Merge of lp:~xnox/upstart/empty-session.

Branch metadata

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

Subscribers