From d7e2535c517cce593685b86408f267da86ec925f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:16:45 +0000 Subject: [PATCH 01/15] docs: Added README."zh-CN".md translation via https://github.com/dephraiim/translate-readme --- README.zh-CN.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index 22f6d8b..68cd5b3 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -2,15 +2,15 @@ # 威胁建造者 -| | | -| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 持续集成/持续交付 | [![CI - Test](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml)[![CD - Build](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml) | -| 包裹 | [![PyPI - Version](https://img.shields.io/pypi/v/threagile-builder.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/threagile-builder/)[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/threagile-builder.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/threagile-builder/) | -| 元 | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)[![code style - black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/ambv/black)[![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/vanHeemstraSystems?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/vanHeemstraSystems) | +| | | +| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| 持续集成/持续交付 | [![CI - Test](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml)[![CD - Build](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml) | +| 包裹 | [![PyPI - Version](https://img.shields.io/pypi/v/threagile-builder.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/threagile-builder/)[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/threagile-builder.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/threagile-builder/) | +| 元 | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)[![code style - black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/ambv/black)[![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/)[![GitHub Sponsors](https://img.shields.io/github/sponsors/vanHeemstraSystems?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/vanHeemstraSystems) | * * * -> 一个[block-based](https://developers.google.com/blockly)创建无代码 Web 应用程序[威胁性的](https://threagile.io)YAML 文件 +> 一个[基于块的](https://developers.google.com/blockly)创建无代码 Web 应用程序[威胁性的](https://threagile.io)YAML 文件 - [词汇表](./GLOSSARY.md) - [参考](./REFERENCES.md) @@ -127,7 +127,7 @@ pip install threagile-builder ## 执照 -`threagile-builder`是根据以下条款分发的[MIT](https://spdx.org/licenses/MIT.html)执照。 +`threagile-builder`是根据以下条款分发的[和](https://spdx.org/licenses/MIT.html)执照。 ## 100 - 简介 From 4285fc37284dd75838b813593ad9eb902d838651 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:16:53 +0000 Subject: [PATCH 02/15] docs: Added README."zh-TW".md translation via https://github.com/dephraiim/translate-readme --- README.zh-TW.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.zh-TW.md b/README.zh-TW.md index 1f7bed3..bf18ae3 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -10,11 +10,11 @@ * * * -> 一個[基於區塊的](https://developers.google.com/blockly)建立無程式碼 Web 應用程式[威脅性的](https://threagile.io) YAML files +> 一個[基於區塊的](https://developers.google.com/blockly)建立無程式碼 Web 應用程式[威脅性的](https://threagile.io)YAML 文件 - [詞彙表](./GLOSSARY.md) - [參考](./REFERENCES.md) -- [Documentation](./DOCUMENTATION.md) +- [文件](./DOCUMENTATION.md) **執行摘要** @@ -135,7 +135,7 @@ pip install threagile-builder ## 200 - 要求 -看[README.md](./200/README.md) +See [README.md](./200/README.md) ## 300 - 建立我們的應用程式 From bc03ef854d0444d67530543bb0bfb371eca13e8f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:17:00 +0000 Subject: [PATCH 03/15] docs: Added README."hi".md translation via https://github.com/dephraiim/translate-readme --- README.hi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.hi.md b/README.hi.md index 6a5855d..c8171e1 100644 --- a/README.hi.md +++ b/README.hi.md @@ -108,7 +108,7 @@ thregile-बिल्डर pip install threagile-builder ``` -## संस्करण स्रोत +## Version source - [हैच-वीसीएस](https://github.com/ofek/hatch-vcs)संस्करण स्रोत प्लगइन Git टैग का उपयोग करके प्रोजेक्ट संस्करण निर्धारित करता है From e2a6318634a31810b5a031478fdc014996e9b618 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:17:07 +0000 Subject: [PATCH 04/15] docs: Added README."ar".md translation via https://github.com/dephraiim/translate-readme --- README.ar.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.ar.md b/README.ar.md index 41e6c46..0aa68ce 100644 --- a/README.ar.md +++ b/README.ar.md @@ -10,7 +10,7 @@ * * * -> أ[على أساس الكتلة](https://developers.google.com/blockly) no-code web application to create [ثريجيل](https://threagile.io)ملفات YAML +> أ[على أساس الكتلة](https://developers.google.com/blockly)تطبيق ويب بدون كود للإنشاء[ثريجيل](https://threagile.io)ملفات YAML - [مسرد](./GLOSSARY.md) - [مراجع](./REFERENCES.md) @@ -43,7 +43,7 @@ 2. تبعيات البرمجيات 3. أحدث الإصدارات 4. مراجع واجهة برمجة التطبيقات -5. Build and Test: +5. البناء والاختبار: لبناء الكود الخاص بك، استخدم: @@ -119,15 +119,15 @@ pip install threagile-builder ## يبني -- جميع أهداف البناء تستخدم[Hatch-vcs](https://github.com/ofek/hatch-vcs)بناء البرنامج المساعد هوك لشحن أ`_version.py`ملف بحيث يمكن استخدام الإصدار في وقت التشغيل -- Wheels use the [Hatch-mypyc](https://github.com/ofek/hatch-mypyc)أنشئ ملحقًا ربطًا لتجميع جميع التعليمات البرمجية أولاً[Mypyc](https://github.com/mypyc/mypyc) -- ال[build](.github/workflows/build.yml)يوضح سير عمل GitHub كيفية: +- تستخدم جميع أهداف البناء[Hatch-vcs](https://github.com/ofek/hatch-vcs)بناء البرنامج المساعد هوك لشحن أ`_version.py`ملف بحيث يمكن استخدام الإصدار في وقت التشغيل +- تستخدم العجلات[Hatch-mypyc](https://github.com/ofek/hatch-mypyc)أنشئ ملحقًا ربطًا لتجميع جميع التعليمات البرمجية أولاً[Mypyc](https://github.com/mypyc/mypyc) +- ال[يبني](.github/workflows/build.yml)يوضح سير عمل GitHub كيفية: - يستخدم[cibuildwheel](https://github.com/pypa/cibuildwheel)لتوزيع العجلات الثنائية لكل منصة - استخدم[برنامج](https://hatch.pypa.io/latest/plugins/builder/app/)بناء الهدف لبناء توزيعات مستقلة لكل منصة ## رخصة -`threagile-builder`يتم توزيعها بموجب شروط[MIT](https://spdx.org/licenses/MIT.html)رخصة. +`threagile-builder`يتم توزيعها بموجب شروط[مع](https://spdx.org/licenses/MIT.html)رخصة. ## 100- مقدمة From 21afcb030d0da1c369c8bddb36ca74cb090b8aa5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:17:14 +0000 Subject: [PATCH 05/15] docs: Added README."fr".md translation via https://github.com/dephraiim/translate-readme --- README.fr.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.fr.md b/README.fr.md index 9a5c92e..e1def79 100644 --- a/README.fr.md +++ b/README.fr.md @@ -112,7 +112,7 @@ pip install threagile-builder - Le[trappe-vcs](https://github.com/ofek/hatch-vcs)Le plugin source de version détermine la version du projet à l'aide des balises Git -## Environnements +## Environments - Bien défini dans un environnement autonome[`hatch.toml`](https://hatch.pypa.io/latest/intro/#configuration) - Le`test`la matrice utilise le[conteneurs-écoutilles](https://github.com/ofek/hatch-containers)plugin pour exécuter chaque environnement dans les conteneurs Docker ; l'utilisation peut être vue dans le[test](.github/workflows/test.yml)Flux de travail GitHub @@ -121,7 +121,7 @@ pip install threagile-builder - Toutes les cibles de build utilisent le[trappe-vcs](https://github.com/ofek/hatch-vcs)construire un plugin hook pour expédier un`_version.py`fichier afin que la version puisse être utilisée au moment de l'exécution - Les roues utilisent le[trappe-mypyc](https://github.com/ofek/hatch-mypyc)construire un plugin hook pour compiler d'abord tout le code avec[Monpyc](https://github.com/mypyc/mypyc) -- The [construire](.github/workflows/build.yml)Le workflow GitHub montre comment : +- Le[construire](.github/workflows/build.yml)Le workflow GitHub montre comment : - utiliser[roue cibuild](https://github.com/pypa/cibuildwheel)distribuer des roues binaires pour chaque plateforme - utiliser le[application](https://hatch.pypa.io/latest/plugins/builder/app/)construire une cible pour créer des distributions autonomes pour chaque plate-forme From f129563eefe1085f397d069286cdfc499034e427 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:17:29 +0000 Subject: [PATCH 06/15] docs: Added README."nl".md translation via https://github.com/dephraiim/translate-readme --- README.nl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.nl.md b/README.nl.md index c1ccfcd..ab9e75c 100644 --- a/README.nl.md +++ b/README.nl.md @@ -42,7 +42,7 @@ Uw code op uw eigen systeem operationeel krijgen. ``` 2. Software-afhankelijkheden 3. Nieuwste releases -4. API-referenties +4. API references 5. Bouwen en testen: Om uw code samen te stellen, gebruikt u: @@ -121,7 +121,7 @@ pip install threagile-builder - Alle bouwdoelen gebruiken de[hatch-vcs](https://github.com/ofek/hatch-vcs)bouw een hook-plug-in om een`_version.py`bestand zodat de versie tijdens runtime kan worden gebruikt - Wielen gebruiken de[hatch-mypyc](https://github.com/ofek/hatch-mypyc)bouw hook-plug-in om eerst alle code mee te compileren[Mijnpyc](https://github.com/mypyc/mypyc) -- De[build](.github/workflows/build.yml)GitHub-workflow laat zien hoe u: +- De[bouwen](.github/workflows/build.yml)De GitHub-workflow laat zien hoe u: - gebruik[cibuildwiel](https://github.com/pypa/cibuildwheel)om binaire wielen voor elk platform te distribueren - gebruik de[app](https://hatch.pypa.io/latest/plugins/builder/app/)build target om zelfstandige distributies voor elk platform te bouwen From 79ada57fb7215932cdaf584a671209073b28156a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:17:36 +0000 Subject: [PATCH 07/15] docs: Added README."es".md translation via https://github.com/dephraiim/translate-readme --- README.es.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.es.md b/README.es.md index 194b02f..e092152 100644 --- a/README.es.md +++ b/README.es.md @@ -90,7 +90,7 @@ Navegar a`http://127.0.0.1:5000/docs`en su navegador web, o descargue openapi.js # Métrica -Dejemos que una herramienta como Prometeo raspe`http://127.0.0.1:9464/metrics`. +Let a tool like Prometheus scrape `http://127.0.0.1:9464/metrics`. **_NUEVO_** @@ -115,7 +115,7 @@ pip install threagile-builder ## Ambientes - Definido claramente de forma independiente[`hatch.toml`](https://hatch.pypa.io/latest/intro/#configuration) -- El`test`La matriz utiliza el[contenedores-escotilla](https://github.com/ofek/hatch-containers)complemento para ejecutar cada entorno dentro de contenedores Docker; El uso se puede ver en el[prueba](.github/workflows/test.yml)flujo de trabajo de GitHub +- El`test`la matriz utiliza el[contenedores-escotilla](https://github.com/ofek/hatch-containers)complemento para ejecutar cada entorno dentro de contenedores Docker; El uso se puede ver en el[prueba](.github/workflows/test.yml)flujo de trabajo de GitHub ## Construir From cc92274486066ca5b27846c62d5d4b65eec1b452 Mon Sep 17 00:00:00 2001 From: Willem van Heemstra Date: Thu, 7 Nov 2024 22:18:12 +0100 Subject: [PATCH 08/15] Create ast_ThreatModel.js --- .../static/lib/ast/ast_ThreatModel.js | 154 ++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 threagile-builder/src/threagile_builder/static/lib/ast/ast_ThreatModel.js diff --git a/threagile-builder/src/threagile_builder/static/lib/ast/ast_ThreatModel.js b/threagile-builder/src/threagile_builder/static/lib/ast/ast_ThreatModel.js new file mode 100644 index 0000000..c31af26 --- /dev/null +++ b/threagile-builder/src/threagile_builder/static/lib/ast/ast_ThreatModel.js @@ -0,0 +1,154 @@ +Blockly.Blocks['ast_ThreatModel'] = { + init: function () { + this.decorators_ = 0; + this.bases_ = 0; + this.keywords_ = 0; + this.appendDummyInput('HEADER') + .appendField("Threat Model") + .appendField(new Blockly.FieldVariable("item"), "NAME"); + this.appendStatementInput("BODY") + .setCheck(null); + this.setInputsInline(false); + this.setPreviousStatement(true, null); + this.setNextStatement(true, null); + this.setColour(BlockMirrorTextToBlocks.COLOR.OO); + this.updateShape_(); + }, + // TODO: Not mutable currently + updateShape_: function () { + for (let i = 0; i < this.decorators_; i++) { + let input = this.appendValueInput("DECORATOR" + i) + .setCheck(null) + .setAlign(Blockly.ALIGN_RIGHT); + if (i === 0) { + input.appendField("decorated by"); + } + this.moveInputBefore('DECORATOR' + i, 'BODY'); + } + for (let i = 0; i < this.bases_; i++) { + let input = this.appendValueInput("BASE" + i) + .setCheck(null) + .setAlign(Blockly.ALIGN_RIGHT); + if (i === 0) { + input.appendField("inherits from"); + } + this.moveInputBefore('BASE' + i, 'BODY'); + } + + for (let i = 0; i < this.keywords_; i++) { + this.appendValueInput("KEYWORDVALUE" + i) + .setCheck(null) + .setAlign(Blockly.ALIGN_RIGHT) + .appendField(new Blockly.FieldTextInput("metaclass"), "KEYWORDNAME" + i) + .appendField("="); + this.moveInputBefore('KEYWORDVALUE' + i, 'BODY'); + } + }, + /** + * Create XML to represent the (non-editable) name and arguments. + * @return {!Element} XML storage element. + * @this Blockly.Block + */ + mutationToDom: function () { + let container = document.createElement('mutation'); + container.setAttribute('decorators', this.decorators_); + container.setAttribute('bases', this.bases_); + container.setAttribute('keywords', this.keywords_); + return container; + }, + /** + * Parse XML to restore the (non-editable) name and parameters. + * @param {!Element} xmlElement XML storage element. + * @this Blockly.Block + */ + domToMutation: function (xmlElement) { + this.decorators_ = parseInt(xmlElement.getAttribute('decorators'), 10); + this.bases_ = parseInt(xmlElement.getAttribute('bases'), 10); + this.keywords_ = parseInt(xmlElement.getAttribute('keywords'), 10); + this.updateShape_(); + }, +}; + +Blockly.Python['ast_ThreatModel'] = function (block) { + // Name + let name = Blockly.Python.variableDB_.getName(block.getFieldValue('NAME'), Blockly.Variables.NAME_TYPE); + // Decorators + let decorators = new Array(block.decorators_); + for (let i = 0; i < block.decorators_; i++) { + let decorator = (Blockly.Python.valueToCode(block, 'DECORATOR' + i, Blockly.Python.ORDER_NONE) || + Blockly.Python.blank); + decorators[i] = "@" + decorator + "\n"; + } + // Bases + let bases = new Array(block.bases_); + for (let i = 0; i < block.bases_; i++) { + bases[i] = (Blockly.Python.valueToCode(block, 'BASE' + i, Blockly.Python.ORDER_NONE) || + Blockly.Python.blank); + } + // Keywords + let keywords = new Array(block.keywords_); + for (let i = 0; i < block.keywords_; i++) { + let name = block.getFieldValue('KEYWORDNAME' + i); + let value = (Blockly.Python.valueToCode(block, 'KEYWORDVALUE' + i, Blockly.Python.ORDER_NONE) || + Blockly.Python.blank); + if (name == '**') { + keywords[i] = '**' + value; + } else { + keywords[i] = name + '=' + value; + } + } + // Body: + let body = Blockly.Python.statementToCode(block, 'BODY') || Blockly.Python.PASS; + // Put it together + let args = (bases.concat(keywords)); + args = (args.length === 0) ? "" : "(" + args.join(', ') + ")"; + return decorators.join('') + "class " + name + args + ":\n" + body; +} +; + +BlockMirrorTextToBlocks.prototype['ast_ThreatModel'] = function (node, parent) { + let name = node.name; + let bases = node.bases; + let keywords = node.keywords; + let body = node.body; + let decorator_list = node.decorator_list; + + let values = {}; + let fields = {'NAME': Sk.ffi.remapToJs(name)}; + + if (decorator_list !== null) { + for (let i = 0; i < decorator_list.length; i++) { + values['DECORATOR' + i] = this.convert(decorator_list[i], node); + } + } + + if (bases !== null) { + for (let i = 0; i < bases.length; i++) { + values['BASE' + i] = this.convert(bases[i], node); + } + } + + if (keywords !== null) { + for (let i = 0; i < keywords.length; i++) { + values['KEYWORDVALUE' + i] = this.convert(keywords[i].value, node); + let arg = keywords[i].arg; + if (arg === null) { + fields['KEYWORDNAME' + i] = "**"; + } else { + fields['KEYWORDNAME' + i] = Sk.ffi.remapToJs(arg); + } + } + } + + return BlockMirrorTextToBlocks.create_block("ast_ThreatModel", node.lineno, fields, + values, + { + "inline": "false" + }, { + "@decorators": (decorator_list === null ? 0 : decorator_list.length), + "@bases": (bases === null ? 0 : bases.length), + "@keywords": (keywords === null ? 0 : keywords.length), + }, { + 'BODY': this.convertBody(body, node) + }); +}; From ab58527b177b2b8f61544b3cdefd2995f6b37781 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:18:46 +0000 Subject: [PATCH 09/15] docs: Added README."zh-TW".md translation via https://github.com/dephraiim/translate-readme --- README.zh-TW.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.zh-TW.md b/README.zh-TW.md index bf18ae3..e9a5246 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -121,7 +121,7 @@ pip install threagile-builder - 所有建置目標都使用[孵化VCS](https://github.com/ofek/hatch-vcs)建立鉤子插件來發送`_version.py`文件,以便可以在運行時使用該版本 - 輪子使用[孵化 mypyc](https://github.com/ofek/hatch-mypyc)建立鉤子插件以首先編譯所有程式碼[Mypyc](https://github.com/mypyc/mypyc) -- 這[建造](.github/workflows/build.yml)GitHub 工作流程展示如何: +- 這[build](.github/workflows/build.yml)GitHub 工作流程展示如何: - 使用[cibuildwheel](https://github.com/pypa/cibuildwheel)為每個平台分發二進制輪子 - 使用[應用程式](https://hatch.pypa.io/latest/plugins/builder/app/)建構目標為每個平台建立獨立發行版 @@ -135,11 +135,11 @@ pip install threagile-builder ## 200 - 要求 -See [README.md](./200/README.md) +看[README.md](./200/README.md) ## 300 - 建立我們的應用程式 -看[README.md](./300/README.md) +See [README.md](./300/README.md) ## 400 - 結論 From d962a1f3a8248b2ada234cfd1d675930cdec231d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:18:56 +0000 Subject: [PATCH 10/15] docs: Added README."hi".md translation via https://github.com/dephraiim/translate-readme --- README.hi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.hi.md b/README.hi.md index c8171e1..6a5855d 100644 --- a/README.hi.md +++ b/README.hi.md @@ -108,7 +108,7 @@ thregile-बिल्डर pip install threagile-builder ``` -## Version source +## संस्करण स्रोत - [हैच-वीसीएस](https://github.com/ofek/hatch-vcs)संस्करण स्रोत प्लगइन Git टैग का उपयोग करके प्रोजेक्ट संस्करण निर्धारित करता है From 5f0c10c32fe8fb8f7eec65935164d7af32724003 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:19:05 +0000 Subject: [PATCH 11/15] docs: Added README."ar".md translation via https://github.com/dephraiim/translate-readme --- README.ar.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.ar.md b/README.ar.md index 0aa68ce..84d95fe 100644 --- a/README.ar.md +++ b/README.ar.md @@ -114,16 +114,16 @@ pip install threagile-builder ## البيئات -- تم تعريفها بدقة في قائمة بذاتها[`hatch.toml`](https://hatch.pypa.io/latest/intro/#configuration) +- Defined neatly in a standalone [`hatch.toml`](https://hatch.pypa.io/latest/intro/#configuration) - ال`test`تستخدم المصفوفة[حاويات الفتحة](https://github.com/ofek/hatch-containers)مكون إضافي لتشغيل كل بيئة داخل حاويات Docker؛ يمكن رؤية الاستخدام في[امتحان](.github/workflows/test.yml)سير عمل جيثب ## يبني -- تستخدم جميع أهداف البناء[Hatch-vcs](https://github.com/ofek/hatch-vcs)بناء البرنامج المساعد هوك لشحن أ`_version.py`ملف بحيث يمكن استخدام الإصدار في وقت التشغيل +- جميع أهداف البناء تستخدم[Hatch-vcs](https://github.com/ofek/hatch-vcs)بناء البرنامج المساعد هوك لشحن أ`_version.py`ملف بحيث يمكن استخدام الإصدار في وقت التشغيل - تستخدم العجلات[Hatch-mypyc](https://github.com/ofek/hatch-mypyc)أنشئ ملحقًا ربطًا لتجميع جميع التعليمات البرمجية أولاً[Mypyc](https://github.com/mypyc/mypyc) - ال[يبني](.github/workflows/build.yml)يوضح سير عمل GitHub كيفية: - يستخدم[cibuildwheel](https://github.com/pypa/cibuildwheel)لتوزيع العجلات الثنائية لكل منصة - - استخدم[برنامج](https://hatch.pypa.io/latest/plugins/builder/app/)بناء الهدف لبناء توزيعات مستقلة لكل منصة + - استخدم[app](https://hatch.pypa.io/latest/plugins/builder/app/) build target to build standalone distributions for every platform ## رخصة From 0d607b8b8bfad2bf77526c6dcd20da3dc0032459 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:19:15 +0000 Subject: [PATCH 12/15] docs: Added README."fr".md translation via https://github.com/dephraiim/translate-readme --- README.fr.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.fr.md b/README.fr.md index e1def79..65a4b69 100644 --- a/README.fr.md +++ b/README.fr.md @@ -90,7 +90,7 @@ Accédez à`http://127.0.0.1:5000/docs`dans votre navigateur Web, ou télécharg # Métrique -Laissez un outil comme Prometheus gratter`http://127.0.0.1:9464/metrics`. +Let a tool like Prometheus scrape `http://127.0.0.1:9464/metrics`. **_NOUVEAU_** @@ -110,9 +110,9 @@ pip install threagile-builder ## Source de la version -- Le[trappe-vcs](https://github.com/ofek/hatch-vcs)Le plugin source de version détermine la version du projet à l'aide des balises Git +- Le[hatch-vcs](https://github.com/ofek/hatch-vcs)Le plugin source de version détermine la version du projet à l'aide des balises Git -## Environments +## Environnements - Bien défini dans un environnement autonome[`hatch.toml`](https://hatch.pypa.io/latest/intro/#configuration) - Le`test`la matrice utilise le[conteneurs-écoutilles](https://github.com/ofek/hatch-containers)plugin pour exécuter chaque environnement dans les conteneurs Docker ; l'utilisation peut être vue dans le[test](.github/workflows/test.yml)Flux de travail GitHub @@ -137,7 +137,7 @@ Voir[README.md](./100/README.md) Voir[README.md](./200/README.md) -## 300 - Créer notre application +## 300 - Construire notre application Voir[README.md](./300/README.md) From 63d4a13a0bf8438a14f5cdd9a562d43aa8aab37d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:19:25 +0000 Subject: [PATCH 13/15] docs: Added README."de".md translation via https://github.com/dephraiim/translate-readme --- README.de.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.de.md b/README.de.md index af7cac2..baccdcf 100644 --- a/README.de.md +++ b/README.de.md @@ -2,11 +2,11 @@ Threagile-Builder # Threagile Builder -| | | -| ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| CI/CD | [![CI - Test](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml)[![CD - Build](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml) | -| Paket | [![PyPI - Version](https://img.shields.io/pypi/v/threagile-builder.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/threagile-builder/)[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/threagile-builder.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/threagile-builder/) | -| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)[![code style - black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/ambv/black)[![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/)[![GitHub Sponsors](https://img.shields.io/github/sponsors/vanHeemstraSystems?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/vanHeemstraSystems) | +| | | +| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| CI/CD | [![CI - Test](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/test.yml)[![CD - Build](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml/badge.svg)](https://github.com/vanHeemstraSystems/threagile-builder/actions/workflows/build.yml) | +| Package | [![PyPI - Version](https://img.shields.io/pypi/v/threagile-builder.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/threagile-builder/)[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/threagile-builder.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/threagile-builder/) | +| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)[![code style - black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/ambv/black)[![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/)[![GitHub Sponsors](https://img.shields.io/github/sponsors/vanHeemstraSystems?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/vanHeemstraSystems) | * * * @@ -133,7 +133,7 @@ pip install threagile-builder Sehen[README.md](./100/README.md) -## 200 – Anforderungen +## 200 - Requirements Sehen[README.md](./200/README.md) @@ -141,6 +141,6 @@ Sehen[README.md](./200/README.md) Sehen[README.md](./300/README.md) -## 400 – Fazit +## 400 - Conclusion Sehen[README.md](./400/README.md) From 058a52a34a038c63452155680c3d0c0e0d0c2d40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:19:35 +0000 Subject: [PATCH 14/15] docs: Added README."nl".md translation via https://github.com/dephraiim/translate-readme --- README.nl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.nl.md b/README.nl.md index ab9e75c..33fe994 100644 --- a/README.nl.md +++ b/README.nl.md @@ -16,7 +16,7 @@ threagile-bouwer - [Referenties](./REFERENCES.md) - [Documentatie](./DOCUMENTATION.md) -**Samenvatting** +**Executive Summary** Uw code op uw eigen systeem operationeel krijgen. @@ -42,7 +42,7 @@ Uw code op uw eigen systeem operationeel krijgen. ``` 2. Software-afhankelijkheden 3. Nieuwste releases -4. API references +4. API-referenties 5. Bouwen en testen: Om uw code samen te stellen, gebruikt u: From 84e9a0e744ec6d6002d681825f0fdd8f248487c0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 21:19:45 +0000 Subject: [PATCH 15/15] docs: Added README."es".md translation via https://github.com/dephraiim/translate-readme --- README.es.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.es.md b/README.es.md index e092152..70bdd28 100644 --- a/README.es.md +++ b/README.es.md @@ -10,7 +10,7 @@ constructor-threagil * * * -> A[basado en bloques](https://developers.google.com/blockly)aplicación web sin código para crear[amenazante](https://threagile.io)Archivos YAML +> A[block-based](https://developers.google.com/blockly)aplicación web sin código para crear[amenazante](https://threagile.io)Archivos YAML - [Glosario](./GLOSSARY.md) - [Referencias](./REFERENCES.md) @@ -90,7 +90,7 @@ Navegar a`http://127.0.0.1:5000/docs`en su navegador web, o descargue openapi.js # Métrica -Let a tool like Prometheus scrape `http://127.0.0.1:9464/metrics`. +Dejemos que una herramienta como Prometeo raspe`http://127.0.0.1:9464/metrics`. **_NUEVO_** @@ -115,7 +115,7 @@ pip install threagile-builder ## Ambientes - Definido claramente de forma independiente[`hatch.toml`](https://hatch.pypa.io/latest/intro/#configuration) -- El`test`la matriz utiliza el[contenedores-escotilla](https://github.com/ofek/hatch-containers)complemento para ejecutar cada entorno dentro de contenedores Docker; El uso se puede ver en el[prueba](.github/workflows/test.yml)flujo de trabajo de GitHub +- El`test`la matriz utiliza el[contenedores-escotilla](https://github.com/ofek/hatch-containers) plugin to run each environment inside Docker containers; usage can be seen in the [test](.github/workflows/test.yml)flujo de trabajo de GitHub ## Construir