zuul/zuul/lib
James E. Blair b7e2e49f7f Use sort_keys with json almost everywhere we write to ZK
For almost any data we write to ZK (except for long-standing nodepool
classes), add the sort_keys=True so that we can more easily determine
whether an update is required.

This is in service of zkobject, and is not strictly necessary because
the json module follows dict insertion order, and our serialize methods
are obviously internally consistent (at least, if they're going to produce
the same data, which is all we care about).  But that hasn't always been
true and might not be true in the future, so this is good future-proofing.

Based on a similar thought, the argument is also added to several places
which do not use zkobject but which do write to ZK, in case we perform
a similar check in the future.  This seems like a good habit to use
throughout the code base.

Change-Id: Idca67942c057ab0e6b629b50b9b3367ccc0e4ad7
2021-11-12 15:50:02 -08:00
..
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
ansible-config.conf Add boto3 to default executor venv packages 2021-04-23 16:10:58 +02:00
ansible.py Cleanup Zuul's stdout/stderr output 2021-06-04 11:42:02 -07:00
auth.py Bump pyjwt to 2.0.0 2021-01-14 12:35:18 +00:00
capabilities.py OIDCAuthenticator: add capabilities, scope option 2020-03-27 16:47:21 +00:00
collections.py Implementation of Zookeeper backed event queues 2021-03-18 09:24:07 +01:00
commandsocket.py Improve test output by using named queues 2021-03-24 07:39:15 +01:00
config.py Add gitlab disable_connection_pool option 2021-10-14 16:29:50 -07:00
connections.py Load system config and tenant layouts in zuul-web 2021-11-10 09:25:45 +01:00
dependson.py Support cross-source dependencies 2018-01-16 09:37:40 -08:00
encryption.py Store secrets keys and SSH keys in Zookeeper 2021-04-14 08:22:07 +02:00
filecomments.py Make github file annotation levels configurable via zuul return 2020-03-06 08:27:48 +01:00
fingergw.py Store version information in component registry 2021-10-20 17:17:02 +02:00
gear_utils.py Add support for zones in executors 2018-11-29 13:05:20 -05:00
gearworker.py Catch exception when double unregistering merge jobs 2021-02-25 23:18:00 +01:00
http.py Add TCP keepalive to gitlab 2021-10-05 15:08:56 -07:00
jsonutil.py Remove toDict from FrozenJob 2021-10-27 16:57:22 -07:00
keystorage.py Use sort_keys with json almost everywhere we write to ZK 2021-11-12 15:50:02 -08:00
log_streamer.py Replace deprecated Thread.isAlive() with Thread.is_alive() 2020-06-01 12:49:07 +02:00
logutil.py Format multi-line log entries 2021-01-29 11:11:23 -08:00
queue.py Improve test output by using named queues 2021-03-24 07:39:15 +01:00
re2util.py Remove ununecessary shebangs 2020-05-18 19:10:33 +02:00
repl.py Add repl server for debug purposes 2019-06-21 16:12:03 +00:00
result_data.py Support emitting warnings via zuul_return 2020-08-31 11:54:46 +02:00
statsd.py dict_object.keys() is not required for *in* operator 2018-12-03 12:04:55 +05:30
streamer_utils.py Let zuul-web look up the live log streaming address from ZooKeeper 2021-09-22 07:25:13 +02:00
strings.py Cleanup empty secrets dirs when deleting secrets 2021-10-19 09:38:21 -07:00
tarjan.py Add optional support for circular dependencies 2021-03-01 19:42:56 +01:00
times.py Make time estimation synchronous 2021-11-09 21:07:05 +00:00
varnames.py Block connection related variables 2021-06-24 06:24:23 -07:00
yamlutil.py Merge "Disable aliases in inventory.yaml for better readibility" 2021-09-29 16:41:44 +00:00