-
Notifications
You must be signed in to change notification settings - Fork 0
/
opsi-dev-tool.yml
116 lines (114 loc) · 3.87 KB
/
opsi-dev-tool.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
project:
licenses:
- license: AGPL-3.0
header: |
opsiclientd is part of the desktop management solution opsi http://www.opsi.org
Copyright (c) 2010-{year} uib GmbH <[email protected]>
This code is owned by the uib GmbH, Mainz, Germany (uib.de). All rights reserved.
License: {license}
- license: non-free
header: |
opsiclientd is part of the desktop management solution opsi http://www.opsi.org
Copyright (c) 2010-{year} uib GmbH <[email protected]>
This code is owned by the uib GmbH, Mainz, Germany (uib.de). All rights reserved.
path: opsiclientd/nonfree
transifex:
upload_resources:
- organization: opsi-org
project: opsiorg
resource_name: opsiclientd.pot
scan_sources:
- opsiclientd
download_translations:
- organization: opsi-org
project: opsiorg
resource_name: opsiclientd.pot
install_dir: opsiclientd_data/locale
min_review_rate: $TRANSIFEX_MIN_REVIEW_RATE
languages:
- de
- fr
- organization: opsi-org
project: opsiorg
resource_name: opsiclientd.pot
install_dir: opsiclientd_data/locale
min_translation_rate: 0.8
pyinstaller-poetry:
one_file: no
hidden_imports:
all:
- csv
# OPSI.Util.Ping needed for dynamic depot selection
- OPSI.Util.Ping
windows:
- pythoncom
- win32com
- pywintypes
- win32api
- win32timezone
- OPSI.Backend.Manager.Authentication.NT
linux:
- OPSI.Backend.Manager.Authentication.PAM
darwin:
- OPSI.Backend.Manager.Authentication.PAM
collect_submodules:
- uvicorn
- websockets
- h11
extra_args:
windows:
- --manifest
- opsiclientd-windows.manifest
## Without --noconsole opsiclientd_rpc and action_processor_starter are opening console windows
#- --noconsole
darwin:
- --exclude-module
- tkinter
scripts:
- script: run-opsiclientd
binaries:
- opsiclientd
- opsiclientd_rpc
- action_processor_starter
icon: opsiclientd_data/windows/opsi.ico
before_script:
linux:
- "[ -e opsi-server ] && rm -rf opsi-server"
- url=$(git remote -v | grep fetch | cut -f2 | sed s'#/opsiclientd.git.*#/opsi-server.git#')
#- branch=$(git rev-parse --abbrev-ref HEAD)
- branch=v4.2
- GIT_TERMINAL_PROMPT=0 git clone --branch $branch $url
darwin:
- "[ -e opsi-server ] && rm -rf opsi-server"
- url=$(git remote -v | grep fetch | cut -f2 | sed s'#/opsiclientd.git.*#/opsi-server.git#')
#- branch=$(git rev-parse --abbrev-ref HEAD)
- branch=v4.2
- GIT_TERMINAL_PROMPT=0 git clone --branch $branch $url
windows:
- $url = git remote -v | where { $_ -match "fetch"} | % { $_ -replace "origin\s+", "" } | % { $_ -replace "/opsiclientd.git.*", "/opsi-server.git" }
- $branch = "v4.2"
- $env:GIT_TERMINAL_PROMPT = 0
- git clone --branch $branch $url
data_files:
# from opsiclientd
- src: opsiclientd_data/common/static_html/**
dst: opsiclientd_data/static_html/
- src: opsiclientd_data/locale/**
dst: opsiclientd_data/locale/
- src: opsiclientd_data/${PLATFORM_SYSTEM}/**
dst: opsiclientd_data/
# from opsi-server
- src: opsi-server/opsi-server_data/etc/backendManager/extend.d/10_opsi.conf
dst: opsiclientd_data/extend.d/
- src: opsi-server/opsi-server_data/etc/backendManager/extend.d/20_legacy.conf
dst: opsiclientd_data/extend.d/
dirname: opsiclientd
after_script:
linux:
- mv dist/opsiclientd/_internal/opsiclientd_data dist/opsiclientd/
- chmod -R g-w,o-w dist/opsiclientd
darwin:
- mv dist/opsiclientd/_internal/opsiclientd_data dist/opsiclientd/
- chmod -R g-w,o-w dist/opsiclientd
windows:
- Move-Item -Path dist\opsiclientd\_internal\opsiclientd_data -Destination dist\opsiclientd\