Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • perun/perun-proxyidp/perun-proxy-utils
1 result
Show changes
Commits on Source (7)
# [3.1.0](https://gitlab.ics.muni.cz/perun/perun-proxyidp/perun-proxy-utils/compare/v3.0.0...v3.1.0) (2025-04-28)
### Features
* run_probes.py now allows to select probes to run with optional argument ([53e638a](https://gitlab.ics.muni.cz/perun/perun-proxyidp/perun-proxy-utils/commit/53e638a4281975735186919993cb7e0d99f8d2fd))
# [3.0.0](https://gitlab.ics.muni.cz/perun/perun-proxyidp/perun-proxy-utils/compare/v2.7.4...v3.0.0) (2024-07-24)
......
......@@ -9,12 +9,12 @@
"version": "0.0.0-development",
"devDependencies": {
"@beepbeepgo/semantic-release-python": "1.1.0",
"@commitlint/config-conventional": "19.2.2",
"@commitlint/cz-commitlint": "19.2.0",
"@commitlint/config-conventional": "19.6.0",
"@commitlint/cz-commitlint": "19.6.1",
"@perun/commitlint-config-perun": "1.0.1",
"@perun/semantic-release-perun-config": "1.0.1",
"commitizen": "4.3.0",
"inquirer": "9.2.19"
"commitizen": "4.3.1",
"inquirer": "9.3.7"
}
},
"node_modules/@babel/code-frame": {
......@@ -745,12 +745,13 @@
}
},
"node_modules/@commitlint/config-conventional": {
"version": "19.2.2",
"resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.2.2.tgz",
"integrity": "sha512-mLXjsxUVLYEGgzbxbxicGPggDuyWNkf25Ht23owXIH+zV2pv1eJuzLK3t1gDY5Gp6pxdE60jZnWUY5cvgL3ufw==",
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.6.0.tgz",
"integrity": "sha512-DJT40iMnTYtBtUfw9ApbsLZFke1zKh6llITVJ+x9mtpHD08gsNXaIRqHTmwTZL3dNX5+WoyK7pCN/5zswvkBCQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@commitlint/types": "^19.0.3",
"@commitlint/types": "^19.5.0",
"conventional-changelog-conventionalcommits": "^7.0.2"
},
"engines": {
......@@ -758,12 +759,13 @@
}
},
"node_modules/@commitlint/config-validator": {
"version": "19.0.3",
"resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.0.3.tgz",
"integrity": "sha512-2D3r4PKjoo59zBc2auodrSCaUnCSALCx54yveOFwwP/i2kfEAQrygwOleFWswLqK0UL/F9r07MFi5ev2ohyM4Q==",
"version": "19.5.0",
"resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.5.0.tgz",
"integrity": "sha512-CHtj92H5rdhKt17RmgALhfQt95VayrUo2tSqY9g2w+laAXyk7K/Ef6uPm9tn5qSIwSmrLjKaXK9eiNuxmQrDBw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@commitlint/types": "^19.0.3",
"@commitlint/types": "^19.5.0",
"ajv": "^8.11.0"
},
"engines": {
......@@ -771,14 +773,15 @@
}
},
"node_modules/@commitlint/cz-commitlint": {
"version": "19.2.0",
"resolved": "https://registry.npmjs.org/@commitlint/cz-commitlint/-/cz-commitlint-19.2.0.tgz",
"integrity": "sha512-kudzHMY9/GxflGyAWMiisiBq2UkyQL1D1eWjGKoC66qQ+5jxRYeDaiVwTdPxYMnmehftNcpksZATDYKqdPP0Wg==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@commitlint/cz-commitlint/-/cz-commitlint-19.6.1.tgz",
"integrity": "sha512-lJtOE1a+xyjjf42oUXwqvmhLhF85OLqLE4LpcUifIdIxSbzx8lEbhwGDkhrOaYfGtjmtTDhP1cQ8dg5DyQOWqQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@commitlint/ensure": "^19.0.3",
"@commitlint/load": "^19.2.0",
"@commitlint/types": "^19.0.3",
"@commitlint/ensure": "^19.5.0",
"@commitlint/load": "^19.6.1",
"@commitlint/types": "^19.5.0",
"chalk": "^5.3.0",
"lodash.isplainobject": "^4.0.6",
"word-wrap": "^1.2.5"
......@@ -792,12 +795,13 @@
}
},
"node_modules/@commitlint/ensure": {
"version": "19.0.3",
"resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.0.3.tgz",
"integrity": "sha512-SZEpa/VvBLoT+EFZVb91YWbmaZ/9rPH3ESrINOl0HD2kMYsjvl0tF7nMHh0EpTcv4+gTtZBAe1y/SS6/OhfZzQ==",
"version": "19.5.0",
"resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.5.0.tgz",
"integrity": "sha512-Kv0pYZeMrdg48bHFEU5KKcccRfKmISSm9MvgIgkpI6m+ohFTB55qZlBW6eYqh/XDfRuIO0x4zSmvBjmOwWTwkg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@commitlint/types": "^19.0.3",
"@commitlint/types": "^19.5.0",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1",
......@@ -809,27 +813,29 @@
}
},
"node_modules/@commitlint/execute-rule": {
"version": "19.0.0",
"resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.0.0.tgz",
"integrity": "sha512-mtsdpY1qyWgAO/iOK0L6gSGeR7GFcdW7tIjcNFxcWkfLDF5qVbPHKuGATFqRMsxcO8OUKNj0+3WOHB7EHm4Jdw==",
"version": "19.5.0",
"resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.5.0.tgz",
"integrity": "sha512-aqyGgytXhl2ejlk+/rfgtwpPexYyri4t8/n4ku6rRJoRhGZpLFMqrZ+YaubeGysCP6oz4mMA34YSTaSOKEeNrg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/load": {
"version": "19.2.0",
"resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.2.0.tgz",
"integrity": "sha512-XvxxLJTKqZojCxaBQ7u92qQLFMMZc4+p9qrIq/9kJDy8DOrEa7P1yx7Tjdc2u2JxIalqT4KOGraVgCE7eCYJyQ==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.6.1.tgz",
"integrity": "sha512-kE4mRKWWNju2QpsCWt428XBvUH55OET2N4QKQ0bF85qS/XbsRGG1MiTByDNlEVpEPceMkDr46LNH95DtRwcsfA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@commitlint/config-validator": "^19.0.3",
"@commitlint/execute-rule": "^19.0.0",
"@commitlint/resolve-extends": "^19.1.0",
"@commitlint/types": "^19.0.3",
"@commitlint/config-validator": "^19.5.0",
"@commitlint/execute-rule": "^19.5.0",
"@commitlint/resolve-extends": "^19.5.0",
"@commitlint/types": "^19.5.0",
"chalk": "^5.3.0",
"cosmiconfig": "^9.0.0",
"cosmiconfig-typescript-loader": "^5.0.0",
"cosmiconfig-typescript-loader": "^6.1.0",
"lodash.isplainobject": "^4.0.6",
"lodash.merge": "^4.6.2",
"lodash.uniq": "^4.5.0"
......@@ -839,13 +845,14 @@
}
},
"node_modules/@commitlint/resolve-extends": {
"version": "19.1.0",
"resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.1.0.tgz",
"integrity": "sha512-z2riI+8G3CET5CPgXJPlzftH+RiWYLMYv4C9tSLdLXdr6pBNimSKukYP9MS27ejmscqCTVA4almdLh0ODD2KYg==",
"version": "19.5.0",
"resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.5.0.tgz",
"integrity": "sha512-CU/GscZhCUsJwcKTJS9Ndh3AKGZTNFIOoQB2n8CmFnizE0VnEuJoum+COW+C1lNABEeqk6ssfc1Kkalm4bDklA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@commitlint/config-validator": "^19.0.3",
"@commitlint/types": "^19.0.3",
"@commitlint/config-validator": "^19.5.0",
"@commitlint/types": "^19.5.0",
"global-directory": "^4.0.1",
"import-meta-resolve": "^4.0.0",
"lodash.mergewith": "^4.6.2",
......@@ -856,10 +863,11 @@
}
},
"node_modules/@commitlint/types": {
"version": "19.0.3",
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.0.3.tgz",
"integrity": "sha512-tpyc+7i6bPG9mvaBbtKUeghfyZSDgWquIDfMgqYtTbmZ9Y9VzEm2je9EYcQ0aoz5o7NvGS+rcDec93yO08MHYA==",
"version": "19.5.0",
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.5.0.tgz",
"integrity": "sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/conventional-commits-parser": "^5.0.0",
"chalk": "^5.3.0"
......@@ -919,10 +927,11 @@
}
},
"node_modules/@inquirer/figures": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.1.tgz",
"integrity": "sha512-mtup3wVKia3ZwULPHcbs4Mor8Voi+iIXEWD7wCNbIO6lYR62oPCTQyrddi5OMYVXHzeCSoneZwJuS8sBvlEwDw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.9.tgz",
"integrity": "sha512-BXvGj0ehzrngHTPTDqUoDT3NXL8U0RxUk2zJm2A66RhCEIWdtU1v6GuUqNAgArW4PQ9CinqIWyHdQgdwOj06zQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
......@@ -939,18 +948,6 @@
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
"node_modules/@ljharb/through": {
"version": "2.3.13",
"resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.13.tgz",
"integrity": "sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ==",
"dev": true,
"dependencies": {
"call-bind": "^1.0.7"
},
"engines": {
"node": ">= 0.4"
}
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
......@@ -6727,15 +6724,16 @@
}
},
"node_modules/ajv": {
"version": "8.13.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz",
"integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==",
"version": "8.17.1",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
"integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
"dev": true,
"license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.3",
"fast-uri": "^3.0.1",
"json-schema-traverse": "^1.0.0",
"require-from-string": "^2.0.2",
"uri-js": "^4.4.1"
"require-from-string": "^2.0.2"
},
"funding": {
"type": "github",
......@@ -7477,10 +7475,11 @@
}
},
"node_modules/commitizen": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.0.tgz",
"integrity": "sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==",
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.1.tgz",
"integrity": "sha512-gwAPAVTy/j5YcOOebcCRIijn+mSjWJC+IYKivTu6aG8Ei/scoXgfsMRnuAk6b0GRste2J4NGxVdMN3ZpfNaVaw==",
"dev": true,
"license": "MIT",
"dependencies": {
"cachedir": "2.3.0",
"cz-conventional-changelog": "3.3.0",
......@@ -7511,6 +7510,7 @@
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
......@@ -7526,6 +7526,7 @@
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
......@@ -7542,6 +7543,7 @@
"resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz",
"integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==",
"dev": true,
"license": "ISC",
"engines": {
"node": ">= 10"
}
......@@ -7551,6 +7553,7 @@
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
......@@ -7562,13 +7565,15 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
"dev": true,
"license": "MIT"
},
"node_modules/commitizen/node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.8.0"
}
......@@ -7578,6 +7583,7 @@
"resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
"integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
"dev": true,
"license": "MIT",
"dependencies": {
"escape-string-regexp": "^1.0.5"
},
......@@ -7593,6 +7599,7 @@
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
"integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"at-least-node": "^1.0.0",
"graceful-fs": "^4.2.0",
......@@ -7608,6 +7615,7 @@
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz",
"integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"ansi-escapes": "^4.2.1",
"chalk": "^4.1.1",
......@@ -7633,13 +7641,15 @@
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
"dev": true
"dev": true,
"license": "ISC"
},
"node_modules/commitizen/node_modules/run-async": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",
"integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.12.0"
}
......@@ -7649,6 +7659,7 @@
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
......@@ -7835,20 +7846,21 @@
}
},
"node_modules/cosmiconfig-typescript-loader": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-5.0.0.tgz",
"integrity": "sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.1.0.tgz",
"integrity": "sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==",
"dev": true,
"license": "MIT",
"dependencies": {
"jiti": "^1.19.1"
"jiti": "^2.4.1"
},
"engines": {
"node": ">=v16"
"node": ">=v18"
},
"peerDependencies": {
"@types/node": "*",
"cosmiconfig": ">=8.2",
"typescript": ">=4"
"cosmiconfig": ">=9",
"typescript": ">=5"
}
},
"node_modules/cross-spawn": {
......@@ -8746,7 +8758,8 @@
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true
"dev": true,
"license": "MIT"
},
"node_modules/fast-glob": {
"version": "3.3.2",
......@@ -8764,6 +8777,13 @@
"node": ">=8.6.0"
}
},
"node_modules/fast-uri": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz",
"integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==",
"dev": true,
"license": "BSD-3-Clause"
},
"node_modules/fastq": {
"version": "1.17.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
......@@ -9210,6 +9230,7 @@
"resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz",
"integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"ini": "4.1.1"
},
......@@ -9713,31 +9734,30 @@
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",
"integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==",
"dev": true,
"license": "ISC",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/inquirer": {
"version": "9.2.19",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.19.tgz",
"integrity": "sha512-WpxOT71HGsFya6/mj5PUue0sWwbpbiPfAR+332zLj/siB0QA1PZM8v3GepegFV1Op189UxHUCF6y8AySdtOMVA==",
"version": "9.3.7",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.3.7.tgz",
"integrity": "sha512-LJKFHCSeIRq9hanN14IlOtPSTe3lNES7TYDTE2xxdAy1LS5rYphajK1qtwvj3YmQXvvk0U2Vbmcni8P9EIQW9w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@inquirer/figures": "^1.0.1",
"@ljharb/through": "^2.3.13",
"@inquirer/figures": "^1.0.3",
"ansi-escapes": "^4.3.2",
"chalk": "^5.3.0",
"cli-cursor": "^3.1.0",
"cli-width": "^4.1.0",
"external-editor": "^3.1.0",
"lodash": "^4.17.21",
"mute-stream": "1.0.0",
"ora": "^5.4.1",
"run-async": "^3.0.0",
"rxjs": "^7.8.1",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"wrap-ansi": "^6.2.0"
"wrap-ansi": "^6.2.0",
"yoctocolors-cjs": "^2.1.2"
},
"engines": {
"node": ">=18"
......@@ -10248,12 +10268,13 @@
}
},
"node_modules/jiti": {
"version": "1.21.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
"integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz",
"integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==",
"dev": true,
"license": "MIT",
"bin": {
"jiti": "bin/jiti.js"
"jiti": "lib/jiti-cli.mjs"
}
},
"node_modules/js-tokens": {
......@@ -10296,7 +10317,8 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
"dev": true
"dev": true,
"license": "MIT"
},
"node_modules/json-stringify-safe": {
"version": "5.0.1",
......@@ -10493,7 +10515,8 @@
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz",
"integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==",
"dev": true
"dev": true,
"license": "MIT"
},
"node_modules/lodash.snakecase": {
"version": "4.1.1",
......@@ -14106,15 +14129,6 @@
"sliced": "^1.0.1"
}
},
"node_modules/punycode": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
"dev": true,
"engines": {
"node": ">=6"
}
},
"node_modules/q": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
......@@ -14565,6 +14579,7 @@
"resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
......@@ -19379,15 +19394,6 @@
"node": ">= 10.0.0"
}
},
"node_modules/uri-js": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
"dev": true,
"dependencies": {
"punycode": "^2.1.0"
}
},
"node_modules/url-join": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",
......@@ -19633,6 +19639,19 @@
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/yoctocolors-cjs": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz",
"integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
}
}
}
#!/usr/bin/python3
import argparse
import re
import subprocess
import sys
......@@ -73,9 +74,27 @@ def run_probe(probe_name, command, timeout):
return result.returncode
def parse_arguments():
parser = argparse.ArgumentParser()
parser.add_argument(
"-p",
"--probes",
nargs="+",
default=[],
help="Optional list of probes to run from the config."
"If not specified, all probes will be run.",
)
args = parser.parse_args()
return args
def main():
args = parse_arguments()
probes_to_run = args.probes
config_filepath = "/etc/run_probes_cfg.yaml"
config = yaml.safe_load(open_file(config_filepath))
if not config:
return
......@@ -83,6 +102,8 @@ def main():
for _, options in config["checks"].items():
module = options["module"]
for name, args in options.get("runs").items():
if probes_to_run and name not in probes_to_run:
continue
command = ["python3", "-m", module]
timeout = global_timeout
if args is not None:
......
......@@ -69,9 +69,10 @@ def main():
final_log_file.close()
# Zip old log file
with open(full_log_absolute_name, "rb") as f_in, gzip.open(
full_log_absolute_name + ".gz", "wb"
) as f_out:
with (
open(full_log_absolute_name, "rb") as f_in,
gzip.open(full_log_absolute_name + ".gz", "wb") as f_out,
):
shutil.copyfileobj(f_in, f_out)
# Remove unzip file
......
......@@ -79,9 +79,10 @@ def main():
final_log_file.close()
# Zip old log file
with open(full_log_absolute_name, "rb") as f_in, gzip.open(
full_log_absolute_name + ".gz", "wb"
) as f_out:
with (
open(full_log_absolute_name, "rb") as f_in,
gzip.open(full_log_absolute_name + ".gz", "wb") as f_out,
):
shutil.copyfileobj(f_in, f_out)
# Remove unzip file
......
[metadata]
version = 3.0.0
version = 3.1.0
license_files = LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
......