ominfra 0.0.0.dev370__py3-none-any.whl → 0.0.0.dev372__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ominfra/journald/tailer.py +9 -9
- ominfra/scripts/journald2aws.py +9 -9
- ominfra/scripts/supervisor.py +6 -6
- ominfra/supervisor/configs.py +6 -6
- {ominfra-0.0.0.dev370.dist-info → ominfra-0.0.0.dev372.dist-info}/METADATA +3 -3
- {ominfra-0.0.0.dev370.dist-info → ominfra-0.0.0.dev372.dist-info}/RECORD +10 -10
- {ominfra-0.0.0.dev370.dist-info → ominfra-0.0.0.dev372.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev370.dist-info → ominfra-0.0.0.dev372.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev370.dist-info → ominfra-0.0.0.dev372.dist-info}/licenses/LICENSE +0 -0
- {ominfra-0.0.0.dev370.dist-info → ominfra-0.0.0.dev372.dist-info}/top_level.txt +0 -0
ominfra/journald/tailer.py
CHANGED
@@ -190,7 +190,7 @@ Output Options
|
|
190
190
|
Reverse output so that the newest entries are displayed first.
|
191
191
|
--show-cursor
|
192
192
|
The cursor is shown after the last entry after two dashes:
|
193
|
-
-- cursor: s=0639
|
193
|
+
-- cursor: s=0639...
|
194
194
|
The format of the cursor is private and subject to change.
|
195
195
|
--utc
|
196
196
|
Express time in Coordinated Universal Time (UTC).
|
@@ -218,7 +218,7 @@ Output Options
|
|
218
218
|
--no-tail
|
219
219
|
Show all stored output lines, even in follow mode. Undoes the effect of --lines=.
|
220
220
|
-q, --quiet
|
221
|
-
Suppresses all informational messages (i.e. "-- Journal begins at
|
221
|
+
Suppresses all informational messages (i.e. "-- Journal begins at ...", "-- Reboot --"), any warning messages
|
222
222
|
regarding inaccessible system journals when run as a normal user.
|
223
223
|
|
224
224
|
Pager Control Options
|
@@ -302,10 +302,10 @@ Commands
|
|
302
302
|
Instead of showing journal contents, show internal header information of the journal fields accessed. This option is
|
303
303
|
particularly useful when trying to identify out-of-order journal entries, as happens for example when the machine is
|
304
304
|
booted with the wrong system time.
|
305
|
-
--list-catalog [128-bit-ID
|
305
|
+
--list-catalog [128-bit-ID...]
|
306
306
|
List the contents of the message catalog as a table of message IDs, plus their short description strings. If any
|
307
307
|
128-bit-IDs are specified, only those entries are shown.
|
308
|
-
--dump-catalog [128-bit-ID
|
308
|
+
--dump-catalog [128-bit-ID...]
|
309
309
|
Show the contents of the message catalog, with entries separated by a line consisting of two dashes and the ID (the
|
310
310
|
format is the same as .catalog files). If any 128-bit-IDs are specified, only those entries are shown.
|
311
311
|
--update-catalog
|
@@ -326,11 +326,11 @@ Environment
|
|
326
326
|
$SYSTEMD_LOG_LEVEL
|
327
327
|
The maximum log level of emitted messages (messages with a higher log level, i.e. less important ones, will be
|
328
328
|
suppressed). Takes a comma-separated list of values. A value may be either one of (in order of decreasing
|
329
|
-
importance) emerg, alert, crit, err, warning, notice, info, debug, or an integer in the range 0
|
330
|
-
more information. Each value may optionally be prefixed with one of console, syslog, kmsg or journal followed by
|
331
|
-
colon to set the maximum log level for that specific log target (e.g. SYSTEMD_LOG_LEVEL=debug,console:info
|
332
|
-
to log at debug level except when logging to the console which should be at info level). Note that the
|
333
|
-
maximum log level takes priority over any per target maximum log levels.
|
329
|
+
importance) emerg, alert, crit, err, warning, notice, info, debug, or an integer in the range 0...7. See syslog(3)
|
330
|
+
for more information. Each value may optionally be prefixed with one of console, syslog, kmsg or journal followed by
|
331
|
+
a colon to set the maximum log level for that specific log target (e.g. SYSTEMD_LOG_LEVEL=debug,console:info
|
332
|
+
specifies to log at debug level except when logging to the console which should be at info level). Note that the
|
333
|
+
global maximum log level takes priority over any per target maximum log levels.
|
334
334
|
$SYSTEMD_LOG_COLOR
|
335
335
|
A boolean. If true, messages written to the tty will be colored according to priority. This setting is only useful
|
336
336
|
when messages are written directly to the terminal, because journalctl(1) and other tools that display logs will
|
ominfra/scripts/journald2aws.py
CHANGED
@@ -4981,7 +4981,7 @@ Output Options
|
|
4981
4981
|
Reverse output so that the newest entries are displayed first.
|
4982
4982
|
--show-cursor
|
4983
4983
|
The cursor is shown after the last entry after two dashes:
|
4984
|
-
-- cursor: s=0639
|
4984
|
+
-- cursor: s=0639...
|
4985
4985
|
The format of the cursor is private and subject to change.
|
4986
4986
|
--utc
|
4987
4987
|
Express time in Coordinated Universal Time (UTC).
|
@@ -5009,7 +5009,7 @@ Output Options
|
|
5009
5009
|
--no-tail
|
5010
5010
|
Show all stored output lines, even in follow mode. Undoes the effect of --lines=.
|
5011
5011
|
-q, --quiet
|
5012
|
-
Suppresses all informational messages (i.e. "-- Journal begins at
|
5012
|
+
Suppresses all informational messages (i.e. "-- Journal begins at ...", "-- Reboot --"), any warning messages
|
5013
5013
|
regarding inaccessible system journals when run as a normal user.
|
5014
5014
|
|
5015
5015
|
Pager Control Options
|
@@ -5093,10 +5093,10 @@ Commands
|
|
5093
5093
|
Instead of showing journal contents, show internal header information of the journal fields accessed. This option is
|
5094
5094
|
particularly useful when trying to identify out-of-order journal entries, as happens for example when the machine is
|
5095
5095
|
booted with the wrong system time.
|
5096
|
-
--list-catalog [128-bit-ID
|
5096
|
+
--list-catalog [128-bit-ID...]
|
5097
5097
|
List the contents of the message catalog as a table of message IDs, plus their short description strings. If any
|
5098
5098
|
128-bit-IDs are specified, only those entries are shown.
|
5099
|
-
--dump-catalog [128-bit-ID
|
5099
|
+
--dump-catalog [128-bit-ID...]
|
5100
5100
|
Show the contents of the message catalog, with entries separated by a line consisting of two dashes and the ID (the
|
5101
5101
|
format is the same as .catalog files). If any 128-bit-IDs are specified, only those entries are shown.
|
5102
5102
|
--update-catalog
|
@@ -5117,11 +5117,11 @@ Environment
|
|
5117
5117
|
$SYSTEMD_LOG_LEVEL
|
5118
5118
|
The maximum log level of emitted messages (messages with a higher log level, i.e. less important ones, will be
|
5119
5119
|
suppressed). Takes a comma-separated list of values. A value may be either one of (in order of decreasing
|
5120
|
-
importance) emerg, alert, crit, err, warning, notice, info, debug, or an integer in the range 0
|
5121
|
-
more information. Each value may optionally be prefixed with one of console, syslog, kmsg or journal followed by
|
5122
|
-
colon to set the maximum log level for that specific log target (e.g. SYSTEMD_LOG_LEVEL=debug,console:info
|
5123
|
-
to log at debug level except when logging to the console which should be at info level). Note that the
|
5124
|
-
maximum log level takes priority over any per target maximum log levels.
|
5120
|
+
importance) emerg, alert, crit, err, warning, notice, info, debug, or an integer in the range 0...7. See syslog(3)
|
5121
|
+
for more information. Each value may optionally be prefixed with one of console, syslog, kmsg or journal followed by
|
5122
|
+
a colon to set the maximum log level for that specific log target (e.g. SYSTEMD_LOG_LEVEL=debug,console:info
|
5123
|
+
specifies to log at debug level except when logging to the console which should be at info level). Note that the
|
5124
|
+
global maximum log level takes priority over any per target maximum log levels.
|
5125
5125
|
$SYSTEMD_LOG_COLOR
|
5126
5126
|
A boolean. If true, messages written to the tty will be colored according to priority. This setting is only useful
|
5127
5127
|
when messages are written directly to the terminal, because journalctl(1) and other tools that display logs will
|
ominfra/scripts/supervisor.py
CHANGED
@@ -6801,14 +6801,14 @@ class ProcessConfig:
|
|
6801
6801
|
# containing group_name, host_node_name, process_num, program_name, and here (the directory of the supervisord
|
6802
6802
|
# config file). Values containing non-alphanumeric characters should be quoted (e.g. KEY="val:123",KEY2="val,456").
|
6803
6803
|
# Otherwise, quoting the values is optional but recommended. Note that the subprocess will inherit the environment
|
6804
|
-
# variables of the shell used to start
|
6804
|
+
# variables of the shell used to start "supervisord" except for the ones overridden here.
|
6805
6805
|
environment: ta.Optional[ta.Mapping[str, str]] = None
|
6806
6806
|
|
6807
6807
|
#
|
6808
6808
|
|
6809
6809
|
# The relative priority of the program in the start and shutdown ordering. Lower priorities indicate programs that
|
6810
|
-
# start first and shut down last at startup and when aggregate commands are used in various clients (e.g.
|
6811
|
-
# all
|
6810
|
+
# start first and shut down last at startup and when aggregate commands are used in various clients (e.g. "start
|
6811
|
+
# all"/"stop all"). Higher priorities indicate programs that start last and shut down first.
|
6812
6812
|
priority: int = 999
|
6813
6813
|
|
6814
6814
|
# If true, this program will start automatically when supervisord is started.
|
@@ -6830,7 +6830,7 @@ class ProcessConfig:
|
|
6830
6830
|
# successful (moving the process from the STARTING state to the RUNNING state). Set to 0 to indicate that the
|
6831
6831
|
# program needn't stay running for any particular amount of time.
|
6832
6832
|
#
|
6833
|
-
# Note: Even if a process exits with an
|
6833
|
+
# Note: Even if a process exits with an "expected" exit code (see exitcodes), the start will still be considered a
|
6834
6834
|
# failure if the process exits quicker than startsecs.
|
6835
6835
|
start_secs: int = 1
|
6836
6836
|
|
@@ -6859,7 +6859,7 @@ class ProcessConfig:
|
|
6859
6859
|
# taking care of its children as well, useful e.g with Python programs using multiprocessing.
|
6860
6860
|
kill_as_group: bool = False
|
6861
6861
|
|
6862
|
-
# The list of
|
6862
|
+
# The list of "expected" exit codes for this program used with autorestart. If the autorestart parameter is set to
|
6863
6863
|
# unexpected, and the process exits in any other way than as a result of a supervisor stop request, supervisord will
|
6864
6864
|
# restart the process if it exits with an exit code that is not defined in this list.
|
6865
6865
|
#
|
@@ -6941,7 +6941,7 @@ class ServerConfig:
|
|
6941
6941
|
logfile: str = 'supervisord.log'
|
6942
6942
|
|
6943
6943
|
# The maximum number of bytes that may be consumed by the activity log file before it is rotated (suffix multipliers
|
6944
|
-
# like
|
6944
|
+
# like "KB", "MB", and "GB" can be used in the value). Set this value to 0 to indicate an unlimited log size.
|
6945
6945
|
logfile_max_bytes: int = 50 * 1024 * 1024
|
6946
6946
|
|
6947
6947
|
# The number of backups to keep around resulting from activity log file rotation. If set to 0, no backups will be
|
ominfra/supervisor/configs.py
CHANGED
@@ -82,14 +82,14 @@ class ProcessConfig:
|
|
82
82
|
# containing group_name, host_node_name, process_num, program_name, and here (the directory of the supervisord
|
83
83
|
# config file). Values containing non-alphanumeric characters should be quoted (e.g. KEY="val:123",KEY2="val,456").
|
84
84
|
# Otherwise, quoting the values is optional but recommended. Note that the subprocess will inherit the environment
|
85
|
-
# variables of the shell used to start
|
85
|
+
# variables of the shell used to start "supervisord" except for the ones overridden here.
|
86
86
|
environment: ta.Optional[ta.Mapping[str, str]] = None
|
87
87
|
|
88
88
|
#
|
89
89
|
|
90
90
|
# The relative priority of the program in the start and shutdown ordering. Lower priorities indicate programs that
|
91
|
-
# start first and shut down last at startup and when aggregate commands are used in various clients (e.g.
|
92
|
-
# all
|
91
|
+
# start first and shut down last at startup and when aggregate commands are used in various clients (e.g. "start
|
92
|
+
# all"/"stop all"). Higher priorities indicate programs that start last and shut down first.
|
93
93
|
priority: int = 999
|
94
94
|
|
95
95
|
# If true, this program will start automatically when supervisord is started.
|
@@ -111,7 +111,7 @@ class ProcessConfig:
|
|
111
111
|
# successful (moving the process from the STARTING state to the RUNNING state). Set to 0 to indicate that the
|
112
112
|
# program needn't stay running for any particular amount of time.
|
113
113
|
#
|
114
|
-
# Note: Even if a process exits with an
|
114
|
+
# Note: Even if a process exits with an "expected" exit code (see exitcodes), the start will still be considered a
|
115
115
|
# failure if the process exits quicker than startsecs.
|
116
116
|
start_secs: int = 1
|
117
117
|
|
@@ -140,7 +140,7 @@ class ProcessConfig:
|
|
140
140
|
# taking care of its children as well, useful e.g with Python programs using multiprocessing.
|
141
141
|
kill_as_group: bool = False
|
142
142
|
|
143
|
-
# The list of
|
143
|
+
# The list of "expected" exit codes for this program used with autorestart. If the autorestart parameter is set to
|
144
144
|
# unexpected, and the process exits in any other way than as a result of a supervisor stop request, supervisord will
|
145
145
|
# restart the process if it exits with an exit code that is not defined in this list.
|
146
146
|
#
|
@@ -222,7 +222,7 @@ class ServerConfig:
|
|
222
222
|
logfile: str = 'supervisord.log'
|
223
223
|
|
224
224
|
# The maximum number of bytes that may be consumed by the activity log file before it is rotated (suffix multipliers
|
225
|
-
# like
|
225
|
+
# like "KB", "MB", and "GB" can be used in the value). Set this value to 0 to indicate an unlimited log size.
|
226
226
|
logfile_max_bytes: int = 50 * 1024 * 1024
|
227
227
|
|
228
228
|
# The number of backups to keep around resulting from activity log file rotation. If set to 0, no backups will be
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev372
|
4
4
|
Summary: ominfra
|
5
5
|
Author: wrmsr
|
6
6
|
License: BSD-3-Clause
|
@@ -12,8 +12,8 @@ Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Operating System :: POSIX
|
13
13
|
Requires-Python: >=3.13
|
14
14
|
License-File: LICENSE
|
15
|
-
Requires-Dist: omdev==0.0.0.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev372
|
16
|
+
Requires-Dist: omlish==0.0.0.dev372
|
17
17
|
Provides-Extra: all
|
18
18
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
19
19
|
Requires-Dist: asyncssh~=2.21; extra == "all"
|
@@ -45,7 +45,7 @@ ominfra/journald/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
45
45
|
ominfra/journald/fields.py,sha256=NjjVn7GW4jkcGdyiiizVjEfQqSFnolXYk3kDcSQcMmc,12278
|
46
46
|
ominfra/journald/genmessages.py,sha256=8dGpyhVDY7WyXQQuONckeipXgDnT08xC2EWN8VsF10o,1862
|
47
47
|
ominfra/journald/messages.py,sha256=tDqfu_qa918Eyp8a3HZhd3PVsjCCfHyyTJAKweNzkh0,2195
|
48
|
-
ominfra/journald/tailer.py,sha256=
|
48
|
+
ominfra/journald/tailer.py,sha256=GPt6LIqJ_C73d5k9hgCa9IA14do0N5q0tlPBOjoAVqM,33528
|
49
49
|
ominfra/manage/__init__.py,sha256=aykrEASTHEtJ-o97jUHRIv8oea41tO7RDHB56cQfmis,265
|
50
50
|
ominfra/manage/__main__.py,sha256=5IeIERm-371fSI5ZvPv8eldAJBwgKwpR0R49pTsILNM,76
|
51
51
|
ominfra/manage/bootstrap.py,sha256=QMM7SWBzzI8AkeU_9NVJgpKS5TVPTeB_-6Q9i_2zjEo,457
|
@@ -112,13 +112,13 @@ ominfra/manage/targets/connection.py,sha256=Ut-R_PvQN9tPBacZD0ODmLIYvLsgS51qvOGr
|
|
112
112
|
ominfra/manage/targets/inject.py,sha256=3M4wBkxtvymq_yhiotHlTN8iydELMjVCndyp9Bq-4eo,1572
|
113
113
|
ominfra/manage/targets/targets.py,sha256=WmasYmL6xfAI7F0XvDhScFdBVxkqPkmo_gRgABmmkGA,1891
|
114
114
|
ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
|
-
ominfra/scripts/journald2aws.py,sha256=
|
115
|
+
ominfra/scripts/journald2aws.py,sha256=NktItr1nTn5PZHQDCY6Si6xD2-dvH2Ze5qjViJFGFLY,171924
|
116
116
|
ominfra/scripts/manage.py,sha256=Ze0_y2EzuKua5MJNBnu-uRY9zo66jDl0AW6xoI5pf1w,390543
|
117
|
-
ominfra/scripts/supervisor.py,sha256=
|
117
|
+
ominfra/scripts/supervisor.py,sha256=I1QqarI0G5y-AWmv88AVpLvELYY-vOR6jZRsNUf1ogk,304398
|
118
118
|
ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
|
119
119
|
ominfra/supervisor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
|
120
120
|
ominfra/supervisor/__main__.py,sha256=I0yFw-C08OOiZ3BF6lF1Oiv789EQXu-_j6whDhQUTEA,66
|
121
|
-
ominfra/supervisor/configs.py,sha256=
|
121
|
+
ominfra/supervisor/configs.py,sha256=BD7kaFXSRjXLawTtISC80qv16tKsSjXuXftMucdcfng,13821
|
122
122
|
ominfra/supervisor/dispatchers.py,sha256=IqsEO-l0UaZK5tRrsDvgl-5eQNj6wPdY3MPv-kHvQ10,1011
|
123
123
|
ominfra/supervisor/dispatchersimpl.py,sha256=B7TWHkqa9B07mEd4vu0R95JfUUfVMb990-MOhe8IVtc,11355
|
124
124
|
ominfra/supervisor/errors.py,sha256=Qbu211H3CLlSmi9LsSikOwrcL5HgJP9ugvcKWlGTAoI,750
|
@@ -156,9 +156,9 @@ ominfra/tailscale/api.py,sha256=XASv9C_CWI-u-yX5jVzhJrkJhlwQRkYQWQQG1uJwAd8,1375
|
|
156
156
|
ominfra/tailscale/cli.py,sha256=zRV7-tKB7kBah1oTVZlol-vwx1FBlnfzYAPGkeU5jX4,3543
|
157
157
|
ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
158
158
|
ominfra/tools/listresources.py,sha256=auGP1LlbBJSFKUWNvQo_UzA8IsBNZBTMwEkFFRJ4FX4,6185
|
159
|
-
ominfra-0.0.0.
|
160
|
-
ominfra-0.0.0.
|
161
|
-
ominfra-0.0.0.
|
162
|
-
ominfra-0.0.0.
|
163
|
-
ominfra-0.0.0.
|
164
|
-
ominfra-0.0.0.
|
159
|
+
ominfra-0.0.0.dev372.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
160
|
+
ominfra-0.0.0.dev372.dist-info/METADATA,sha256=-mZYtNGreNoQnHeE_i6ByA3uZCoSFxRJa8b50KqaXp8,753
|
161
|
+
ominfra-0.0.0.dev372.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
162
|
+
ominfra-0.0.0.dev372.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
|
163
|
+
ominfra-0.0.0.dev372.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
|
164
|
+
ominfra-0.0.0.dev372.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|