Skip to content

Instantly share code, notes, and snippets.

View patrickallaert's full-sized avatar

Patrick Allaert patrickallaert

View GitHub Profile
@patrickallaert
patrickallaert / sort-yaml
Last active December 11, 2024 14:05
Sort translation yaml file
#!/usr/bin/env python3
import yaml
import sys
class PreserveLoader(yaml.SafeLoader):
pass
# Remove all boolean resolvers to prevent conversion of "Yes", "No", etc.
PreserveLoader.yaml_implicit_resolvers = {
php-8.1.31.tar.bz2
SHA256 hash: 0b39828b345151caf1b795d9f4b923c9887231776c33076dfc9d90a44390d0dc
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmc8rf4ACgkQGZ+d/vb/
uv3YdhAAs5ls1YbcwpJOcIB2ofPHoQKQrmsXjiiTH5oTL4gfsb15VetmGx+622yn
Zbsw3RVKpk+lwcjoXRKJq4+e28ClouLXtohzxFX+UB20yjKcU6oQRV46nFTmPYbc
UPmnzweGARaS0Ki+14VYozOizx+/QbyPbdoeEC7k76IH+I292FfI6dK5Pw9+SWWX
6SKDMqDkICqsn4DkFid511JnUzniL8CvTiSz0Wb72U63HztLe+zhi/0rusL43RzJ
diff '--color=auto' -ruNa vendor-4.6.2/ibexa/admin-ui/src/bundle/Controller/Content/ContentTreeController.php vendor-4.6.7/ibexa/admin-ui/src/bundle/Controller/Content/ContentTreeController.php
--- vendor-4.6.2/ibexa/admin-ui/src/bundle/Controller/Content/ContentTreeController.php 2024-07-02 10:19:28.412331807 +0200
+++ vendor-4.6.7/ibexa/admin-ui/src/bundle/Controller/Content/ContentTreeController.php 2024-07-02 10:23:24.950906973 +0200
@@ -8,34 +8,62 @@
namespace Ibexa\Bundle\AdminUi\Controller\Content;
+use Ibexa\AdminUi\Permission\LookupLimitationsTransformer;
use Ibexa\AdminUi\REST\Value\ContentTree\LoadSubtreeRequestNode;
use Ibexa\AdminUi\REST\Value\ContentTree\Node;
php-8.1.27.tar.bz2
SHA256 hash: a15fd73ea44f2df30b07d24786e07d1948b0ea3eed0b8b845735d500dc28bff1
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmWB/wAACgkQGZ+d/vb/
uv1W3xAAngadFWN+uceBHXPV7U/60YGetsb9MpjVHl/H0ZOTU4l9quP03pcjWmUS
iQVpPzSUXdHKbnvuoKJBo8hbRq622yDz438zO8+6Yuv4itiDFsZtr4L7R61++FGr
ifdtZNLKqyLHK6PMZth73hrl/vBW0U2L5teXPBEGP22CE4CRe831UtDxCbiTIACt
ULSuZh+mcHYMNDY7VelLx96q+hoE9/W72/OP4v220cgjqrTVhyOJWeaSqU+TfSZx
php-8.1.27RC1.tar.bz2
SHA256 hash: a57aa1eab465a12383f5ab93a9fb3a108ea26466857cbb522ab17fedf6753127
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmVvLzAACgkQGZ+d/vb/
uv0gAQ/+LtFpnp/qMt7QMqX3/ZfPH9nhVIDNHKYrCqQD+4vx+gAWe74NhMPkoIKK
3SWJm/65RN7oZUprS1DAOMkrsdeJ4w5IJGbfh9VhIXCL38wWE/tdnzcX6E/5GVo3
5cLwQD2ovcBb/zP0YIzt/q1Cfu2ua20Z9A58uLUDpV7riuCaQ6u/0dedK5UODkYF
1/U9Ho+wdS/iVf6hzZed2POBMmhvwFmJyoNuhrjxSAdXNl3UkWOF7Th40owkDLNY
php-8.1.25.tar.bz2
SHA256 hash: a86a88c1840c1bc832bcfd2fbec3b8a1942c8314da5dff53f09f9c98d0c12e8a
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmU4POEACgkQGZ+d/vb/
uv3TUA//XFOk4jfEfry1G9w6pGgLirZQZlYNsaqUpIA0vzMQ8rpzItNkSCulbZs3
CiQFmiwvUlgpdzcozDKeB/NzheKj2Pv5I0ssMo6RbcQ+4A+ohyiOaMr3t97OVlQ3
bHAqgyin2wG45gzKmjOgIMTdK/A//y++h6QUTATydssuc12SOfvIqJAcArgaeWz1
AHCXx9doMbfOJGENih5IPuOkVwWf25gmXb1sXE7CEUW1z5Fs4hGoP4t3hPLjpKGm
php-8.1.25RC1.tar.bz2
SHA256 hash: ab652faf7e9a997263ca11e972b3f45d29b2707ee6bff95b9abf9c24732d4be0
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmUlutgACgkQGZ+d/vb/
uv1ZNBAAwICf6GAU66dHaBwclZC8UGKcC/tEn+CmpIDnGUQngK/lm0fct1oJXXtW
ljP15X//v3FeESBmJpFRPnocyl4uECI5fq5qlJ+yrVJK0GYl/9yNC6Zy4WsVCCeu
vhVQHQ1tfeeaRX36ZsYlXIzaiQJpOO2iSRWr6sERcKP0B1RgU5sV9Oi4tDSe3nCp
vOWwwNBftD788rNYaIGnsVdDyssxogSGa0C7WtuZAQZb6i1IczohkykWa5Nq9L9s
php-8.1.23.tar.bz2
SHA256 hash: 929a62785177da892ddffca074bab2f1ff578473a0d4adb915c12f5f3e34ec1b
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmTu/QIACgkQGZ+d/vb/
uv1K2A//fgPNcTT9etiGqu0iiN84LHIwgC2WF5nQ9evoB4R3QKmsjk2wP6Q9jPys
wNLqecyjgfJ5s3uizcnY1BC5cXnzCnuyd0hN58vEhv144pt10AkLriIMK2BbRMMH
AF8lcL1uhWcT6bItJOk/UlMEu5SPuwotz/o10oxWS7EqsAzgTRntnIjaDl/E3OTn
vTFooz08PMHaGywomcMBR5YZBEY7ScCq47Qy8V3ocu7QrYRDFYYRSWjJ/hj4iyPk
php-8.1.23RC1.tar.bz2
SHA256 hash: 7b6ae523b170be0097eb7a161b9989e75813776d642677ef56c58ed2bf369966
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmTbzmIACgkQGZ+d/vb/
uv3jLQ/+JTlUYDWFZfDEMmn3YjPL5Uu/Gh15GUiAGlz2VA+DZcZL4PUXXdb+YuPJ
rx/CabcYA4OQICuLprkrBNyiADree9u1xhswWCt38SSa3u0hZzrfunZWldeRnu2K
i8uuGbBZHPNRrHAV3bnuyv6C8MVTgpCtfyFNS7RKMN52iczZ7B8oeoP+ARWh92Yj
i8/YvAQazWYZrj4fPGfjm1XBzZBO+lWDLk2I3dLiykclmv8fD/IIUDz4Xuxj3A8T
php-8.1.21.tar.bz2
SHA256 hash: 6ea49e8335d632177f56b507160aa151c7b020185789a9c14859fce5d4a0776d
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE8faSI4+8FmblpczUGZ+d/vb/uv0FAmSkqv4ACgkQGZ+d/vb/
uv18Cg//VERa9wrqxm0hXdqdIHHSdaDNjbDsrD7u1oPBm2RfPpu1iQWtPqOdkG6q
eHO6u9hzHtpIR7wE6jBdnixYyeo5hOL58H+SiZEXZmsudBUxPVNRVNgALvM4s4nf
qO30XJDvCwpfFAkWG/zUpUqcqUbvi3AdB+S4QGV6d+/VicRPan2HhdRup4ABna59
1lvQD78Jj6nz2WAPIV/wPjHsXD0Yfoka3lDaa3VovGWr3NR1fRyTFKX/06tn+4Gs