Commit graph

56 commits

Author SHA1 Message Date
Michal Sojka
8a9f703575 Make ros2nix version (date-time) more human readable 2024-10-03 00:24:28 +02:00
Michal Sojka
8736e74512 Add FilesCompleter for package.xml parameter 2024-10-01 20:32:35 +02:00
Michal Sojka
0fd819b4a2 Add shell completion scripts 2024-10-01 13:01:16 +02:00
Michal Sojka
8528f3558f Fix errors when package.xml is in the current directory 2024-10-01 12:08:22 +02:00
Michal Sojka
2595123e12 Ignore --compare in the "Automatically generated" comment 2024-09-26 23:31:48 +02:00
Michal Sojka
33e6271b65 Make --compare print diffs 2024-09-26 23:31:14 +02:00
Michal Sojka
61f9d71bc8 Fix exception when printing an error message
pkg may not be always set.
2024-09-26 17:03:05 +02:00
github-actions[bot]
c0dcec99ca rosdistro update
Flake lock file updates:

• Updated input 'rosdistro':
    'github:ros/rosdistro/c4dae4aab7adf9aab23cabbfb0a485911c35cffb?narHash=sha256-S2F5k%2BmzSoZ3%2BMNg8VUsSSc4jOPSFkSEsG5C48p%2BKZc%3D' (2024-09-17)
  → 'github:ros/rosdistro/719a24cd571df99dcbf059d0b26ff6129877440a?narHash=sha256-aC4fmpKW5l6jva7sTM6msR%2BOT4NRg1xE46UUeLn8ddY%3D' (2024-09-23)

diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 1f81047..1317c1c 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -70,0 +71 @@
+  nixos: [cryptopp]
@@ -316 +317 @@
-  nixos: [libgpiod]
+  nixos: [libgpiod_1]
@@ -623,0 +625 @@
+  nixos: [grpc]
2024-09-24 15:22:40 +02:00
Michal Sojka
00044e9bad README: Fix heading level 2024-09-22 11:49:09 +02:00
Michal Sojka
8ca5a871ff Allow overriding nix-ros-overlay version 2024-09-22 10:58:27 +02:00
Michal Sojka
c6b1a2c507 Add --default and --no-default option 2024-09-22 09:39:30 +02:00
Michal Sojka
38d2f17d89 Add --no-overlay option 2024-09-22 09:38:49 +02:00
Michal Sojka
3315d0cd36 Extend README 2024-09-21 20:18:05 +02:00
Michal Sojka
11e7f90414 github: Prevent update action to fail when there are no changes 2024-09-18 15:26:15 +02:00
Michal Sojka
3cf992916a README: Update possible failure reasons 2024-09-18 10:30:29 +02:00
Michal Sojka
ecf83f90d9 Update --help 2024-09-18 10:07:34 +02:00
Michal Sojka
84bf4880ff Update --help 2024-09-18 10:03:00 +02:00
Michal Sojka
84eda8f295 Fix setuptools error
error: Multiple top-level packages discovered in a flat-layout: ['maint', 'ros2nix'].
2024-09-18 09:59:02 +02:00
github-actions[bot]
da6e6d83bd rosdistro update
Flake lock file updates:

• Updated input 'rosdistro':
    'github:ros/rosdistro/bab0a532400c16d89606a8c7fb450f26e6028745?narHash=sha256-Aj43AvXYn8etRXhyDc1RwJXV0g37NilmduevcYrcaZY%3D' (2024-08-25)
  → 'github:ros/rosdistro/c4dae4aab7adf9aab23cabbfb0a485911c35cffb?narHash=sha256-S2F5k%2BmzSoZ3%2BMNg8VUsSSc4jOPSFkSEsG5C48p%2BKZc%3D' (2024-09-17)

