Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basyx: add compliance-tool with git history #298

Merged
merged 170 commits into from
Dec 10, 2024

Conversation

Frosty2500
Copy link
Contributor

@Frosty2500 Frosty2500 commented Sep 16, 2024

Add the content and git history of https://github.com/rwth-iat/aas-compliance-tool under the folder basyx.
Fixes #277

TorbenD and others added 30 commits February 21, 2020 15:44
json: update to schema 2.0.1

See merge request acplt/pyaas!22
Re-publish reader/writer functions and relevant classes from
adapter.json and adapter.xml modules.
Rename read_json_aas_file to read_aas_json_file.
Change json and xml module imports accordingly.
Close eclipse-basyx#65
adapter: re-publish reader/writer functions

Closes eclipse-basyx#65

See merge request acplt/pyaas!23
add set_copyright_year.sh script to etc/scripts
adapter.xml.xml_serialization: Remove attribute "xsi:type" from element "value" in _value_to_xml

adapter.xml.xml_serialization: Add wrapping <submodelElement> around statements in entity_to_xml

adapter.xml.xml_deserialization: add parsing submodelElement wrapper
to _construct_entity and _construct_submodel_element_collection
s-heppner and others added 14 commits March 9, 2024 02:38
We extract the compliance_tool into its own
package, since the functionality is not needed
in the general SDK anymore.

This commit moves the existing files to their
new locations.
Previously, the schema checks for JSON were
failing due to this missing requirement.
This commit adds `.aasx` to the `.gitignore`,
since we want to dynamically create the AASX
files during runtime of the unittests, rather
than committing them to the repository
Previously, the BaSyx-Python AASX reader returned
a "File not found" exception, when an AASX-file
could not be found. However, now it appears that
it returns `is not a valid ECMA376-2 (OPC) file`
instead.

We update the unittest to reflect this change.
The mypy call in `.github/workflows/ci.yml`
was outdated with the compliance tool extraction.
This is fixed here.
Add a missing white line
Previously, we used the old GitHub secrets method
to publish to PyPI.
However, this method appears to be outdated.

Follwing [this guide], we update the .github
Release workflow

[this guide](https://docs.pypi.org/trusted-publishers/using-a-publisher/)
…ce-tool

Add compliance-tool to basyx-python-sdk.
@s-heppner
Copy link
Contributor

Looks like the mypy call is failing due to the fact that we now have multiple test modules.
Can you have a look at how to fix this?

Maybe we should only call mypy once in the entire CI and specify each module to call it on explicitly?

@s-heppner s-heppner marked this pull request as draft October 11, 2024 13:52
@Frosty2500
Copy link
Contributor Author

It looks to me like Torben needs to connect his email torben.deppe@p*t.rwth-aachen.de with an Eclipse certificate so we can merge this branch later.

@s-heppner
Copy link
Contributor

I don't think this is necessary (or possible for that matter), since the compliance tool has existed in this repository with this exact history before. We will just document this here in the PR text, when we get ready to close it.

@Frosty2500 Frosty2500 marked this pull request as ready for review November 24, 2024 16:23
@s-heppner
Copy link
Contributor

Let's wait with this until #332 is closed, fix the conflicts once and then merge. Other than the CI conflicts, this LGTM.

@s-heppner s-heppner merged commit 0e16992 into eclipse-basyx:main Dec 10, 2024
14 of 15 checks passed
@s-heppner s-heppner deleted the add_compliance-tool branch December 10, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor towards monolithic repository
8 participants