Commit Graph

173 Commits

Author SHA1 Message Date
zolliker 7136fcfd9f allow arguments for gitea.py to specify repo 2025-05-28 11:58:10 +02:00
zolliker 99580aad78 introduce 'to_home' and systemd user services
- frappy is now a systemd user service
- add 'frappy' and 'boxweb' bash function
2025-05-28 11:54:21 +02:00
zolliker 1a6b133afa fix execute argument in unix_cmd 2025-05-20 08:17:35 +02:00
zolliker d8d4394e03 linse-dil5: version and remove router 2025-05-20 08:07:56 +02:00
zolliker 1c6f16f51a rename and modify linse-rpi7 to linse-dil5 2025-05-20 08:06:04 +02:00
zolliker 5ba3bba33b rename old dil5 apu 2025-05-20 08:06:04 +02:00
zolliker c4a8cee558 add 'version' to box info
version 0: git.psi.ch repo
version 1: gitea.psi.ch repo
2025-05-20 07:58:15 +02:00
zolliker 30369aff3c mkdir with proper owner
- using sudo only when not in user account
+ fix typo
2025-05-08 14:52:47 +02:00
zolliker f41b76633b make dir if needed 2025-05-08 14:50:27 +02:00
zolliker c4f2665b98 add frappy to the repos to update to gitea 2025-05-08 14:25:39 +02:00
zolliker 6588f445c8 add EDITOR to sshd_config 2025-05-07 13:16:46 +02:00
zolliker c284e97d53 show pip command if execution is needed 2025-04-28 14:59:59 +02:00
zolliker 3899d27c1d set also GIT_COMMITTER_EMAIL and .._AUTHOR 2025-04-28 14:52:12 +02:00
zolliker 13210d987e do not execute pip when not needed 2025-04-28 14:29:22 +02:00
zolliker b3cd338a1e setuser: do not use LC_IDENTIFICATION anymore
rather allow GIT* env variables to pass through ssh
2025-04-28 13:31:49 +02:00
PREVENT_DEFAULT 16bb53784c fixed bugs in regex pattern 2025-04-17 16:46:08 +02:00
zolliker 9c707e2375 change filemode mechanism in gitea.write_when_new 2025-04-17 16:36:17 +02:00
zolliker cddf70bcdd change setuser mechanism
rely on the fact the LC_IDENTIFICATION (and other LC_*)
environment variables are forwarded from an ssh client to the
server
2025-04-17 16:29:56 +02:00
zolliker fefb87dfe6 change names and location of rc scripts 2025-04-17 16:22:26 +02:00
l_samenv 65967db63e add frappy flowsas to linse-rpi5 2025-04-14 14:12:37 +02:00
zolliker ff291c59e5 rpi/clone: make chdir more robust 2025-04-14 10:50:07 +02:00
zolliker 68bf2b1d0b no network section for ionopi 2025-04-14 10:38:20 +02:00
zolliker ae48007b50 fix permissions of hooks 2025-04-14 10:37:59 +02:00
zolliker cf4706d1e2 mak box type more consistent and display it anyway
- 'rpi' instead of 'ionopi' for a simple raspberry pi
+ fix dirty flag when dhcp server is modified
2025-04-14 10:36:00 +02:00
zolliker 094694df49 allow to start rpi/clone script outside rpi subdirectory 2025-04-14 10:34:37 +02:00
zolliker 75691c0ed5 fixes in write_when_new
- create files with g/o read
- fix superfluos remove of tmpfile
2025-04-09 15:46:52 +02:00
zolliker 32a65f0a66 fix bad key for FRAPPY.cfg in fi and fs 2025-04-09 14:30:15 +02:00
zolliker cafa57bcb6 renamed linse-rpi2 to linse-fi 2025-04-09 14:28:06 +02:00
zolliker 4e6a897b29 fix return value of gitea.write_when_new 2025-04-09 14:26:28 +02:00
zolliker 7da25d4190 listboxes: make nicer 2025-04-09 14:12:34 +02:00
zolliker 71c5ec34eb make listboxes work when bin/listboxes is a symlink 2025-04-09 11:42:01 +02:00
zolliker ef3ee7775a listboxes: show router ports 2025-04-09 11:40:32 +02:00
zolliker 420db466f1 add linse-fs 2025-04-09 09:54:15 +02:00
zolliker 2dfc71001a do not consider network installs when not specified 2025-04-09 09:45:12 +02:00
zolliker e48e1302c0 add listboxes command 2025-04-09 09:44:45 +02:00
zolliker 16af1ddf2d make get_gitea_token exectuable 2025-04-09 07:56:56 +02:00
l_samenv 012d5c2a51 linse-rpi10: remove duplicate section BOX 2025-04-09 07:32:45 +02:00
zolliker 89425d9ce4 NETWORK section is optional 2025-04-08 15:06:07 +02:00
zolliker ee5f9924f8 remove sudo in message about restart 2025-04-08 14:58:45 +02:00
zolliker 0b3dacfb32 remove boxid from cfg file name 2025-04-08 14:50:50 +02:00
zolliker f28b1bcabd fix hooks path
+ use fallback instead of catching error
2025-04-08 09:53:28 +02:00
zolliker 785eb76ca6 fix hooks path
+ use fallback instread of catching error
2025-04-08 09:51:35 +02:00
zolliker 90776bfeef fix gitea.py 2025-04-08 09:45:38 +02:00
zolliker c2747e884d install.py: include fixing gitea repo 2025-04-08 09:41:42 +02:00
zolliker 1e7977c12e add script to migrate to gitea 2025-04-08 09:36:57 +02:00
zolliker f15f2bce0b credential.helper needs absolute path 2025-04-07 18:03:15 +02:00
zolliker 4f4052968f .bash_samenv: fix url and credential helper code 2025-04-07 17:44:25 +02:00
zolliker 4c9ba0915f fix checking of box types
+ a bug (type)
2025-04-07 17:28:27 +02:00
zolliker 5ec713f1b1 added .bash_profile and .bash_samenv 2025-04-07 17:26:53 +02:00
zolliker 570923497d install files to /home/l_samenv without sudo 2025-04-07 15:32:51 +02:00