NetworkManager/contrib/scripts
Thomas Haller 98c3ac1480
checkpatch.pl: discourage g_str_hash()/g_direct_hash() and g_direct_equal()
- instead of g_str_hash()/g_direct_hash(), use our own functions
  nm_str_hash()/nm_direct_hash(). Those use siphash24 with a random
  seed.

- don't pass g_direct_equal() to GHashTable. When omitting the equal
  function, it falls back to direct pointer comparison, which is likely
  faster. In any case, it's consistent to not use g_direct_hash()
  when using pointer equality.

- instead of g_int_hash()/g_int64_hash()/g_double_hash(), use
  our nm_pint_hash()/nm_pint64_hash()/nm_pdouble_hash(). The latter
  two don't exist yet.
  The reason is that we want to use siphash24.
  Yes, our name differs from glib's. Our naming seems to make sense
  to me however, because we also have nm_pstr_hash(), nm_pdirect_hash()
  and even nm_ppdirect_hash() for following the pointers. Naming is hard.

- instead of g_int_equal()/g_int64_equal()/g_double_equal() use
  our nm_pint_equal()/nm_pint64_equal()/nm_pdouble_equal(). The latter
  two don't exist yet. The reason is purely naming consistency since
  our hash variants follow the other name.
2022-08-31 10:59:22 +02:00
..
nm-in-container.d contrib: set short DHCP lifetime in "nm-env-prepare.sh" script 2022-08-10 15:34:43 +02:00
btmodem.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
checkpatch-feature-branch.sh contrib/scripts: use "main" branch name in "checkpatch-feature-branch.sh" 2021-04-01 22:28:59 +02:00
checkpatch-git-post-commit-hook contrib/scripts: add "checkpatch-git-post-commit-hook" script to contrib/ 2020-02-21 07:40:10 +01:00
checkpatch.pl checkpatch.pl: discourage g_str_hash()/g_direct_hash() and g_direct_equal() 2022-08-31 10:59:22 +02:00
code-style-git-post-commit-hook contrib: explicitly pass "-n" to "nm-code-format.sh" in "code-style-git-post-commit-hook" 2021-09-16 08:47:38 +02:00
find-backports contrib: fail "find-backports" script if we have no "refs/notes/bugs" notes 2022-04-06 13:23:37 +02:00
git-subtree-reimport.sh contrib: show diff of git subtrees in "git-subtree-reimport.sh" script 2022-07-25 10:27:33 +02:00
modemu.pl contrib/modemu: extend PDP support 2022-02-04 15:54:15 +01:00
nm-ci-patch-gtkdoc.sh gitlab-ci: patch gtk-doc to generate valid documentation 2018-12-01 08:55:44 +01:00
nm-ci-run.sh tests/client: run "test-client.py" also for meson 2021-03-15 17:10:56 +01:00
nm-code-format-container.sh all: reformat with clang-format (clang-tools-extra-14.0.0-1.fc36) and update gitlab-ci to f36 2022-07-06 11:06:53 +02:00
nm-code-format.sh contrib: add "--fast" flag to nm-core-format.sh to only check changed files 2022-08-24 12:06:34 +02:00
nm-copr-build-nm-git-bundle.sh contrib/scripts: better explain the purpose of nm-git-bundle 2022-01-06 10:01:51 +01:00
nm-copr-build.sh contrib/scripts: update "nm-copr-build.sh" script to use new nm-git-bundle 2022-01-06 10:03:57 +01:00
nm-import-openconnect all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-import-openvpn all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-import-vpnc all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-in-container.sh contrib: install Polish translation in "nm-in-container.sh" 2022-08-23 15:42:42 +02:00
NM-log contrib: use less -f in NM-log to avoid prompt for non-text input 2022-06-10 08:24:58 +02:00
nm-python-black-format.sh contrib: fix "nm-python-black-format.sh" script to ignore systemd,c-util,nettools files 2022-07-06 10:44:18 +02:00
nm-setup-git.sh contrib: set git-blame options in "nm-setup-git.sh" 2022-06-08 21:27:57 +02:00
test-create-many-device-setup.sh contrib: extend "test-create-many-device-setup.sh" script 2021-06-22 09:47:44 +02:00
test-macsec tests: use "/run" instead of "/var/run" 2019-05-17 21:24:18 +02:00
test-ppp.sh contrib: add "contrib/scripts/test-ppp.sh" test script 2021-10-04 15:40:15 +02:00
test-prefix-delegation.sh contrib: add script to test IPv6 prefix delegation 2021-07-13 09:43:04 +02:00