github-actions[bot]
ea95269263
rosdistro update
...
CI / Flake check (push) Has been cancelled
CI / Test suite (push) Has been cancelled
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/37c83ee0ed407624b70861ddf208cac477ae4ff9?narHash=sha256-lQ70iJzZ3v6ZQlaRCT5utCWvKV2KMOXcKUb14teJf1c%3D' (2025-05-08)
→ 'github:ros/rosdistro/0c431c180b0773ba7e60f0378e5d88fdeab6b4ef?narHash=sha256-qTCxQ8Rvrmrz0s1J0e6AZKtxC7fu%2BuwridNEscj7yZI%3D' (2025-05-30)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 63c73cd..88c0bd5 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -528,0 +529 @@
+ nixos: [taskflow]
2025-06-01 08:15:16 +02:00
github-actions[bot]
04b3d80304
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/5680922555de54792b39eebe042429dc81640155?narHash=sha256-Fcb9rjZPMQR7gFAP1tzKFze5T1kOYNuhmN4pXDPUlr4%3D' (2025-05-05)
→ 'github:ros/rosdistro/37c83ee0ed407624b70861ddf208cac477ae4ff9?narHash=sha256-lQ70iJzZ3v6ZQlaRCT5utCWvKV2KMOXcKUb14teJf1c%3D' (2025-05-08)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 951b5c3..63c73cd 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -312,0 +313 @@
+ nixos: [tl-expected]
2025-05-09 12:09:21 +02:00
github-actions[bot]
abd57c5f87
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/b7956f9dbf27d80347000695a246c689932a8c8b?narHash=sha256-7M7QZob2EvWXvWIVonUUIT9BucxoGNhunuxbJqrI3Pw%3D' (2025-04-30)
→ 'github:ros/rosdistro/5680922555de54792b39eebe042429dc81640155?narHash=sha256-Fcb9rjZPMQR7gFAP1tzKFze5T1kOYNuhmN4pXDPUlr4%3D' (2025-05-05)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 673567b..0eb0d7c 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -188 +188 @@
- nixos: [python311Packages.cvxopt]
+ nixos: [python3Packages.cvxopt]
@@ -269 +269 @@
- nixos: [python312Packages.nest-asyncio]
+ nixos: [python3Packages.nest-asyncio]
@@ -281 +281 @@
- nixos: [python312Packages.owslib]
+ nixos: [python3Packages.owslib]
@@ -327 +327 @@
- nixos: [python312Packages.pytest-xvfb]
+ nixos: [python3Packages.pytest-xvfb]
@@ -335 +335 @@
- nixos: [python312Packages.regex]
+ nixos: [python3Packages.regex]
@@ -375 +375 @@
- nixos: [python311Packages.svg-path]
+ nixos: [python3Packages.svg-path]
@@ -381 +381 @@
- nixos: [python311Packages.textual]
+ nixos: [python3Packages.textual]
@@ -404 +404 @@
- nixos: [python311Packages.wand]
+ nixos: [python3Packages.wand]
2025-05-05 21:03:26 +02:00
github-actions[bot]
18bb49af5b
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/cb57fd9b03ff433bb65614b7f58c544ac90240b8?narHash=sha256-wwbjzrduaqRkW8YlXNy1mleHBk%2B/Uo/xq0S1Yf/jt/I%3D' (2025-04-29)
→ 'github:ros/rosdistro/b7956f9dbf27d80347000695a246c689932a8c8b?narHash=sha256-7M7QZob2EvWXvWIVonUUIT9BucxoGNhunuxbJqrI3Pw%3D' (2025-04-30)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 936685a..673567b 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -692,0 +693 @@
+ nixos: [libcxx]
2025-05-01 14:34:23 +02:00
github-actions[bot]
834f206b0a
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/4ba850ce268998d0742345f2069e292d65263c16?narHash=sha256-di8LIxWbxHDUXxHuV0t281GFjBZ%2BCTV3ca%2Bppf67p/o%3D' (2025-04-14)
→ 'github:ros/rosdistro/cb57fd9b03ff433bb65614b7f58c544ac90240b8?narHash=sha256-wwbjzrduaqRkW8YlXNy1mleHBk%2B/Uo/xq0S1Yf/jt/I%3D' (2025-04-29)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index d1b8224..936685a 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -334,0 +335 @@
+ nixos: [python312Packages.regex]
2025-04-30 17:36:44 +02:00
Michal Sojka
63c76d6aac
Merge pull request #20 from mbeutelspacher/feat/persistent_cache
...
feat: add the option to store and load sha256 cache in/from a file
2025-04-22 21:39:26 +02:00
Michal Sojka
64894d3f7f
Remove flake from test/ws
...
It was likely committed by accident.
2025-04-21 10:22:51 +02:00
Michal Sojka
cf9ca51f69
Update comments describing head optimization
2025-04-18 13:48:14 +02:00
Michal Sojka
81c4e3656b
Create directories for git cache if needed
2025-04-18 13:48:14 +02:00
Michal Sojka
a6c2ff98fb
Use URL and prefix (directory) as git cache keys
...
Using URL instead of git revisions should ensure that the cache
doesn't grow indefinitely. With git revisions, the cache would be soon
full of mostly old revisions. The advantage using git revision is
that, for example, different branches of a repo can be cached
simultaneously. I hope, this is not the common usage pattern. And if
it is, one can always set XDG_CACHE_HOME variable to use different
caches for different branches.
2025-04-18 13:48:14 +02:00
Michal Sojka
c619c573f2
Use git cache by default
2025-04-18 13:48:14 +02:00
Michal Sojka
a78551449b
Always prefix package.nix path with ./ in overlay.nix
...
Without this, nixified package in the current directory fails to
evaluate with "error: undefined variable 'package'".
2025-04-18 10:36:46 +02:00
github-actions[bot]
dc2eef69c1
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/a3274666b7e99b2e2e5e299e7255c9bb6676772f?narHash=sha256-Ie/B6z649WCfB8w2Gde7PomNmN93S8MNqfS%2Broy1Ctc%3D' (2025-04-08)
→ 'github:ros/rosdistro/4ba850ce268998d0742345f2069e292d65263c16?narHash=sha256-di8LIxWbxHDUXxHuV0t281GFjBZ%2BCTV3ca%2Bppf67p/o%3D' (2025-04-14)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 5128839..892d55d 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -924,0 +925 @@
+ nixos: [re2]
2025-04-14 14:14:19 +02:00
github-actions[bot]
b03e5e6a8f
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/10cb92acc4de87e16237143554b230ebac1f73e6?narHash=sha256-y3wH0C7Elzwfb6OxSwysZwkMBzdiLlnmw9%2BmldWd6zM%3D' (2025-03-28)
→ 'github:ros/rosdistro/a3274666b7e99b2e2e5e299e7255c9bb6676772f?narHash=sha256-Ie/B6z649WCfB8w2Gde7PomNmN93S8MNqfS%2Broy1Ctc%3D' (2025-04-08)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index ac94fe1..5128839 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -1140,0 +1141 @@
+ nixos: []
2025-04-08 16:03:12 +02:00
github-actions[bot]
c8720baec6
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/9cfed9dc768dd516d6e33d6635be0b0f5e928b18?narHash=sha256-yEnUMa4a1hvxGIkM/G3HExudRNmxiwbi7N1eM7B0%2B/U%3D' (2025-03-27)
→ 'github:ros/rosdistro/10cb92acc4de87e16237143554b230ebac1f73e6?narHash=sha256-y3wH0C7Elzwfb6OxSwysZwkMBzdiLlnmw9%2BmldWd6zM%3D' (2025-03-28)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index a24df3f..ac94fe1 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -1186,0 +1187 @@
+ nixos: [tftp-hpa]
2025-03-28 13:32:16 +01:00
Michal Sojka
be4316f061
tests: Run flake test against jazzy
...
Rolling is currently broken.
2025-03-27 19:31:50 +01:00
github-actions[bot]
caea989fa8
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/c4b40f54befd0a6f1b4a1f9b9d233defe461e99a?narHash=sha256-QvkLNWdC%2BKwvg5UQ3KCHHtiwVEd319aA8lwXDYaB/dk%3D' (2025-02-04)
→ 'github:ros/rosdistro/9cfed9dc768dd516d6e33d6635be0b0f5e928b18?narHash=sha256-yEnUMa4a1hvxGIkM/G3HExudRNmxiwbi7N1eM7B0%2B/U%3D' (2025-03-27)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 9c2c329..a24df3f 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -430 +430 @@
- nixos: [alsaOss]
+ nixos: [alsa-oss]
@@ -651 +651 @@
- nixos: [alsaLib]
+ nixos: [alsa-lib]
2025-03-27 15:30:51 +01:00
Max Beutelspacher
c309f53ac9
feat: add the option to store sha256 cache in a file
...
cache is also used for per package source checkouts and
<git-rev>-<package-prefix> is used as a key
2025-02-25 21:24:23 +01:00
Michal Sojka
c35b0dc7aa
Fix merge_base_to_upstream()
...
The parameter was unused.
2025-02-10 08:39:35 +01:00
Michal Sojka
12a9d8de83
Update test/ros2nix to set correct argv[0]
2025-02-10 08:39:10 +01:00
Michal Sojka
6b1e2ed106
Merge pull request #18 from mbeutelspacher/feat/package_local_hash
...
feat: option for package local hash
2025-02-09 11:26:31 +01:00
Michal Sojka
83c13b8209
Add test for --use-per-package-src
2025-02-09 10:55:46 +01:00
Michal Sojka
5053709228
Use "non-cone mode" for --use-per-package-src
...
In cone mode (before this commit), the fetched sources contained not
only the specified subdirectory, but also the files in all its parent
directories. Non-cone mode means, that only the specified subdirectory
is fetched.
2025-02-09 10:55:46 +01:00
Max Beutelspacher
3567e9e85a
Improve argument name for per-package-src
...
Co-authored-by: Michal Sojka <michal.sojka@cvut.cz>
2025-02-09 10:55:46 +01:00
Michal Sojka
f2893e44b9
Don't generate extra empty lines in src expressions
2025-02-09 10:55:46 +01:00
Michal Sojka
e523ecb7f5
Fix formatting and typos
2025-02-09 10:55:46 +01:00
Max Beutelspacher
2b569c35f0
feat: use sparse checkout if --use-package-git-hash is provided
2025-02-05 18:47:04 +01:00
github-actions[bot]
9ad84a3d7e
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/14382641c4cdf8d5c3249d2013edac9246a053b3?narHash=sha256-ik9WzB4J3zreeouP8dPRlEzhcsmGusDL00DWCUoAGjI%3D' (2025-01-24)
→ 'github:ros/rosdistro/c4b40f54befd0a6f1b4a1f9b9d233defe461e99a?narHash=sha256-QvkLNWdC%2BKwvg5UQ3KCHHtiwVEd319aA8lwXDYaB/dk%3D' (2025-02-04)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index dc80ce0..9c2c329 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -392,0 +393 @@
+ nixos: [python3Packages.py-ubjson]
2025-02-05 13:31:14 +01:00
Max Beutelspacher
72a061c8c1
feat: option for package local hash
2025-02-03 22:16:08 +01:00
github-actions[bot]
56677a3cbc
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/2c52cb3a4a23febbc5316f4950a2fd20928a2ac9?narHash=sha256-1TOROAuMOvgAi1C4vZD9CnnqLrkfpoj4yUPuzUdiif0%3D' (2025-01-23)
→ 'github:ros/rosdistro/14382641c4cdf8d5c3249d2013edac9246a053b3?narHash=sha256-ik9WzB4J3zreeouP8dPRlEzhcsmGusDL00DWCUoAGjI%3D' (2025-01-24)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 5095fec..dc80ce0 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -161,0 +162 @@
+ nixos: [python3Packages.antlr4-python3-runtime]
@@ -199,0 +201 @@
+ nixos: [python3Packages.expiringdict]
@@ -204,0 +207 @@
+ nixos: [python3Packages.flake8-blind-except]
@@ -205,0 +209 @@
+ nixos: [python3Packages.flake8-class-newline]
@@ -206,0 +211 @@
+ nixos: [python3Packages.flake8-deprecated]
@@ -281,0 +287 @@
+ nixos: [python3Packages.pexpect]
@@ -286,0 +293 @@
+ nixos: [pre-commit]
@@ -332,0 +340 @@
+ nixos: [python3Packages.rich]
2025-01-24 22:04:18 +01:00
Michal Sojka
655e6a1cb4
github: Remove deprecated DeterminateSystems/magic-nix-cache-action
2025-01-23 16:37:14 +01:00
github-actions[bot]
e9b1c50f33
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/75e54def2805272c98baf57126914655c7641ca0?narHash=sha256-K6kDCcXBFSVUpNjQ8Cj2p9Ai45FhmxzWqj4CtG5GO9E%3D' (2024-12-30)
→ 'github:ros/rosdistro/2c52cb3a4a23febbc5316f4950a2fd20928a2ac9?narHash=sha256-1TOROAuMOvgAi1C4vZD9CnnqLrkfpoj4yUPuzUdiif0%3D' (2025-01-23)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 0d7b0e6..5095fec 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -382,0 +383 @@
+ nixos: [python3Packages.typing-extensions]
2025-01-23 16:29:00 +01:00
github-actions[bot]
546ade5de0
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/555ea36685bebdb5929517593e2da5fce8a46fc9?narHash=sha256-CdLG91HOG9dJ2q9VnhFNAQAA2ToBPNB6qriCYDCPSJU%3D' (2024-12-04)
→ 'github:ros/rosdistro/75e54def2805272c98baf57126914655c7641ca0?narHash=sha256-K6kDCcXBFSVUpNjQ8Cj2p9Ai45FhmxzWqj4CtG5GO9E%3D' (2024-12-30)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index fd6e80c..604f57a 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -5 +5 @@
- nixos: [pythonPackages.black]
+ nixos: [python3Packages.black]
@@ -275,0 +276 @@
+ nixos: [python3Packages.omniorb]
@@ -311,0 +313 @@
+ nixos: [python3Packages.pyside2]
@@ -315 +317 @@
- nixos: [pythonPackages.pytest]
+ nixos: [python3Packages.pytest]
@@ -1086 +1088 @@
- nixos: [pythonPackages.pybind11]
+ nixos: [python3Packages.pybind11]
2024-12-31 17:08:56 +01:00
Michal Sojka
239cee8bcb
Don't add git version to generated patches
2024-12-29 15:48:58 +01:00
Michal Sojka
99af052d22
README: Document --patches
2024-12-28 17:08:45 +01:00
Michal Sojka
9406815aba
Fix generating patches of independent packages in a single repo
2024-12-28 16:38:02 +01:00
Michal Sojka
c06d6087d3
Generate overlay with final and prev parameters
...
Otherwise `nix flake check` complains with:
error: overlay does not take an argument named 'final'
This also changes which callPackage is called. Previously, we used
"super" (now prev), but we changed it to "final", because this seems
to be more correct (i.e. used in nixpkgs).
2024-12-28 11:14:23 +01:00
Michal Sojka
2ba5146201
Run tests during CI
2024-12-23 01:35:04 +01:00
Michal Sojka
6c5663f3c9
Allow manually triggering CI
2024-12-23 00:23:57 +01:00
Michal Sojka
773c31d355
Improve --patches documentation and regenerate README.md
2024-12-23 00:16:08 +01:00
Michal Sojka
dc3de1f289
Add experimental option --patches
...
This generates Nix expressions which include local patches (additional
commits in local git repositories).
2024-12-22 23:00:49 +01:00
Michal Sojka
9193811bfc
Add autoware test
2024-12-22 22:38:39 +01:00
Michal Sojka
68126a4b82
Add test for --fetch
2024-12-22 22:24:58 +01:00
Michal Sojka
2669f6e7d9
Add more tests for --compare
2024-12-22 22:09:20 +01:00
Michal Sojka
6afabdfe02
Fix __main__ to exit with correct exit code
2024-12-22 22:02:11 +01:00
Michal Sojka
70a0703a0e
Add initial version of test suite
2024-12-22 21:58:19 +01:00
Michal Sojka
b2de70cc66
Add ROS workspace that will be used by our planned test suite
2024-12-22 21:38:45 +01:00
Michal Sojka
a850550783
Don't fail with --compare when a .nix file is missing on disk
...
The switch --compare is typically used during CI, to check whether all
automatically generated files are up to date. When some files are
missing (e.g. a ROS package was added but its Nix expression was not
generated), ros2nix would fail with "FileNotFoundError" and would not
return exit code 2 as it should.
This commit fixes that. Missing files are reported with an error
message and execution continues. Exit code 2 is correctly reported.
2024-12-18 09:39:55 +01:00
github-actions[bot]
c42d7ecaa1
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/00de49f5efa7b1060598d6e079193f2eed1d11ca?narHash=sha256-GU7ADCGL/zUVL6q7gz3LcB4sVwkqDYq2IQDcZMIfWto%3D' (2024-11-22)
→ 'github:ros/rosdistro/555ea36685bebdb5929517593e2da5fce8a46fc9?narHash=sha256-CdLG91HOG9dJ2q9VnhFNAQAA2ToBPNB6qriCYDCPSJU%3D' (2024-12-04)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 81bc49a..1b486ab 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -281,0 +282 @@
+ nixos: [python3Packages.pillow]
2024-12-05 13:41:12 +01:00
github-actions[bot]
2657ec7c20
rosdistro update
...
Flake lock file updates:
• Updated input 'rosdistro':
'github:ros/rosdistro/b53353abe6d376416c00d41818219fa9467214ef?narHash=sha256-c20Tf6IvDiCKTpHGLKg7negZxpl/PfNs%2BbBKNZJiBIc%3D' (2024-11-21)
→ 'github:ros/rosdistro/00de49f5efa7b1060598d6e079193f2eed1d11ca?narHash=sha256-GU7ADCGL/zUVL6q7gz3LcB4sVwkqDYq2IQDcZMIfWto%3D' (2024-11-22)
diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 0edc5e8..81bc49a 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -368,0 +369 @@
+ nixos: [python311Packages.textual]
2024-11-23 13:13:55 +01:00