Skip to content

Added back deprecated options to unitd. #884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2023
Merged

Added back deprecated options to unitd. #884

merged 1 commit into from
May 20, 2023

Conversation

alejandro-colomar
Copy link
Contributor

@alejandro-colomar alejandro-colomar commented May 17, 2023

We renamed the options recently, with the intention of keeping the old
names as supported but deprecated for some time, before removal.  This
was done with the configure script options, but in the unitd binary, we
accidentally removed the old names, causing some unintended breakage.
Keep support for the old names, albeit with a deprecation message to
stderr, for some time, until we decide to remove them.

Fixes: 5a37171 ("Added default values for pathnames.")
Closes: #876
Reported-by: @elrido
Acked-by: @lcrilly
Acked-by: @tippexs
Acked-by: @artemkonev
Cc: @andrey-zelenkov
Signed-off-by: @alejandro-colomar

@alejandro-colomar alejandro-colomar requested a review from ac000 May 17, 2023 12:46
We renamed the options recently, with the intention of keeping the old
names as supported but deprecated for some time, before removal.  This
was done with the configure script options, but in the unitd binary, we
accidentally removed the old names, causing some unintended breakage.
Keep support for the old names, albeit with a deprecation message to
stderr, for some time, until we decide to remove them.

Fixes: 5a37171 ("Added default values for pathnames.")
Closes: <#876>
Reported-by: El RIDO <elrido@gmx.net>
Acked-by: Liam Crilly <liam@nginx.com>
Acked-by: Artem Konev <a.konev@f5.com>
Acked-by: Timo Stark <t.stark@nginx.com>
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Cc: Andrei Zeliankou <zelenkov@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
@nginx-hg-mirror nginx-hg-mirror merged commit f32858d into nginx:master May 20, 2023
@alejandro-colomar alejandro-colomar deleted the tmp branch May 20, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unitd 1.30.0 change the option --tmp to --tmpdir
3 participants