psytricks 2.2.0a20__tar.gz → 2.2.0a21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of psytricks might be problematic. Click here for more details.
- psytricks-2.2.0a21/INSTALLATION.md +37 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/PKG-INFO +39 -1
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/pyproject.toml +3 -3
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__init__.py +1 -1
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/psytricks-lib.ps1 +1 -1
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/LICENSE +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/README.md +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/psytricks-wrapper.ps1 +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/restricks-server.example.xml +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/restricks-server.ps1 +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/sampledata/GetAccessUsers.json +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/sampledata/GetMachineStatus.json +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/sampledata/GetSessions.json +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/cli.py +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/decoder.py +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/literals.py +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/mappings.py +0 -0
- {psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/wrapper.py +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# 🏗️ ResTricks Service Installation / Upgrade TL;DR ⏩
|
|
2
|
+
|
|
3
|
+
The commands below can be used to upgrade an existing installation of the
|
|
4
|
+
`ResTricksService` - for a *fresh* installation you'd also need to create the
|
|
5
|
+
target location and adjust the configuration in `restricks-server.xml`.
|
|
6
|
+
|
|
7
|
+
```PowerShell
|
|
8
|
+
$TargetDir = "C:\ProgramData\PSyTricks" # or wherever you're installing to
|
|
9
|
+
|
|
10
|
+
$PSyTricksTag="v2.2.0.a19"
|
|
11
|
+
$PSyTricksVersion="2.2.0a19"
|
|
12
|
+
$PSyTricksPkg="psytricks-REST-${PSyTricksVersion}_WinSW.NET461-2.12.0"
|
|
13
|
+
$PSyTricksZip="${PSyTricksPkg}.zip"
|
|
14
|
+
$PSyTricksBaseDl="https://github.com/imcf/psytricks/releases/download"
|
|
15
|
+
$PSyTricksUri="${PSyTricksBaseDl}/${PSyTricksTag}/${PSyTricksZip}"
|
|
16
|
+
|
|
17
|
+
cd "C:\Temp\"
|
|
18
|
+
|
|
19
|
+
Invoke-WebRequest -Uri $PSyTricksUri -OutFile $PSyTricksZip
|
|
20
|
+
Expand-Archive $PSyTricksZip -DestinationPath .
|
|
21
|
+
cd $PSyTricksPkg
|
|
22
|
+
# when upgrading, simply remove the example config - for an initial installation
|
|
23
|
+
# move it to the target location and rename it to "restricks-server.xml":
|
|
24
|
+
Remove-Item restricks-server.example.xml
|
|
25
|
+
|
|
26
|
+
Stop-Service RESTricksServer
|
|
27
|
+
Get-Service RESTricksServer
|
|
28
|
+
|
|
29
|
+
foreach ($File in Get-ChildItem -File) {
|
|
30
|
+
Unblock-File -Path $File.FullName
|
|
31
|
+
Move-Item -Path $File.FullName -Destination $TargetDir -Force
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
Start-Service RESTricksServer
|
|
35
|
+
Get-Service RESTricksServer
|
|
36
|
+
Get-Content -Tail 10 "${TargetDir}\restricks-server.wrapper.log"
|
|
37
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: psytricks
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.0a21
|
|
4
4
|
Summary: PowerShell Python Citrix Tricks.
|
|
5
5
|
License-Expression: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -260,3 +260,41 @@ wrapper.set_maintenance(machine="vm42.vdi.example.xy", disable=False)
|
|
|
260
260
|
[www_rtf]: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
|
|
261
261
|
[www_shawl]: https://github.com/mtkennerly/shawl
|
|
262
262
|
|
|
263
|
+
# 🏗️ ResTricks Service Installation / Upgrade TL;DR ⏩
|
|
264
|
+
|
|
265
|
+
The commands below can be used to upgrade an existing installation of the
|
|
266
|
+
`ResTricksService` - for a *fresh* installation you'd also need to create the
|
|
267
|
+
target location and adjust the configuration in `restricks-server.xml`.
|
|
268
|
+
|
|
269
|
+
```PowerShell
|
|
270
|
+
$TargetDir = "C:\ProgramData\PSyTricks" # or wherever you're installing to
|
|
271
|
+
|
|
272
|
+
$PSyTricksTag="v2.2.0.a19"
|
|
273
|
+
$PSyTricksVersion="2.2.0a19"
|
|
274
|
+
$PSyTricksPkg="psytricks-REST-${PSyTricksVersion}_WinSW.NET461-2.12.0"
|
|
275
|
+
$PSyTricksZip="${PSyTricksPkg}.zip"
|
|
276
|
+
$PSyTricksBaseDl="https://github.com/imcf/psytricks/releases/download"
|
|
277
|
+
$PSyTricksUri="${PSyTricksBaseDl}/${PSyTricksTag}/${PSyTricksZip}"
|
|
278
|
+
|
|
279
|
+
cd "C:\Temp\"
|
|
280
|
+
|
|
281
|
+
Invoke-WebRequest -Uri $PSyTricksUri -OutFile $PSyTricksZip
|
|
282
|
+
Expand-Archive $PSyTricksZip -DestinationPath .
|
|
283
|
+
cd $PSyTricksPkg
|
|
284
|
+
# when upgrading, simply remove the example config - for an initial installation
|
|
285
|
+
# move it to the target location and rename it to "restricks-server.xml":
|
|
286
|
+
Remove-Item restricks-server.example.xml
|
|
287
|
+
|
|
288
|
+
Stop-Service RESTricksServer
|
|
289
|
+
Get-Service RESTricksServer
|
|
290
|
+
|
|
291
|
+
foreach ($File in Get-ChildItem -File) {
|
|
292
|
+
Unblock-File -Path $File.FullName
|
|
293
|
+
Move-Item -Path $File.FullName -Destination $TargetDir -Force
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
Start-Service RESTricksServer
|
|
297
|
+
Get-Service RESTricksServer
|
|
298
|
+
Get-Content -Tail 10 "${TargetDir}\restricks-server.wrapper.log"
|
|
299
|
+
```
|
|
300
|
+
|
|
@@ -5,12 +5,12 @@ authors = [
|
|
|
5
5
|
{ name = "Niko Ehrenfeuchter", email = "nikolaus.ehrenfeuchter@unibas.ch" },
|
|
6
6
|
]
|
|
7
7
|
license = "GPL-3.0-or-later"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
version = "2.2.0-a.20"
|
|
8
|
+
dynamic = ["readme"]
|
|
9
|
+
version = "2.2.0-a.21"
|
|
11
10
|
|
|
12
11
|
[tool.poetry]
|
|
13
12
|
documentation = "https://imcf.one/apidocs/psytricks/psytricks.html"
|
|
13
|
+
readme = ["README.md", "INSTALLATION.md"]
|
|
14
14
|
|
|
15
15
|
[tool.poetry.urls]
|
|
16
16
|
"Changelog" = "https://github.com/imcf/psytricks/blob/main/CHANGELOG.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/restricks-server.example.xml
RENAMED
|
File without changes
|
|
File without changes
|
{psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/sampledata/GetAccessUsers.json
RENAMED
|
File without changes
|
{psytricks-2.2.0a20 → psytricks-2.2.0a21}/src/psytricks/__ps1__/sampledata/GetMachineStatus.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|