diff --git a/tmp/rosdistro-old.txt b/tmp/rosdistro-new.txt
index 8d82e43..1f81047 100644
--- a/tmp/rosdistro-old.txt
+++ b/tmp/rosdistro-new.txt
@@ -334,0 +335 @@
+  nixos: [perlPackages.ImageExifTool]
@@ -343,0 +345,2 @@
+  nixos: [lcm]
+  nixos: [lcm.dev]
@@ -361,0 +365,3 @@
+  nixos: [nanoflann]
+  nixos: [nanopb]
+  nixos: [ncurses]
@@ -589 +595 @@
-  nixos: [opencl-headers]
+  nixos: [opencl-clhpp]
@@ -712,0 +719 @@
+  nixos: [tshark]
@@ -713,0 +721 @@
+  nixos: [unclutter]
@@ -734,0 +743,3 @@
+  nixos: [wkhtmltopdf]
+  nixos: [wmctrl]
+  nixos: [workrave]
@@ -739,0 +751 @@
+  nixos: [xercesc]
@@ -741,0 +754 @@
+  nixos: [perlPackages.XMLXPath]
@@ -746,0 +760 @@
+  nixos: [xz]
@@ -995,0 +1010 @@
+  nixos: [python3Packages.influxdb]
@@ -1032,0 +1048 @@
+  nixos: [python312Packages.owslib]
@@ -1097,0 +1114,2 @@
+  nixos: [python3Packages.seaborn]
+  nixos: [python3Packages.segno]
2024-09-18 09:29:36 +02:00
Michal Sojka
527b8460e5 Move rosdistro updating to a separate script
... and fix bugs
2024-09-18 09:26:00 +02:00
Michal Sojka
ee76acc9c9 Update rosdistro only when necessary 2024-09-18 09:06:27 +02:00
Michal Sojka
2fd2d627ae github: Update rosdistro update workflow 2024-09-18 08:18:40 +02:00
Michal Sojka
f6d9f91eb1 Update CI workflow 2024-09-18 08:16:31 +02:00
Michal Sojka
c087166c38 github: Update rosdistro update workflow 2024-09-18 08:14:37 +02:00
Michal Sojka
fecc76a754 github: Add automatic rosdistro update 2024-09-18 07:57:56 +02:00
Michal Sojka
fa777c4ec2 README: Remove WiP note 2024-09-18 00:03:51 +02:00
Michal Sojka
2ac42b76ca README: Fix TIP 2024-09-18 00:01:55 +02:00
Michal Sojka
52f87e6e8c README: Document how to nixify 3rd-party packages 2024-09-17 23:56:38 +02:00
Michal Sojka
28f4ce2673 README: Add basic info 2024-09-16 17:26:07 +02:00
Michal Sojka
245c8972a1 Improve CI 2024-09-16 14:02:58 +02:00
Michal Sojka
3b52a81623 Add github action workflow 2024-09-16 12:52:25 +02:00
Michal Sojka
3fc1fcf337 Update README 2024-09-16 08:26:46 +02:00
Michal Sojka
59cfa1be32 Use mdsh during nix flake check 2024-09-16 08:26:07 +02:00
Michal Sojka
c4bc177658 Add --do-check 2024-09-16 08:19:34 +02:00
Michal Sojka
12b7379af5 Implement --compare 2024-09-15 21:52:21 +02:00
Michal Sojka
97e9459c65 Sort imports with isort 2024-09-15 21:16:50 +02:00
Michal Sojka
23c7c45f04 Don't allow overriding env. variables
This would probably lead to weird errors, which I'm not interested in
dealing with.
2024-09-15 19:30:18 +02:00
Michal Sojka
f119eefe02 Set env. variables needed for off-line function 2024-09-15 19:29:36 +02:00
Michal Sojka
3ad25643a0 Add flake-compat 2024-09-15 18:26:06 +02:00
Michal Sojka
b36f2108fa Implement --extra-*-inputs 2024-09-15 17:47:35 +02:00
Michal Sojka
ac0a6f67bc Define ROS distro name at only one place in flake.nix 2024-09-15 14:38:06 +02:00
Michal Sojka
bff08f3718 Strip trailing / from GitHub repo name 2024-09-15 14:37:37 +02:00
Michal Sojka
6ba6c8a2c2 Start generated Nix expressions with a comment about automatic generation 2024-09-15 14:10:03 +02:00
Michal Sojka
ca4c0e6bfc Improve --help text and add it to the README 2024-09-15 14:09:25 +02:00
Michal Sojka
20504c30f9 Cleanup 2024-09-15 12:19:29 +02:00
Michal Sojka
05d12bc5d0 Implement --flake 2024-09-15 12:17:03 +02:00
Michal Sojka
190fcfcbb0 Update flake.nix 2024-09-15 11:10:51 +02:00
Michal Sojka
caae29d852 Cleanup, flake8 2024-09-15 10:41:08 +02:00
Michal Sojka
83e07c9ea1 Prepare for --flake 2024-09-15 10:28:27 +02:00
Michal Sojka
a56e2bdf9c Generate correct paths when setting --output-dir 2024-09-15 01:02:10 +02:00