Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-29 | Add autopkgtests | Dmitry Bogatov | |
2019-05-29 | Add missing dependency on libfile-slurp-perl | Dmitry Bogatov | |
2019-05-29 | Add Gitlab CI config file | Dmitry Bogatov | |
2019-05-29 | Create marker files for use by "invoke-run" | Dmitry Bogatov | |
Create marker file in /usr/share, that is checked by "invoke-run". If marker file is absent, package was unstalled, but not purged (runscripts are conffiles), and service must be put into "down" state. To not break already-existing runscript, using "invoke-run", such check is only performed when it is known, that marker file existed. It can be known by checking presence of /etc/sv/{name}/.meta/installed. Gbp-Closes: #929693 | |||
2019-05-29 | Refactor dh_runit | Dmitry Bogatov | |
Introduce new function "create_empty_file" and reuse it for side-effect of creating parent directories in "template_from_data_directory" and to avoid manual open/close calls in main function. | |||
2019-05-28 | Refactor creation of logscript | Dmitry Bogatov | |
Instead of using interpolation and here-strings, write function that renders mustache template. This approach makes code cleaner and more scalable. * data/logscript: add mustach template of 'log/run' script, that is installed when "logscript" option in effect. * Makefile: set DH_RUNIT_DATADIR variable in "check" target. This way, templates from ./data/ directory are used, not from system location. * debian/control: add dependency on Text::Hogan library -- implementation of "mustache" templating standard. * dh_runit(template_from_data_directory): new function * dh_runit: install 'log/run' with "template_from_data_directory" function. * t/928935.t: check that "logscript" option correctly creates 'log/run' script, with correct permissions. | |||
2019-05-28 | Make it possible to reuse t/*.t for autopkgtest | Dmitry Bogatov | |
During build (target "check"), PATH and DH_AUTOSCRIPTDIR are set in a way, that tests use dh_runit(1) and maintainer script snippets from current directory. Target "autopkgtest" uses dh_runit, globally installed in system. | |||
2019-05-28 | Change path of "noreplace" flag file | Dmitry Bogatov | |
First of all, "noreplace" flag file is architecture-independent and is not meant to be edited by system administrator, so it does not belong to /var. New namings scheme provides more options for extensibility, i.e introducing more flag files. While it is definitely not good thing to have, it seems, unfortunately, necessary to support, e.g uninstalled-not-purged situation. | |||
2019-05-14 | Add option to mark service as non-restartable | Dmitry Bogatov | |
2019-05-14 | Create package for test-related code. | Dmitry Bogatov | |
2019-03-20 | Make build system respect `nocheck' option. | Dmitry Bogatov | |
2019-03-20 | Release 2.8.10 | Dmitry Bogatov | |
2019-03-20 | Run testsuite during package build. | Dmitry Bogatov | |
2019-03-20 | Make permissions of supervise directories 0700, as created by sv(8). ↵ | Dmitry Bogatov | |
(Closes: #924903) | |||
2019-03-20 | Write test suite for #924903 | Dmitry Bogatov | |
2019-03-12 | Release 2.8.9 | Dmitry Bogatov | |
2019-03-12 | Fix missing directory error when installing runscript directory. | Dmitry Bogatov | |
2019-03-05 | Release 2.8.8 | Dmitry Bogatov | |
2019-03-05 | Correctly create symlinks in /etc/service in post-inst on first revision of ↵ | Dmitry Bogatov | |
package, that introduced runscript. (Closes: #923233) | |||
2019-02-28 | Do not create /etc/sv directory if there is no runscript (Closes: #923439) | Dmitry Bogatov | |
2019-02-24 | Release 2.8.7 | Dmitry Bogatov | |
2019-02-24 | Generate breaks with runit version, predating 'invoke-run' script. | Dmitry Bogatov | |
2019-02-15 | Release 2.8.6 | Dmitry Bogatov | |
2019-02-15 | Fix short description of runit-helper (Closes: #922413) | Dmitry Bogatov | |
2019-02-10 | Release 2.8.5 | Dmitry Bogatov | |
2019-02-10 | Mark `runit-helper' as Multi-Arch: foreign (Closes: #921950) | Dmitry Bogatov | |
2019-02-03 | Release 2.8.4 | Dmitry Bogatov | |
2019-02-01 | Copy-edit dh_runit(1) documentation. (Closes: #920963) | Dmitry Bogatov | |
2019-01-22 | Release 2.8.3 | Dmitry Bogatov | |
2019-01-22 | Document runit:Breaks substitution variable | Dmitry Bogatov | |
2019-01-19 | Release 2.8.2 | Dmitry Bogatov | |
2019-01-19 | Update standards version to 4.3.0 (no changes needed) | Dmitry Bogatov | |
2019-01-19 | Bump debhelper-compat to 12 | Dmitry Bogatov | |
2019-01-19 | Update Maintainer field | Dmitry Bogatov | |
2018-12-16 | Release 2.8.1 | Dmitry Bogatov | |
2018-12-16 | Make `/etc/runit/runsvdir/default' directory part of package, providing ↵ | Dmitry Bogatov | |
runscript. | |||
2018-12-16 | Do not impose dependency on `runit' binary package | Dmitry Bogatov | |
Instead, generate conflict relation with old `runit' version, not providing `runit-log' user. | |||
2018-12-12 | Make auto-generated runscripts invoke svlogd(8) as `runit-log' user. | Dmitry Bogatov | |
* Make auto-generated runscripts invoke svlogd(8) as `runit-log' user. * Impose dependency on (runit >= 2.1.2-20), which provides `runit-log' user. | |||
2018-05-27 | Do not re-enable serice on upgrade | Dmitry Bogatov | |
* Do not make symbolic link /etc/runit/runsvdir/default/$name -> /etc/sv/$name part of package files {in which case it will be unconditionally created on upgrade}; instead manage it in maintainer scripts: create it in postinst script on fresh install and remove on purge/remove in postrm. * Force versioned dependency on runit-helper, to make sure that versioned dependency on dh-runit would close #899242 | |||
2018-04-14 | Update standards version to 4.1.4 (no changes needed) | Dmitry Bogatov | |
2018-04-14 | Bump compat version to 11 (no changes needed) | Dmitry Bogatov | |
2018-04-14 | Invoke runit-helper only if it is available | Dmitry Bogatov | |
2018-03-11 | Upload to unstable. | Dmitry Bogatov | |
2018-03-07 | Mark for release | Dmitry Bogatov | |
2018-03-02 | Update Vcs-* and Homepage fields in debian/control. | Dmitry Bogatov | |
2018-03-02 | Actually fix missing dh-sysuser dependency | Dmitry Bogatov | |
dh-sysuser must but dh-runit dependency, not build-dependency! | |||
2017-03-02 | Mark for release into experimental | Dmitry Bogatov | |
2017-03-02 | Introduce new binary package 'runit-helper', allowing packages to access ↵ | Dmitry Bogatov | |
fixes and improvements in 'dh-runit' without rebuild. | |||
2017-03-02 | Ensure that after package removal logs belong to root. | Dmitry Bogatov | |
2017-03-02 | Remove 'logdir' option for simplicity sake. Strictly speaking it is ↵ | Dmitry Bogatov | |
backward-incompatible change, hence the version major bump, but I am unaware of any actual users of this option. |