Skip to content

Commit 4c9c3ab

Browse files
committed
remove codegen-rust after long-time deprecation
1 parent 9862ca1 commit 4c9c3ab

25 files changed

Lines changed: 0 additions & 4821 deletions

.github/workflows/codegen.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,12 @@ jobs:
3838
with:
3939
name: asn1c-image
4040
path: /tmp/asn1c-image.tar
41-
- name: Build rgen docker image
42-
uses: docker/build-push-action@v6
43-
with:
44-
context: utils/codegen/codegen-rust
45-
file: utils/codegen/codegen-rust/docker/rgen.Dockerfile
46-
tags: rgen:ci
47-
outputs: type=docker,dest=/tmp/rgen-image.tar
48-
- name: Upload rgen-image (artifact)
49-
uses: actions/upload-artifact@v4
50-
with:
51-
name: rgen-image
52-
path: /tmp/rgen-image.tar
5341
- name: Push Docker Images
5442
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
5543
run: |
5644
docker load --input /tmp/asn1c-image.tar
5745
docker tag asn1c:ci ghcr.io/${{ github.repository }}:asn1c
5846
docker push ghcr.io/${{ github.repository }}:asn1c
59-
docker load --input /tmp/rgen-image.tar
60-
docker tag rgen:ci ghcr.io/${{ github.repository }}:rgen
61-
docker push ghcr.io/${{ github.repository }}:rgen
6247
6348
etsi_its_coding:
6449
name: asn1c

.gitlab-ci.codegen.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ variables:
1616
GIT_SUBMODULE_STRATEGY: recursive
1717
_ASN1C_CI_IMAGE: ${CI_REGISTRY_IMAGE}/asn1c:${CI_COMMIT_REF_SLUG}_ci
1818
_ASN1C_IMAGE_LATEST: ${CI_REGISTRY_IMAGE}/asn1c:latest
19-
_RGEN_CI_IMAGE: ${CI_REGISTRY_IMAGE}/rgen:${CI_COMMIT_REF_SLUG}_ci
20-
_RGEN_IMAGE_LATEST: ${CI_REGISTRY_IMAGE}/rgen:latest
2119

2220
stages:
2321
- Build Docker Images
@@ -40,20 +38,6 @@ asn1c-docker:
4038
docker push ${_ASN1C_IMAGE_LATEST}
4139
fi
4240
43-
rgen-docker:
44-
stage: Build Docker Images
45-
before_script:
46-
- cd utils/codegen/codegen-rust/docker
47-
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
48-
script:
49-
- docker build -t ${_RGEN_CI_IMAGE} -f rgen.Dockerfile ..
50-
- docker push ${_RGEN_CI_IMAGE}
51-
- |-
52-
if [[ "${CI_COMMIT_REF_SLUG}" == "${CI_DEFAULT_BRANCH}" ]]; then
53-
docker tag ${_RGEN_CI_IMAGE} ${_RGEN_IMAGE_LATEST}
54-
docker push ${_RGEN_IMAGE_LATEST}
55-
fi
56-
5741
5842
etsi_its_cam_coding:
5943
stage: asn1c

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ cam.cam.cam_parameters.high_frequency_container.basic_vehicle_container_high_fre
287287
288288
A given ASN.1 definition is used to generate corresponding C-structures, ROS message definitions, as well as conversion functions between those two formats. The raw ASN.1 definitions of the supported message types are included as Git submodules in the [`asn1/raw` subdirectory](./asn1/raw/). Make sure to clone recursively or initialize the submodules after cloning (`git submodule update --init --recursive`). Note that some of these definitions need to be downloaded and patched before code generation by running [`./asn1/external/download.sh`](./asn1/external/download.sh) and [`./asn1/patches/patch.sh`](./asn1/patches/patch.sh).
289289
290-
The [currently used code generation tool is Python-based](./utils/codegen/codegen-py/). There is also an [alternative Rust-based implementation](./utils/codegen/codegen-rust/) that is currently not maintained anymore (added in #17, replaced again in #28, #48), but kept for reference.
291-
292290
If you would like to re-run the generation of supported message types, we recommend to use the [*VS Code* debugging configurations](https://code.visualstudio.com/docs/editor/debugging) pre-configured in [`.vscode/launch.json`](./.vscode/launch.json). All script calls defined there can obviously also run outside of *VS Code*. Note that *Python* and *Docker* are required for code generation.
293291
294292
If you would like to run the generation for new message types or message type versions, call the scripts defined in [`.vscode/launch.json`](./.vscode/launch.json) on your custom ASN.1 definitions.

utils/codegen/codegen-rust/asn1ToConversionHeader.py

Lines changed: 0 additions & 124 deletions
This file was deleted.

utils/codegen/codegen-rust/asn1ToRosMsg.py

Lines changed: 0 additions & 199 deletions
This file was deleted.

0 commit comments

Comments
 (0)