@@ -9,21 +9,44 @@ PYTHON_DIR := $(CLIENTS_DIR)/python
9
9
@echo " WARNING ##### $@ does not exist, cloning $< as $@ ############" ; cp $< $@ )
10
10
11
11
12
- .PHONY : info
13
- info : # # general information
14
- # system
15
- @echo ' CURDIR : ${CURDIR}'
16
- @echo ' NOW_TIMESTAMP : ${NOW_TIMESTAMP}'
17
- @echo ' VCS_URL : ${VCS_URL}'
18
- @echo ' VCS_REF : ${VCS_REF}'
19
- # installed in .venv
20
- @which python
21
- @pip list
22
- # API
23
- @echo ' title : $(shell bash $(SCRIPTS_DIR)/jq.bash -r .info.title $(REPO_ROOT)/api/openapi.json)'
24
- @echo ' version : $(shell bash $(SCRIPTS_DIR)/jq.bash -r .info.version $(REPO_ROOT)/api/openapi.json)'
25
- # nox
26
- @echo nox --list-session
12
+ .PHONY : info-api info-envs info-tools info-pip info
13
+
14
+ info-api : # # info on openapi specs
15
+ # Openapi specs ---------
16
+ @echo ' title : $(shell bash $(SCRIPTS_DIR)/jq.bash -r .info.title $(REPO_ROOT)/api/openapi.json)'
17
+ @echo ' version : $(shell bash $(SCRIPTS_DIR)/jq.bash -r .info.version $(REPO_ROOT)/api/openapi.json)'
18
+
19
+
20
+ info-envs : # # info on envs
21
+ # Environments ----------
22
+ @echo ' CURDIR : ${CURDIR}'
23
+ @echo ' NOW_TIMESTAMP : ${NOW_TIMESTAMP}'
24
+ @echo ' VCS_URL : ${VCS_URL}'
25
+ @echo ' VCS_REF : ${VCS_REF}'
26
+
27
+
28
+ info-tools : # # info on tooling
29
+ # Tooling ---------------
30
+ @echo ' make : $(shell make --version 2>&1 | head -n 1)'
31
+ @echo ' jq : $(shell jq --version)'
32
+ @echo ' awk : $(shell awk -W version 2>&1 | head -n 1)'
33
+ @echo ' python : $(shell python3 --version)'
34
+ @echo ' uv : $(shell uv --version)'
35
+ @echo ' docker : $(shell docker --version)'
36
+ @echo ' docker buildx : $(shell docker buildx version)'
37
+ @echo ' docker compose : $(shell docker compose version)'
38
+
39
+
40
+ info-pip : # # info index versions
41
+ # Pypi ------------------
42
+ @pip index versions \
43
+ osparc \
44
+ --pre \
45
+ --index-url https://test.pypi.org/simple/ \
46
+ --extra-index-url https://pypi.org/simple/
47
+
48
+
49
+ info : info-api info-envs info-tools info-pip # # all infos
27
50
28
51
29
52
.venv : .check-uv-installed
0 commit comments