From 7a9ea38e23621b3bc6beb653710d6636b8462b56 Mon Sep 17 00:00:00 2001 From: Sebastian Hellgren Date: Sat, 15 Jun 2024 22:55:37 +0200 Subject: [PATCH] Add gitman instead of git submodules --- .github/workflows/test.yml | 3 +++ .gitignore | 3 ++- .gitman.yaml | 35 +++++++++++++++++++++++++++++++++++ requirements.txt | 1 + tsfpga | 1 - vunit | 1 - 6 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 .gitman.yaml create mode 100644 requirements.txt delete mode 160000 tsfpga delete mode 160000 vunit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17e3f9d..a7ee5ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,5 +16,8 @@ jobs: submodules: 'recursive' - name: Install python dependencies run: pip install -r tsfpga/tsfpga/requirements.txt + run: pip install -r requirements.txt + - name: Gitman update + run: gitman update - name: Run simulations run: python run.py \ No newline at end of file diff --git a/.gitignore b/.gitignore index e1260dd..77d239b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ out/* .vscode/* -vhdl_ls.toml \ No newline at end of file +vhdl_ls.toml +vendor/ \ No newline at end of file diff --git a/.gitman.yaml b/.gitman.yaml new file mode 100644 index 0000000..8c6d7cd --- /dev/null +++ b/.gitman.yaml @@ -0,0 +1,35 @@ +location: vendor/gitman + +sources: + - repo: https://github.com/Digilent/vivado-library.git + name: digilent + rev: master + links: + - source: ip/MIPI_CSI_2_RX + target: modules/mipi + - repo: https://github.com/tsfpga/tsfpga.git + name: tsfpga + rev: main + links: + - target: tsfpga + - rep: https://github.com/hdl-modules/hdl-modules.git + name: hdl-modules + rev: main + links: + - target: hdl-modules + - repo: https://github.com/VUnit/vunit.git + name: vunit + rev: master + scripts: + - git submodule update --init --recursive + links: + - target: vunit + +groups: + - name: all + members: + - digilent + - tsfpga + - vunit + +default_group: all \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e6966b1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +gitman \ No newline at end of file diff --git a/tsfpga b/tsfpga deleted file mode 160000 index 440d7a7..0000000 --- a/tsfpga +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 440d7a75c4ddb8595709d685a24dddb1311e9bdb diff --git a/vunit b/vunit deleted file mode 160000 index 315adae..0000000 --- a/vunit +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 315adae5bd5b6e1648e4a2ee52dc7f91d934a540