lp:~jamesodhunt/upstart/upstream-initctl-check-config

Created by James Hunt and last modified
Get this branch:
bzr branch lp:~jamesodhunt/upstart/upstream-initctl-check-config
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

1295. By James Hunt

* util/man/init.5:
  - Update for format of "emit" events.
  - Add reference to initctl.
  - Typo.

1294. By James Hunt

* util/initctl.c:check_config_action(): Fixed invalid test which
  resulted in leaked memory.

1293. By James Hunt

* Changelog: updated.
* conf/rc-sysinit.conf: Added emits stanza as required by
  "initctl check-config".

1292. By James Hunt

* Changelog: Update for "check-config".

1291. By James Hunt

Merge of lp:~jamesodhunt/upstart/1.3.

1290. By James Hunt

Add "check-config" command to initctl.

* util/initctl.c:
  - New functions:
    - allow_event(): Determine if specified event is erroneous or not.
      Handles globbing.
    - allow_job(): Determine if specified job is erroneous or not.
      Handles variables (such as instance variables).
    - check_condition(): High-level function to handle checking start
      on/stop on conditions.
    - check_config_action: Handler for "check-config" command.
    - display_check_errors(): Display errors from expression tree nodes
      that are in error.
    - eval_expr_tree(): Evaluate expression tree.
    - ignored_events_setter(): handler for '--ignore-events' command-line
      option for "check-config" command.
    - tree_filter(): Used for filtering expression tree nodes.
  - show_config_action(): Update for check-config mode.
  - job_class_parse_events(): Update for check-config mode.
  - job_class_show_emits(): Update for check-config mode.
* util/initctl.h:
  - Added structs for JobCondition, CheckConfigData and ExprNode.
  - New macros: MAKE_EXPR_NODE() and MAKE_JOB_CONDITION().
* util/tests/test_initctl.c:
  - test_check_config(): New function to test "initctl check-config".
  - main(): Added call to test_check_config(), conditional on
    a non-chroot environment and a working D-Bus system.
* util/man/initctl.8: Updated for "check-config" command and associated
  options.

1288. By James Hunt

Re-merge of lp:~jamesodhunt/upstart/upstream-add-session-bus-support
for initctl D-Bus session support.

1286. By James Hunt

Remerge of lp:~jamesodhunt/upstart/upstream-configurable-confdir to get
man page update.

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