This is an automated email from the ASF dual-hosted git repository.
bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 468d949 GEODE-6165: Fix rat errors (#421)
468d949 is described below
commit 468d9492b81ffea80479ff385d1cec6c78a0a047
Author: Blake Bender <[email protected]>
AuthorDate: Mon Dec 17 08:44:54 2018 -0800
GEODE-6165: Fix rat errors (#421)
- Doxygen Powershell scripts were missing license headers
---
packer/windows/install-doxygen.ps1 | 17 ++++++++++++++++-
packer/windows/uninstall-doxygen.ps1 | 19 ++++++++++++++++++-
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/packer/windows/install-doxygen.ps1
b/packer/windows/install-doxygen.ps1
index c5c8897..c8e32c0 100644
--- a/packer/windows/install-doxygen.ps1
+++ b/packer/windows/install-doxygen.ps1
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
$package = 'doxygen.install'
$url = 'http://doxygen.nl/files/doxygen-1.8.14-setup.exe'
$sha256 = '7B1A361E0C94ADB35EB75EEE069223E7AE19A4444C5B87F65539F7951BF96025'
@@ -8,4 +23,4 @@ Install-ChocolateyPackage $package 'exe' '/VERYSILENT' $url
-Checksum $sha256 -C
$oldpath = (Get-ItemProperty -Path
'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Environment' -Name PATH).path
$newpath = "$oldpath;C:\Program Files\doxygen\bin"
Set-ItemProperty -Path
'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Environment' -Name PATH -Value $newPath
-$ENV:PATH=$newpath
\ No newline at end of file
+$ENV:PATH=$newpath
diff --git a/packer/windows/uninstall-doxygen.ps1
b/packer/windows/uninstall-doxygen.ps1
index 27bdab0..467d5f1 100644
--- a/packer/windows/uninstall-doxygen.ps1
+++ b/packer/windows/uninstall-doxygen.ps1
@@ -1,6 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Enable the system password to be retrieved from the AWS Console after this
AMI is built and used to launch code
+
$package = 'doxygen.install'
$uninstallRegKey =
'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\doxygen_is1'
Import-Module C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1
$uninstallPath = (Get-ItemProperty $uninstallRegKey
UninstallString).UninstallString
-Uninstall-ChocolateyPackage $package 'exe' '/VERYSILENT' $uninstallPath
\ No newline at end of file
+Uninstall-ChocolateyPackage $package 'exe' '/VERYSILENT' $uninstallPath
+