Sauvegarde WAPT

This commit is contained in:
sylvain
2018-11-16 09:30:28 +01:00
parent 6833cf5775
commit bdcf6ee87d
515 changed files with 50348 additions and 0 deletions

19
vm/WAPT/certificate.crt Normal file
View File

@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDJjCCAg6gAwIBAgIUAnGNTJYwZIgvuxMgYrGJ2vgOpm8wDQYJKoZIhvcNAQEL
BQAwHzELMAkGA1UEBhMCRlIxEDAOBgNVBAMMB1dBUFRNTUkwHhcNMTgxMTE1MTAw
NjQ2WhcNMjgxMTEyMTAwNjQ2WjAfMQswCQYDVQQGEwJGUjEQMA4GA1UEAwwHV0FQ
VE1NSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMGwlmiEwQoEfkJJ
cxemIzWU3zajf8PI3ebRkoTlCJIQTXe6Cf5I/pi1fs3duHxrpe82TYGYpHM8Tusk
B6NZjwy88/o1nHGhbNRciNfC05Yf9YSpsSv11tZ/DiGk6o519H219pgZZoo59ndZ
m97m/3Zv2JsCxEw+s5q5a96tiHyXycQwFii7uRW9KX0UWwvlf2IkUzwUaCng+p2k
CaRKOGEV9smmHHGDLAAzYwVAYsxfkCXUIP9535iTjxdFjPngldLhHNeULTFLU9oP
c/OMx9sQ5u1SiPqOcsI6XYRw1dqrOII/f/KubVBxLfm1v1GPgjjc2cja4uk/MZJE
9upPPi0CAwEAAaNaMFgwDwYDVR0TAQH/BAUwAwEB/zAWBgNVHSUBAf8EDDAKBggr
BgEFBQcDAzAdBgNVHQ4EFgQU8swJUILhtjuSJrbt8notOpeNFBQwDgYDVR0PAQH/
BAQDAgHWMA0GCSqGSIb3DQEBCwUAA4IBAQBgLnW5KRFdcz4UuBNgH4EuBtoot0C7
al/grQog+63hwh1idIgFlhG5Hweijb1vNYxlKOWxxj2CibKxYKq556V3sdVSoRd6
4QIaJpScCZZ5CYvGYsAqxv1/axrQ1FH4nmkr6lq6pDzpBInljNNCRfzBLRl8Eknj
gMu6/7DctNCpnirwzQnBH/N6oWOfaingJQxNoWaXZ6Pa9WDTqXAsJDUDWT4MCBZV
IZ+oHhuDZTIQwje5htN9sAhUU3C/8zLW9qqk7PWKd3Xdoyxqz2w4gCzgqtLgHoEF
ofweSDUxjOI+3LSAhbz4lTSqMsEOCiGZvLgamKDbmVDchsdczjIi+dHC
-----END CERTIFICATE-----

33
vm/WAPT/control Normal file
View File

@@ -0,0 +1,33 @@
package : waptiut-vm
version : 2016-7
architecture : all
section : base
priority : optional
maintainer : WAPTCONSOLE
description : Automatic package for VM
depends : waptiut-virtualbox
conflicts :
maturity :
locale :
target_os :
min_os_version :
max_os_version :
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 3680c039-8f23-4bb6-bd42-d1c671e2b061
signer : WAPTMMI
signer_fingerprint: db2bbf0cb068dd33d192a6f70e70327460559c5fc08839c1c5199b8c6052e6b7
signature : seicgLdw8rWnHx7j3daqoHRmc2RRWzavjiAPBVE/L8WKUT2ZQqohOe77oeu3u1GTurBFAKShxAdungxeH2VeYJlzQtGdovBkkcnDm8g18aw98TPWa70k74SmxZYQHlAcyoMuyTUKq2ELpyTKLZqpOZS4B05A+xX1XUCnN/eTyROUlhmXVxh0r9jfTkAgw4xIM5JHpqUg5fj/L0qhE5eN15IOMgFaPXrGXX/hjkkaWg8k0I/ewBNCJpzW7lvjZkJcfh0HBMaDh0dM2ChCjWy/pYXgYlHPNZqmDG9FI9rc4Um9oE8+ehzJRaaCly/EkNkfx0xRflmotwHzF/b2htD0VA==
signature_date : 20181115-150141
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,audit_schedule,editor,keywords,licence,homepage,package_uuid,signer,signer_fingerprint,signature_date,signed_attributes

1
vm/WAPT/manifest.sha1 Normal file
View File

