<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git/tools/unitc, branch 1.35.0</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>Update copyright notice</title>
<updated>2025-01-14T04:17:34+00:00</updated>
<author>
<name>Andrew Clayton</name>
<email>a.clayton@nginx.com</email>
</author>
<published>2025-01-09T16:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=b4201ab371011e94123de5895c0b40943c644a2a'/>
<id>b4201ab371011e94123de5895c0b40943c644a2a</id>
<content type='text'>
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools/unitc: Redirect stderr for curl feature test</title>
<updated>2024-06-18T13:08:08+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2024-06-18T10:38:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=ec11eb1252ed1fe147f993cb6e3f20be81bc0d08'/>
<id>ec11eb1252ed1fe147f993cb6e3f20be81bc0d08</id>
<content type='text'>
[ Tweaked subject prefix - Andrew ]
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ Tweaked subject prefix - Andrew ]
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools: improved error handling for unitc</title>
<updated>2024-06-12T20:33:18+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2024-06-06T09:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=a7e3686aacc3ced28670b6e6c69508072e101e69'/>
<id>a7e3686aacc3ced28670b6e6c69508072e101e69</id>
<content type='text'>
This patch does a number of things to help when failing to apply a new
configuration.

* The error body from the Unit control API is displayed which can have
  useful troubleshooting information (when the version of curl supports it).

* When using the EDIT option, the temporary file with unapplied changes is
  preserved so that the user can edit it again without losing their work.

* Editing JavaScript modules no longer requires that module to have been
  enabled.

* Failure to apply edited JavaScript modules now rolls-back to the previous
  configuration instead of deleting the module.

Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch does a number of things to help when failing to apply a new
configuration.

* The error body from the Unit control API is displayed which can have
  useful troubleshooting information (when the version of curl supports it).

* When using the EDIT option, the temporary file with unapplied changes is
  preserved so that the user can edit it again without losing their work.

* Editing JavaScript modules no longer requires that module to have been
  enabled.

* Failure to apply edited JavaScript modules now rolls-back to the previous
  configuration instead of deleting the module.

Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated copyright notice.</title>
<updated>2024-02-20T16:08:36+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-01-30T09:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=f71ead5fa5b8bae378a0eca2bedb689cf08a8eff'/>
<id>f71ead5fa5b8bae378a0eca2bedb689cf08a8eff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools: disambiguate unitc control socket detection</title>
<updated>2024-02-19T13:00:26+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2023-11-08T09:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=1dca86028a1306655f513512f353a38e10b75d85'/>
<id>1dca86028a1306655f513512f353a38e10b75d85</id>
<content type='text'>
Now that unitd has multiple --control* startup options, locating the
address of the control socket requires additional precision.

Signed-off-by: Liam Crilly &lt;liam.crilly@nginx.com&gt;
Acked-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that unitd has multiple --control* startup options, locating the
address of the control socket requires additional precision.

Signed-off-by: Liam Crilly &lt;liam.crilly@nginx.com&gt;
Acked-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>White space formatting fixes</title>
<updated>2024-01-16T15:37:07+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2024-01-16T15:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=a1e00b4e28d56365b4b5cc4aa44185c4b53f5c33'/>
<id>a1e00b4e28d56365b4b5cc4aa44185c4b53f5c33</id>
<content type='text'>
Closes: &lt;https://github.com/nginx/unit/pull/1062&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes: &lt;https://github.com/nginx/unit/pull/1062&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools: unitc remote mode edit fix.</title>
<updated>2023-10-18T21:26:13+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2023-10-18T21:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=d51f7def1442ff7519e14263559e3483a9a28f93'/>
<id>d51f7def1442ff7519e14263559e3483a9a28f93</id>
<content type='text'>
Previously, the edit method created a temporary file that was then sent
to curl(1) as --data-binary @filename.tmp. This did not work with
remote instances because the temporary file is not on the remote host.
The edit method now passes the configuration to curl(1) using stdin, the
same way as for all other configuration changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the edit method created a temporary file that was then sent
to curl(1) as --data-binary @filename.tmp. This did not work with
remote instances because the temporary file is not on the remote host.
The edit method now passes the configuration to curl(1) using stdin, the
same way as for all other configuration changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools: unitc Docker mode.</title>
<updated>2023-10-16T09:32:19+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2023-10-16T09:32:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=43f140dfd318378f330ff019bb2a37c94d8f885c'/>
<id>43f140dfd318378f330ff019bb2a37c94d8f885c</id>
<content type='text'>
Introduces a new remote host scheme docker:// that specifies a local
container ID. By default, the control socket is assumed to be in the default
location, as per the Docker Official Images for Unit. If not, the path to
the control socket can be appended to the container ID.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduces a new remote host scheme docker:// that specifies a local
container ID. By default, the control socket is assumed to be in the default
location, as per the Docker Official Images for Unit. If not, the path to
the control socket can be appended to the container ID.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools: unitc YAML mode.</title>
<updated>2023-10-10T14:06:36+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2023-10-10T14:06:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=599b035a544ea27e9fe76cb79f7d672ef114c2d2'/>
<id>599b035a544ea27e9fe76cb79f7d672ef114c2d2</id>
<content type='text'>
Added --format option to manage configuration in other formats.
Initially, YAML is the only supported conversion format.
JSON/YAML conversion is performed with yq(1).

Suggested by: Torstein Krause Johansen &lt;https://github.com/skybert&gt;
Closes: #958 &lt;https://github.com/nginx/unit/issues/958&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added --format option to manage configuration in other formats.
Initially, YAML is the only supported conversion format.
JSON/YAML conversion is performed with yq(1).

Suggested by: Torstein Krause Johansen &lt;https://github.com/skybert&gt;
Closes: #958 &lt;https://github.com/nginx/unit/issues/958&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tools: unitc quiet mode fix for macOS.</title>
<updated>2023-10-03T13:57:17+00:00</updated>
<author>
<name>Liam Crilly</name>
<email>liam.crilly@nginx.com</email>
</author>
<published>2023-10-03T13:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=9ad207057c620f234f01483bd3a39176945ec202'/>
<id>9ad207057c620f234f01483bd3a39176945ec202</id>
<content type='text'>
head -c 0 does not work on macOS (invalid byte count) but tail(1) is happy
to accept zero bytes, and does not have a performance penalty.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
head -c 0 does not work on macOS (invalid byte count) but tail(1) is happy
to accept zero bytes, and does not have a performance penalty.
</pre>
</div>
</content>
</entry>
</feed>
