<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Bonjour,<br>
<br>
<br>
je souhaiterais savoir s'il aura une version stable de prevu ou si
elle ne sera pas stabilisé ?<br>
<br>
et je souhaiterais savoir également à partir de quel rc peut on
l’utiliser en prod ?<br>
<br>
<br>
en tout cas c'est un super soft.<br>
<br>
<br>
<div class="moz-cite-prefix">Le 27/11/2015 12:37, Hubert TOUVET a
écrit :<br>
</div>
<blockquote cite="mid:56584063.9060506@tranquil.it" type="cite"><br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
<br>
<br>
<h2>Changes 1.2.3 -> 1.3.4-rc2</h2>
<br>
<h1> </h1>
<br>
<h3><b>Setuphelpers :</b></h3>
<br>
<b> </b>Additional functions :<br>
<br>
<ul>
<br>
<li>local_drives : return list of local drives, with capacity
and<br>
available space </li>
<br>
<li> all_files : list all files of a directory, including files
of<br>
subdirectories (but not the directories themselves)</li>
<br>
<li> create_onetime_task : create a task in windows scheduler<br>
which is run only one time (so is deleted after scheduled
time)</li>
<br>
<li> installed_windows_updates : return list of installed
updates,<br>
indepently from WUA agent</li>
<br>
<li> <a moz-do-not-send="true"
href="http://dev.tranquil.it/sphinxdocs/source/setuphelpers.html#setuphelpers.install_exe_if_needed">install_exe_if_needed</a><br>
: install conditionally an exe setup, checking minimum
version,<br>
uninstall key and force flag (<br>
<br>
</li>
<br>
<li> <a moz-do-not-send="true"
href="http://dev.tranquil.it/sphinxdocs/source/setuphelpers.html#setuphelpers.install_msi_if_needed">install_msi_if_needed</a><br>
: install conditionally an msi, detect uninstall key and add
it<br>
to uninstallkey list of package</li>
<br>
<li> ensure_list : given a list or a string, always return a
list,<br>
or None if allowed. String is considered as a csv list. </li>
<br>
<li> registry_deletekey : Delete the key under specified
registry<br>
path and all its values</li>
<br>
<li> uninstall_key_exists : Return True if supplied uninstall
key<br>
exists eithe rin win32 or win64 part of uninstall registry.</li>
<br>
<li> reg_enum_subkeys : list the sub keys (= sub directories) of<br>
an opened key</li>
<br>
<li> reg_enum_values : list the value names associated with a<br>
registry key (opened with reg_openkey_noredir for example)</li>
<br>
<li> win_startup_info : return list of commands launched at<br>
windows startup in run registry key and common startup folder.</li>
<br>
</ul>
<br>
Changes :<br>
<br>
<ul>
<br>
<li> ensure_unicode : failover with replace for all types of
data</li>
<br>
<li> wgets and wget : can optionnaly verify certificates. and
use<br>
wapt user agent http headers, with no-cache pragma. raise<br>
exception earlier</li>
<br>
</ul>
<br>
<h3><b>Core</b></h3>
<br>
<ul>
<br>
<li>FIX: incorrect uninstallkey if nested call WAPT.install<br>
inside surrounding setup.install. <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://roundup.tranquil.it/wapt/issue605">https://roundup.tranquil.it/wapt/issue605</a><br>
<br>
</li>
<br>
<li>better tolerance to encoding issues.<br>
<br>
</li>
<br>
<li>fix waptserver discovery with SRV dns record </li>
<br>
<li>add optional dnsdomain in wapt-get.ini. <br>
<br>
</li>
<br>
<li>add optional verify_cert option (default to False) for<br>
waptserver access in wapt-get.ini</li>
<br>
<li>forget old host package if computer FQDN is changed</li>
<br>
<li>fix : check that there are no additional files in package<br>
content not checksummed in manifest.sha1 when unzipping</li>
<br>
<li>check systematically that declared uninstallkeys are found
in<br>
registry after package install</li>
<br>
<li>allow session_setup to return a value different than None or<br>
zero to indicate a RETRY at next session logon</li>
<br>
<li>optionally includes packages with status ERROR for<br>
Wapt.is_installed(), WaptDB.installed_search,<br>
WaptDB.installed_matching. CBB : installed_search included<br>
errors by default in previous behaviour.</li>
<br>
</ul>
<br>
<h3><b>Waptconsole</b></h3>
<br>
<ul>
<br>
<li>optionally filter newest only package (latest version) in<br>
waptconsole private repository or when importing from external</li>
<br>
<li> optionally filter newer than local packages in waptconsole<br>
when importing from external</li>
<br>
<li> display size of packages in repository grids</li>
<br>
<li> reorganize settings dialog to focus on most important<br>
parameters</li>
<br>
<li> allow several hosts and packages to be selected when cherry<br>
picking install, remove or forget packages in waptconsole<br>
inventory (cbb, user interface should be improved)</li>
<br>
<li> add wakeonlan feature for hosts running on same network as<br>
main waptserver</li>
<br>
<li> check md5 when downloading packages with waptconsole to
avoid<br>
keeping incomplete or corrupted cached files</li>
<br>
<li> fix redirect from http to https not working in waptconsole</li>
<br>
<li> fix waptserver discovery with SRV dns record not working<br>
properly in waptconsole</li>
<br>
</ul>
<br>
<br>
<br>
<h3><b>Waptservice</b></h3>
<br>
<ul>
<br>
<li>recheck waptserver authorized IP in waptservice if call
failed<br>
with restricted access (so that next call succeeds)</li>
<br>
<li>use create_onetime_task windows scheduler instead of AT<br>
command to trigger a waptservice restart</li>
<br>
<li> better handling when computer often disconnect (sleep) or<br>
change from one network to another network</li>
<br>
</ul>
<br>
<br>
<br>
<h3><b>Waptupgrade</b></h3>
<br>
<ul>
<br>
<li>authenticate systematically the waptagent.exe file with a<br>
sha256 hash inside waptupgrade package or when using
waptdeploy<br>
downloader (requires change in the GPO if gpo is used to
deploy<br>
wapt automatically)</li>
<br>
<li>include waptagent.exe in waptupgrade package per default and<br>
trigger a full waptagent.exe install (through a windows<br>
scheduled task which uses waptdeploy) if upgrading from wapt<br>
< 1.3.0.</li>
<br>
<li>waptdeploy requires now --hash= option. --wait enable<br>
waptdeploy to wait for pending waptservice tasks to terminate<br>
before upgrading wapt.<br>
<br>
</li>
<br>
</ul>
<br>
<h3><b>Wapt-get</b></h3>
<br>
<ul>
<br>
<li> handles waptservice local authentication for wapt-get to<br>
allow install / remove as a non admin user.</li>
<br>
<li> add option to wapt-get --service to force use of http<br>
webservice. default --direct for user members of computer<br>
administrators group</li>
<br>
<li> can pass waptserver user and password to wapt-get command<br>
line for automate package uploading tasks</li>
<br>
<li> guess package rootdir based on path of control in addition
to<br>
setup.py files for development wapt-get tasks like install,<br>
remove, build-upload etc..</li>
<br>
<li> Fix command line parameters handling in wapt-get.exe</li>
<br>
</ul>
<br>
<br>
<br>
<h3><b>Waptserver</b></h3>
<br>
RPM package for waptserver on centos <br>
<br>
use huey task pool in waptserver instead of uwsgi for portability
<br>
<br>
Fix waptserverpostconf not able to restart local waptservice<br>
properly<br>
<br>
<br>
<br>
<h3><b>Global</b></h3>
<br>
python upgraded to 2.7.10<br>
<br>
many libraries upgraded (openssl, m2crypto, flask, psutils,
etc...)<br>
<br>
<h2>Upgrade from 1.2.3<br>
<br>
</h2>
<br>
<b>Linux server upgrade</b><br>
<br>
With a server on Linux : <br>
<br>
ssh on waptserver<br>
<br>
<tt>cd</tt><tt><br>
<br>
</tt><tt>wget <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptrepo-1.3.4.deb">http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptrepo-1.3.4.deb</a></tt><tt><br>
<br>
</tt><tt>wget <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptserver-1.3.4.deb">http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptserver-1.3.4.deb</a></tt><tt><br>
<br>
</tt><tt>wget <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptsetup-1.3.4.deb">http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptsetup-1.3.4.deb</a></tt><tt><br>
<br>
</tt><tt>dpkg -i </tt><tt>tis-wapt*.deb</tt><tt><br>
<br>
</tt><tt>apt-get -f install</tt><tt><br>
<br>
</tt><tt>wapt-serverpostconf</tt><tt><br>
<br>
</tt>-> default answer to all questions. <br>
<br>
<h3>Windows server upgrade</h3>
<br>
Download <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/waptserversetup.exe">http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/waptserversetup.exe</a><br>
<br>
Install with admin rights.<br>
<br>
Launch server postconfiguration (obviously, don't recreate a new
new<br>
private key...)<br>
<br>
Don't create waptagent from waptserverpostconf but use waptconsole<br>
option which provide waptagent and waptupgrade package.<br>
waptserverpostconf creates only the waptagent.<br>
<br>
<h3>Wapt management host upgrade</h3>
<br>
on the wapt manage workstation (where the private key is defined)<br>
<br>
download <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wapt/wapt/waptsetup-tis.exe">http://wapt/wapt/waptsetup-tis.exe</a><br>
from waptserver<br>
<br>
install with default options<br>
<br>
<h4> Build clients upgrade package</h4>
<br>
<b> </b>launch c:\wapt\waptconsole <br>
<br>
tools/Build waptagent<br>
<br>
-> build the waptagent.exe and xxx-waptupgrade.wapt package
and<br>
uplaod them to wapt server.<br>
<br>
<br>
<br>
include the built xxx-waptupgrade package in your base group
package<br>
or as a dependency of all host packages<br>
<br>
trigger upgrade on hosts<br>
<br>
<h4> <b>GPO update</b></h4>
<br>
<b> </b>copy waptdeploy.exe to the gp<br>
<br>
modify your waptdeploy GPO to include --hash= with the hash
defined<br>
in c:\wapt\waptupgrade\waptagent.sha256 and a --wait=15 for
example.<br>
<br>
\\srvads\netlogon\waptdeploy.exe<br>
--hash=5b5988012033e534b5352050bff7dece4840456225787b39dc1d00dfb9e75cd8<br>
<br>
(you can get this on linux too with the command "<tt>sha256sum<br>
/var/www/wapt/waptagent.exe</tt>" )<br>
<br>
<h3>Pyscripter development / debug<br>
<br>
</h3>
<br>
The tis-python27 package no longer includes all the libraries of<br>
Wapt.<br>
<br>
So you need to add a site-package dir to python init of Pyscripter<br>
to be able to debug using Pyscripter.<br>
<br>
(see<a moz-do-not-send="true"
href="http://dev.tranquil.it/wiki/WAPT_-_Mise_en_place_de_l%27environnement_de_d%C3%A9veloppement"><br>
</a><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://dev.tranquil.it/wiki/WAPT_-_Mise_en_place_de_l%27environnement_de_d%C3%A9veloppement">http://dev.tranquil.it/wiki/WAPT_-_Mise_en_place_de_l%27environnement_de_d%C3%A9veloppement</a>)<br>
<br>
<p style="box-sizing: border-box; margin: 0px 0px 10px;
color:<br> rgb(51, 51, 51); font-family: 'Helvetica Neue',
Helvetica, Arial,<br> sans-serif; font-size: 14px;
font-style: normal; font-variant:<br> normal; font-weight:
normal; letter-spacing: normal; line-height:<br> 20px;
orphans: auto; text-align: start; text-indent: 0px;<br>
text-transform: none; white-space: normal; widows: 1;<br>
word-spacing: 0px; -webkit-text-stroke-width: 0px;<br>
background-color: rgb(255, 255, 255);">In PyScripter, Option
Tools<br>
/ Edit startup scripts, update file<span
class="Apple-converted-space"> </span><b
style="box-sizing:<br> border-box; font-weight: bold;">python_init.py</b>
with lines :<br>
<br>
</p>
<br>
<pre style="box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 13px; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(245, 245, 245);">import site
site.addsitedir('c:/wapt/lib/site-packages')
</pre>
<br>
<br class="Apple-interchange-newline">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
<br>
<br>
</blockquote>
<br>
<br>
</body>
</html>