@@ -0,0 +1 @@
[["WAPT/certificate.crt", "ec05a54f80016d68bb835490a34a9318f591b06d"], ["WAPT/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["script.bat", "ba816cd73739670a3af19e3d4f89f042295b1d0d"], ["script.exe", "f94568b88b2547a4e5f5bf59eb2c641c1e481c74"], ["setup.py", "6753f79f0fe81a8c0fa1a6a314520c2d2e392f60"], ["WAPT/control", "b141a726e8f31f4dbebcd1ec393308fbf6ab7482"]]

1
vm/WAPT/manifest.sha256 Normal file
View File

@@ -0,0 +1 @@
[["WAPT/certificate.crt", "4587acaa1ada3e531deb130c670c4967a52e64ad30a425c6fd8ae7a17c9fab10"], ["WAPT/wapt.psproj", "795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b"], ["script.bat", "6c94ff30f8315caf0fd43cb129b957e22568ea4bd1f13eca6921e5a533d71dff"], ["script.exe", "6c3269c21d266b8e9a046d83898e3fa25f23f2fe8811d652086b2316eeae30d1"], ["setup.py", "9cd6818852fcb52e6e18d79f604c827dc5a4c5bbd9298b35eec4cfb7e784e2c4"], ["WAPT/control", "006b95bc02c0db4fbb8a85e88693f822d56d2bb55b49f02fa46d0405b183a1a3"]]

5
vm/WAPT/signature Normal file
View File

@@ -0,0 +1,5 @@
ENi1zLc0VwG6J2yUkzRToUCEhLhsdjwUt2+vxKrII6XFep7ujfr0xDSvHRwc0r2l4LOQXe2/3/Ym
XpR5NnAnHIkaHLSwfGBNc2VTTw9Eeo6c4OuS3SvEeyYXnn5bWNR87c154abdyRh9I9y/Kp6qBoep
ODJDQybc94ZLmP0RSoZ83+3/M9u50m8ZtSmb4Jtsv9dVGtFmPv7DHYPlaK8WqcLfw2evj+GR44bc
A3UMn31KhhkClGEuwLTEOPB8drHK12Aa3ydSFzJ/ynzeNYGe0NEM3Pf8YlChljOKVL0J8bHKNPMg
wJUQrCSOnTE9IrVjHuqW+7Tbb0igmXshj5FJFw==

5
vm/WAPT/signature.sha256 Normal file
View File

@@ -0,0 +1,5 @@
Se7AMzDTwARKWPUL2/oYAzmk9c4umF85MUictJemPGepQXclpDAOYlgkVpjPX12yOt5h1YwXTqQj
sVHVcXES3vYOwlAAvCBKG7v/3pk39ufQ3XqNtBhuv0mdWuWl6KvPVpOlbhBAvRs5ojb3F37X7+rE
z+1S49R7hRsURSeWrQG9zrCpAvoLIWex59nsXZ3GWPEvKE/Nykie4zHNZ/i7eoKMad0EOxE/ZFiN
MvCImXb5zfR8NAzryMTQRapxHl6nszw0zspgGaCRkWJRAlnIdvjBCMsqs10DCFP7ZyrgTZW9zGhE
n0whqMV8UiMqy/YGRxp+ViZSqLVrY/YTYs6gJA==

295
vm/WAPT/wapt.psproj Normal file
View File

@@ -0,0 +1,295 @@
[PyScripter]
Version=3.3.2.0
[Project]
ClassName=TProjectRootNode
StoreRelativePaths=TRUE
ShowFileExtensions=FALSE
[Project\ChildNodes\Node0]
ClassName=TProjectFilesNode
[Project\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFolderNode
Name=wapt
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\common.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\setuphelpers.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.ini
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node4]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\waptpackage.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes]
Count=5
[Project\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=$[Project-Path]changelog.txt
[Project\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=$[Project-Path]control
[Project\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=$[Project-Path]..\setup.py
[Project\ChildNodes\Node0\ChildNodes]
Count=4
[Project\ChildNodes\Node1]
ClassName=TProjectRunConfiguationsNode
[Project\ChildNodes\Node1\ChildNodes\Node0]
ClassName=TProjectRunConfiguationNode
Name=install
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=install "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node1]
ClassName=TProjectRunConfiguationNode
Name=remove
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=remove "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node2]
ClassName=TProjectRunConfiguationNode
Name=session-setup
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=session-setup "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node3]
ClassName=TProjectRunConfiguationNode
Name=update
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node4]
ClassName=TProjectRunConfiguationNode
Name=upgrade
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-f upgrade
WorkingDir=$[ActiveScript-Dir]
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node5]
ClassName=TProjectRunConfiguationNode
Name=-i build-upload
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-i build-upload "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node6]
ClassName=TProjectRunConfiguationNode
Name=svn update
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node7]
ClassName=TProjectRunConfiguationNode
Name=uninstall
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=uninstall "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[Project-Path]..
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node8]
ClassName=TProjectRunConfiguationNode
Name=update-package-sources
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update-package-sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node9]
ClassName=TProjectRunConfiguationNode
Name=audit
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=audit "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes]
Count=10
[Project\ChildNodes]
Count=2
[Project\ExtraPythonPath]
Count=0

8
vm/script.bat Normal file
View File

@@ -0,0 +1,8 @@
net use Z:
if %errorlevel% EQU 0 net use Z: /delete
net use z: \\ipdupartage\Partage /user:UTILISATEUR MDP /persistent:no <<<< A modifier
ping 127.0.0.1 -n 6 > nul
rmdir C:\VM
mkdir C:\VM
xcopy /E /y "Z:\VMLachaume" "C:\VM\"
net use z: /delete

BIN
vm/script.exe Normal file

Binary file not shown.

20
vm/setup.py Normal file
View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from setuphelpers import *
import shutil
import os
uninstallkey = []
def install():
print('Suprresion du dossier VM')
if isdir(r'C:\VM'):
remove_tree(r'C:\VM')
print('Copie de la machine virtuelle')
os.mkdir('C:\VM')
run(r'"script.exe"',timeout=600)
def uninstall():
print('Suprresion du dossier VM')
if isdir(r'C:\VM'):
remove_tree(r'C:\VM')