From 0e4f1d4cf9bb4c4331d835d5c55d6d680afdfc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Seidel?= Date: Mon, 28 Nov 2022 16:07:01 +0100 Subject: [PATCH] add codeowner & linter workflow --- .github/workflows/lint.yml | 19 +++++++++++++++++++ .markdownlint.yml | 11 +++++++++++ CODEOWNERS | 4 ++++ LICENSE.md | 8 ++++---- README.md | 7 ++++--- doc/cover.md | 1 - 6 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/lint.yml create mode 100644 .markdownlint.yml create mode 100644 CODEOWNERS diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..7796d00 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,19 @@ +name: linter checks +on: + push: + +jobs: + linter: + name: "Linter Checks" + runs-on: ubuntu-latest + + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Check markdown files + uses: avto-dev/markdown-lint@v1 + with: + args: '**/*.md' + ignore: ./LICENSE.md diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..95479c5 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,11 @@ +# markdownlint YAML configuration +--- + +# Default state for all rules +default: true + +# ignored rules +line-length: false +no-inline-html: false +first-line-h1: false +no-emphasis-as-header: false \ No newline at end of file diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..18778ac --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,4 @@ +# These owners will be the default owners for everything in the repo. +# Unless a later match takes precedence, the listed user will be +# requested for review when someone opens a pull request. +* @sjuergen @BeckerStS @kruegerfelix @Schneefl0cke \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index 1cac89f..dce28a1 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -13,17 +13,17 @@ Siemens provides products and solutions with industrial security functions that In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens' products and solutions constitute one element of such a concept. Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks. Such systems, machines and components should only be connected to an enterprise network or the internet if and to the extent such a connection is necessary and only when appropriate security measures (e.g. firewalls and/or network segmentation) are in place. -For additional information on industrial security measures that may be implemented, please visit +For additional information on industrial security measures that may be implemented, please visit . **1.3 Compliance with Export Control Regulations** -You shall comply with all applicable sanctions, embargoes and (re-)export control regulations, and, in any event, with those of the European Union and the United States of America (collectively "Export Regulations"). In particular, the information, software and documentation provided by Siemens (collectively "Licensed Material") shall not be used, accessed or transferred, unless permitted by the Export Regulations or respective governmental licenses or approvals, (i) in or to any location prohibited by or subject to comprehensive sanctions (currently Russia, Cuba, Iran, North Korea, Syria, and the Crimea region of Ukraine, Donetsk and Luhansk regions of Ukraine) or license requirements according to the Export Regulations; (ii) by or to any individual or entity designated on a sanctioned party list of the Export Regulations; (iii) for any purpose prohibited by the Export Regulations (e.g. use in connection with armaments, nuclear technology or weapons); or (iv) to upload any content unless it is noncontrolled (e .g. in the EU: AL = N; in the U.S.: ECCN = N or EAR99). If required to enable authorities or Siemens to conduct export control checks, You, upon request by Siemens, shall promptly provide Siemens with all information pertaining to You, the intended use and the location of use of the Licensed Material. Siemens shall not be obligated to fulfill this Agreement if such fulfillment is prevented by any impediments arising out of national or international foreign trade or customs requirements or any embargoes or other sanctions. +You shall comply with all applicable sanctions, embargoes and (re-)export control regulations, and, in any event, with those of the European Union and the United States of America (collectively "Export Regulations"). In particular, the information, software and documentation provided by Siemens (collectively "Licensed Material") shall not be used, accessed or transferred, unless permitted by the Export Regulations or respective governmental licenses or approvals, (i) in or to any location prohibited by or subject to comprehensive sanctions (currently Russia, Cuba, Iran, North Korea, Syria, and the Crimea region of Ukraine, Donetsk and Luhansk regions of Ukraine) or license requirements according to the Export Regulations; (ii) by or to any individual or entity designated on a sanctioned party list of the Export Regulations; (iii) for any purpose prohibited by the Export Regulations (e.g. use in connection with armaments, nuclear technology or weapons); or (iv) to upload any content unless it is noncontrolled (e .g. in the EU: AL = N; in the U.S.: ECCN = N or EAR99). If required to enable authorities or Siemens to conduct export control checks, You, upon request by Siemens, shall promptly provide Siemens with all information pertaining to You, the intended use and the location of use of the Licensed Material. Siemens shall not be obligated to fulfill this Agreement if such fulfillment is prevented by any impediments arising out of national or international foreign trade or customs requirements or any embargoes or other sanctions. **2. Open Source License for Software provided in source code and the generated source code** -In case the Software contains or generates source code the following open source license (Open license terms) shall apply for such source code: - +In case the Software contains or generates source code the following open source license (Open license terms) shall apply for such source code: + MIT License Copyright 2022 Siemens AG diff --git a/README.md b/README.md index dead17c..a836e4a 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,16 @@ In AX it is not possible to use variables pointing on the periphery (IOM) as ref ## Install this package Enter: + ```cli apax add @simatic-ax/io ``` -> to install this package you need to login into the GitHub registry. You'll find more information [here](https://github.com/simatic-ax/.sharedstuff/blob/main/doc/personalaccesstoken.md) +> to install this package you need to login into the GitHub registry. You'll find more information [here](https://github.com/simatic-ax/.sharedstuff/blob/main/doc/personalaccesstoken.md) ## Namespace -``` + +```yml Simatic.Ax.IO.Input Simatic.Ax.IO.Output ``` @@ -36,7 +38,6 @@ Simatic.Ax.IO.Output |RealOutput | Evaluate and write a REAL value | |WordOutput | Evaluate and write a WORD value | - ## Contribution Thanks for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section or, even better, is free to propose any changes to this repository using Merge Requests. diff --git a/doc/cover.md b/doc/cover.md index aa5c1cd..2fb09a6 100644 --- a/doc/cover.md +++ b/doc/cover.md @@ -2,7 +2,6 @@ Version: 0.0.0-placeholder - ## Usage The library consists of the following namespaces: