<commit_before>rem 
rem bin\test-box-vcloud.bat sles11sp3_vcloud.box sles11sp3

set quick=0

if "%1x"=="--quickx" (
  shift
  set quick=1
)
set box_path=%1
set box_name=%2
set box_provider=vcloud
set vagrant_provider=vcloud
set test_src_path=../test/*_spec.rb

set result=0

set tmp_path=boxtest
if exist %tmp_path% rmdir /s /q %tmp_path%

if %quick%==1 goto :do_test


rem tested only with box-provider=vcloud
vagrant plugin install vagrant-%box_provider%
vagrant plugin install vagrant-serverspec

vagrant box remove %box_name% --provider=%box_provider%
vagrant box add %box_name% %box_path%
if ERRORLEVEL 1 set result=%ERRORLEVEL%
if ERRORLEVEL 1 goto :done

@set vcloud_hostname=YOUR-VCLOUD-HOSTNAME
@set vcloud_username=YOUR-VCLOUD-USERNAME
@set vcloud_password=<PASSWORD>
@set vcloud_org=YOUR-VCLOUD-ORG
@set vcloud_catalog=YOUR-VCLOUD-CATALOG
@set vcloud_vdc=YOUR-VCLOUD-VDC
<commit_msg>Deploy Vagrantfile-global from rsynced folder on demand<commit_after>rem 
rem bin\test-box-vcloud.bat sles11sp3_vcloud.box sles11sp3

set quick=0

if "%1x"=="--quickx" (
  shift
  set quick=1
)
set box_path=%1
set box_name=%2
set box_provider=vcloud
set vagrant_provider=vcloud
set test_src_path=../test/*_spec.rb

set result=0

set tmp_path=boxtest
if exist %tmp_path% rmdir /s /q %tmp_path%

if %quick%==1 goto :do_test

if exist C:\Users\vagrant\.vagrant.d\Vagrantfile goto :have_vagrantfile
if exist C:\vagrant\resources\Vagrantfile-global (
  copy C:\vagrant\resources\Vagrantfile-global C:\Users\vagrant\.vagrant.d\Vagrantfile
)
:have_vagrantfile

rem tested only with box-provider=vcloud
vagrant plugin install vagrant-%box_provider%
vagrant plugin install vagrant-serverspec

vagrant box remove %box_name% --provider=%box_provider%
vagrant box add %box_name% %box_path%
if ERRORLEVEL 1 set result=%ERRORLEVEL%
if ERRORLEVEL 1 goto :done

@set vcloud_hostname=YOUR-VCLOUD-HOSTNAME
@set vcloud_username=YOUR-VCLOUD-USERNAME
@set vcloud_password=<PASSWORD>
@set vcloud_org=YOUR-VCLOUD-ORG
@set vcloud_catalog=YOUR-VCLOUD-CATALOG
@set vcloud_vdc=YOUR-VCLOUD-VDC

{'fraction_non_alphanumeric': 0.10339805825242719, 'fraction_numerical': 0.014563106796116505, 'mean_word_length': 5.916107382550336, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5359567', 'n_tokens_mistral': 839, 'n_tokens_neox': 827, 'n_words': 182}