From 611773a0946f9b1d1b834953236a96cbdfea2211 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 3 Dec 2021 05:32:58 +0000 Subject: Prepare for 0.5.3.0, add contents.d and dependencies.d support Signed-off-by: Laurent Bercot --- NEWS | 9 +++++++++ doc/index.html | 2 +- doc/s6-rc-compile.html | 31 ++++++++++++++++++++++--------- doc/upgrade.html | 10 ++++++++++ package/info | 2 +- src/s6-rc/s6-rc-compile.c | 42 ++++++++++++++++++++++++++++++++++++------ 6 files changed, 79 insertions(+), 17 deletions(-) diff --git a/NEWS b/NEWS index c766458..4753284 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,14 @@ Changelog for s6-rc. +In 0.6.0.0 +---------- + + - s6-rc-compile now reads service dependencies and bundle contents +from directories, not from files. This makes it easier for package +managers to drop services in a source database without modifying +existing files. + + In 0.5.2.3 ---------- diff --git a/doc/index.html b/doc/index.html index 06fb919..0bb9aeb 100644 --- a/doc/index.html +++ b/doc/index.html @@ -67,7 +67,7 @@ requirement if you link against the shared version of the skalibs library.

It is unnecessary to manually define complete sets of dependencies in the -dependencies file, because +dependencies.d directory or the dependencies file, because s6-rc will properly handle dependency chains. If A depends on B, no matter the underlying implementation of B, and the current implementation of B depends on C, then you should just put B in -A/dependencies; when starting the set, +A/dependencies.d; when starting the set, s6-rc will start C first, then B, then A. If the underlying implementation of B changes and does not depend on C, then you will just have to @@ -168,7 +181,7 @@ will still be correct.

Of course, if A depends on C anyway, you should add -both B and C to A/dependencies. +both B and C to A/dependencies.d.

diff --git a/doc/upgrade.html b/doc/upgrade.html index 5c75358..1697860 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -30,6 +30,16 @@ minor and bugfix version changes.

What has changed in s6-rc

+

in 0.5.3.0

+ + +

in 0.5.2.3