diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2023-03-19 15:31:09 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-05-24 19:05:06 -0400 |
| commit | 2c806099c7d581b4181acd3ecffac42bed223bea (patch) | |
| tree | 891e61c6c13751f750abd5d054f36c5fdaba2196 /docs/yaml/functions/install_data.yaml | |
| parent | 1ff996ea6753595d181e357a6b8821c1bd5c8724 (diff) | |
| download | meson-2c806099c7d581b4181acd3ecffac42bed223bea.tar.gz | |
repair install_mode support for uid/gid effectively everywhere
We silently dropped all integer values to install_mode since the
original implementation of doing this in KwargInfo, in commit
596c8d4af50d0e5a25ee0ee1e177e46b6c7ad22e.
This happened because install_mode is supposed to convert False
(exactly) to None, and otherwise pass all arguments in place. But a
generator is homogeneous and attempting to do this correctly produced a
mypy error that FileMode arguments were allowed to be ints -- well of
course they are -- so that resulted in the convertor... treating ints
like False instead, to make mypy happy.
Fixes #11538
Diffstat (limited to 'docs/yaml/functions/install_data.yaml')
| -rw-r--r-- | docs/yaml/functions/install_data.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/yaml/functions/install_data.yaml b/docs/yaml/functions/install_data.yaml index 191c6129d..b0834791e 100644 --- a/docs/yaml/functions/install_data.yaml +++ b/docs/yaml/functions/install_data.yaml @@ -10,6 +10,9 @@ varargs: type: file | str description: Files to install. +warnings: + - the `install_mode` kwarg ignored integer values between 0.59.0 -- 1.1.0. + kwargs: install_dir: type: str |
