Commit Graph

156 Commits

Author SHA1 Message Date
16173769ce to create sevenv, start from nicosenv, if available
+ always upgrade pip
2025-05-20 11:02:17 +02:00
19eb8378a7 add sevenv to getsestuff 2025-05-20 10:43:59 +02:00
3b0d272669 start feeder and seweb in sevenv virtualenv 2025-05-20 10:38:44 +02:00
2866eb741c do 'systemctl --user deamon-reload' when service file has changed 2025-05-20 08:54:39 +02:00
96b2f583b6 copy systemd files also when repo already exists 2025-05-20 08:47:38 +02:00
2641138975 copy systemd service files for feeder and seweb 2025-05-20 08:46:02 +02:00
b35004b8b9 allow 'incldue' and 'override' 2025-05-19 18:09:32 +02:00
9a673afb21 atsrt seweb and feeder as systemd user unit 2025-05-19 18:09:02 +02:00
bb95798ff3 remove ssh related stuff 2025-05-08 12:25:05 +02:00
a813132fe9 move amor to the end of the list (is slower) 2025-05-08 11:33:25 +02:00
6d46f2ccd3 move frappy and seweb to gitlab 2025-05-08 11:32:08 +02:00
08afad6b4d mention getsestuff in README.md 2025-05-08 10:25:53 +02:00
512c3ae80f restrict printing of help more
+ remove some disabled code
2025-05-08 09:56:29 +02:00
5685b01ec7 move sea, calcurves and frappy_sinq to gitea 2025-05-08 08:47:51 +02:00
79a93a26df allins.py: scripts for all instruments
- influxdb setup
2025-05-06 12:50:41 +02:00
19b6144310 remove morpheus, add boa 2025-05-06 12:50:11 +02:00
888a898dde create ~/.config when it does not exist 2025-05-06 12:48:12 +02:00
1c3c02ccad add sehistory config to be updated 2025-05-06 10:43:47 +02:00
645a1e1198 update getsestuff (feeder)
+ replace 'service' by 'serv' in cfg/*.cfg
2025-05-02 14:35:12 +02:00
74c4e1ec92 return result in self.get_info() 2025-05-02 14:30:44 +02:00
ea2df3a9a3 cfg/servicemanager.cfg: change sehistory to feeder 2025-05-02 14:23:17 +02:00
09d7d016e1 avoid KeyError when frappy is used with an invalid instrument 2025-05-02 11:54:00 +02:00
dbd7a0433a rename sehistory service to feeder
however, the name of the sehistory repo containing the feeder
is kept
2025-05-02 11:52:12 +02:00
0a324c3f05 treat single instance of seweb / sehistory properly
there is only one seweb / sehistory instance.
care has to be taken as the instrument is not part of the command
2025-04-30 16:13:52 +02:00
f2e01b651d seweb service should be '' 2025-04-30 15:18:45 +02:00
7a09db0eab add global or local as service for sehistory 2025-04-29 15:36:54 +02:00
3beb31cfc7 use still gitlab for seweb 2025-04-29 12:03:52 +02:00
ce37e3727c add seweb and sehistory to bin/ 2025-04-29 11:56:10 +02:00
74684381a6 add sehistory and seweb 2025-04-29 11:52:47 +02:00
a36df58081 move seaweb from init to sewebman.py 2025-04-29 11:37:59 +02:00
18c693d800 add 'sea create' command 2025-04-29 11:36:57 +02:00
7025ec3a22 frappy-cli: support older frappy client 2025-04-29 11:35:37 +02:00
38009190e4 add getsestuff related stuff 2025-04-29 11:18:48 +02:00
a3d2ef3f27 keep gesestuff in servicemanager
- still need to copy to
  /afs/psi.ch/project/sinq/common/stow/markus/bin/
2025-04-29 11:18:39 +02:00
l_samenv
556a7eff9d improve missing arg handling
- better error messages
- missing instrument is only allowed with 'list'
- missing argument to be replaced with ? in error message
- sea cli may now be given with 'graph' or 'sea' for service
2025-01-21 10:52:02 +01:00
fda6e37238 erroneous config files should be accepted in command line
frappyman.is_cfg(config) should not try to run the cfg file
2024-12-11 09:05:00 +01:00
dmc
910f281b0c add nicosenv to PATH before starting
asssure that PATH and therefore python venv ist the same when
starting frappy from NICOS and from commandline
2024-11-26 14:57:23 +01:00
8b13e32ed7 some more cosmetic changes
- fix an intend
- add TODO: remove pkg
- add .before_bott_at to backup of seastatus.tcl
2024-06-27 15:37:59 +02:00
dmc
95a3ff4ffd allow PY in commands, to be replaced with a specific python executable 2024-06-12 09:23:18 +02:00
l_samenv
9a30ee6bc7 Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager 2024-06-10 10:23:30 +02:00
l_samenv
f9fbd90945 Merge branch 'tmp' 2024-06-10 10:20:16 +02:00
l_samenv
e31d0248d7 include changes from tmp branch 2024-06-10 10:19:22 +02:00
l_samenv
4d9e0c757f improve FrappyManager.get_server_state
look at frappy server cfg when sea and frappy cfg are both
unrelated
2024-06-10 07:49:16 +02:00
1636dd1c3c bin/nicos_sinq: sys.argv must be altered when calling main() 2024-06-06 08:21:28 +02:00
94c514bd59 version from branch tmp as of 2025-05-27 2024-05-27 17:26:56 +02:00
l_samenv
67f5f46c7f patch QApplication in order to distinguish settings of instances
use  ~/.config/nicos_<instrument> instead of common ~/.config/nicos
2024-05-14 16:40:57 +02:00
bb9eac432e fix handling of addons, 2nd attempt 2024-05-13 14:55:27 +02:00
02b24ed202 fix handling of addons in get_server_state 2024-05-13 14:30:44 +02:00
l_samenv
15abee1bb1 fix bug when seacfg is not known to frappy 2024-05-13 13:25:33 +02:00
b680563fcd improve doc and cleanup code 2024-05-10 12:02:07 +02:00