# Infrastructure Launcher
The launcher of the Dead-Hosts infrastructure and project.
## Installation
```shell
pip3 install --user dead-hosts-launcher
```
## Configuration
To work, the launcher will look for a file named :code:`info.json` in
your current directory.
The file should look like follow:
```json
{
"currently_under_test": false, # Don't touch this.
"custom_pyfunceble_config": {}, # Put your PyFunceble custom configuration here.
"days_until_next_test": 0.0, # Ask an admin. Otherwise, this is the number of days between each authorizations.
"name": "[repository-name]", # The name of the current repository. WARNING: Partially autocompleted under CI.
"own_management": false, # You are the one managing the PyFunceble configuration.
"ping": [], # Put your GitHub username here to get a mention at the end of the test of your file.
"ping_enabled": false, # Enable the ping through GitHub.
"raw_link": "[URL]" # Put the link to your file. Or leave empty and fill the origin.list file.
}
```
### Persistent configuration
The launcher has some hard-coded configuration that can't be changed. Even
if you try to overwrite them, the configuration will just overwrite them.
### PyFunceble configuration
Please consider the following as a flatten representation of the PyFunceble
configuration. Meaning that each :code:`.` is a nested dictionary.
```json
{
"cli_testing.cooldown_time": 1.25,
"cli_testing.display_mode.execution_time": True,
"cli_testing.ci.max_exec_minutes": 20,
"cli_testing.max_workers": 1,
}
```
## Usage
```shell
usage: dead-hosts-launcher [-h] [-d] [-s] [-e] [--authorize] [--update] [-v]
The launcher of the Dead-Hosts infrastructure.
options:
-h, --help show this help message and exit
-d, --debug Activate the logging in verbose mode..
-s, --save Declare a test as 'to be continued'.
-e, --end Declare a test as completely finished and generate `clean.list`.
--authorize Try to authorize the next job.
--update Update the local infrastructure.
-v, --version Show the version of and exit.
Crafted with ♥ by Nissar Chababy (@funilrys)
```
# License
```text
MIT License
Copyright (c) 2019, 2020, 2021, 2022, 2023, 2024 Dead Hosts Contributors
Copyright (c) 2019, 2020. 2021, 2022, 2023, 2024 Nissar Chababy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/dead-hosts/infrastructure-launcher",
"name": "dead-hosts-launcher",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Python, infrastructure, dead-hosts",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/1d/40/1ffbeb8927f540fde989cc7f6a5d86fdeb22cd12057ec15713ea861b9582/dead_hosts_launcher-2.3.6.tar.gz",
"platform": "any",
"description": "# Infrastructure Launcher\n\nThe launcher of the Dead-Hosts infrastructure and project.\n\n## Installation\n\n```shell\npip3 install --user dead-hosts-launcher\n```\n\n## Configuration\n\nTo work, the launcher will look for a file named :code:`info.json` in\nyour current directory.\n\nThe file should look like follow:\n\n```json\n{\n \"currently_under_test\": false, # Don't touch this.\n \"custom_pyfunceble_config\": {}, # Put your PyFunceble custom configuration here.\n \"days_until_next_test\": 0.0, # Ask an admin. Otherwise, this is the number of days between each authorizations.\n \"name\": \"[repository-name]\", # The name of the current repository. WARNING: Partially autocompleted under CI.\n \"own_management\": false, # You are the one managing the PyFunceble configuration.\n \"ping\": [], # Put your GitHub username here to get a mention at the end of the test of your file.\n \"ping_enabled\": false, # Enable the ping through GitHub.\n \"raw_link\": \"[URL]\" # Put the link to your file. Or leave empty and fill the origin.list file.\n}\n```\n\n### Persistent configuration\n\nThe launcher has some hard-coded configuration that can't be changed. Even\nif you try to overwrite them, the configuration will just overwrite them.\n\n### PyFunceble configuration\n\nPlease consider the following as a flatten representation of the PyFunceble\nconfiguration. Meaning that each :code:`.` is a nested dictionary.\n\n```json\n{\n \"cli_testing.cooldown_time\": 1.25,\n \"cli_testing.display_mode.execution_time\": True,\n \"cli_testing.ci.max_exec_minutes\": 20,\n \"cli_testing.max_workers\": 1,\n}\n```\n\n## Usage\n\n```shell\nusage: dead-hosts-launcher [-h] [-d] [-s] [-e] [--authorize] [--update] [-v]\n\nThe launcher of the Dead-Hosts infrastructure.\n\noptions:\n -h, --help show this help message and exit\n -d, --debug Activate the logging in verbose mode..\n -s, --save Declare a test as 'to be continued'.\n -e, --end Declare a test as completely finished and generate `clean.list`.\n --authorize Try to authorize the next job.\n --update Update the local infrastructure.\n -v, --version Show the version of and exit.\n\nCrafted with \u2665 by Nissar Chababy (@funilrys)\n```\n\n# License\n\n```text\nMIT License\n\nCopyright (c) 2019, 2020, 2021, 2022, 2023, 2024 Dead Hosts Contributors\nCopyright (c) 2019, 2020. 2021, 2022, 2023, 2024 Nissar Chababy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "The launcher of the Dead-Hosts infrastructure.",
"version": "2.3.6",
"project_urls": {
"Homepage": "https://github.com/dead-hosts/infrastructure-launcher"
},
"split_keywords": [
"python",
" infrastructure",
" dead-hosts"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b4481e7425fc5533e2d55d585bba34e8cf1a2ecb3e4180dafca7727af726027",
"md5": "50569423bf112451b069d0f855d2f2c7",
"sha256": "4232ecce63fc8f50e727b9a371dca2fdbb7c363fc01a4599446435bc22c6d016"
},
"downloads": -1,
"filename": "dead_hosts_launcher-2.3.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50569423bf112451b069d0f855d2f2c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 56063,
"upload_time": "2024-12-15T15:50:04",
"upload_time_iso_8601": "2024-12-15T15:50:04.596518Z",
"url": "https://files.pythonhosted.org/packages/7b/44/81e7425fc5533e2d55d585bba34e8cf1a2ecb3e4180dafca7727af726027/dead_hosts_launcher-2.3.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1d401ffbeb8927f540fde989cc7f6a5d86fdeb22cd12057ec15713ea861b9582",
"md5": "eaa44b428d78006781d610b2992febc5",
"sha256": "c46f3deef07a59569dbed875dca1d446412170b4148df6415a6348ba57736ce9"
},
"downloads": -1,
"filename": "dead_hosts_launcher-2.3.6.tar.gz",
"has_sig": false,
"md5_digest": "eaa44b428d78006781d610b2992febc5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 24925,
"upload_time": "2024-12-15T15:50:07",
"upload_time_iso_8601": "2024-12-15T15:50:07.100858Z",
"url": "https://files.pythonhosted.org/packages/1d/40/1ffbeb8927f540fde989cc7f6a5d86fdeb22cd12057ec15713ea861b9582/dead_hosts_launcher-2.3.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-15 15:50:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dead-hosts",
"github_project": "infrastructure-launcher",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": []
},
{
"name": "pyyaml",
"specs": []
},
{
"name": "PyFunceble-dev",
"specs": [
[
"~=",
"4.3.0a1"
]
]
}
],
"lcname": "dead-hosts-launcher"
}