pre-commit: remove trailing-whitespace from more file types (#10131)

This commit is contained in:
John Bampton 2024-12-31 19:25:24 +10:00 committed by GitHub
parent 57867dc6b0
commit 0b66f5a86a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 69 additions and 69 deletions

4
.gitignore vendored
View File

@ -5,9 +5,9 @@
# 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

View File

@ -59,7 +59,7 @@ repos:
- id: mixed-line-ending
exclude: \.(cs|xml)$
- id: trailing-whitespace
files: \.(header|in|java|md|properties|py|rb|sh|sql|txt|vue|xml|yaml|yml)$
files: \.(bat|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
args: [--markdown-linebreak-ext=md]
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
- repo: https://github.com/codespell-project/codespell

View File

@ -103,7 +103,7 @@ $ git push origin main
$ git push origin feature_x
```
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request.
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request.
To initiate the pull request, do the following:

View File

@ -5,9 +5,9 @@
# 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

View File

@ -5,9 +5,9 @@
# 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

View File

@ -5,9 +5,9 @@ rem regarding copyright ownership. The ASF licenses this file
rem to you under the Apache License, Version 2.0 (the
rem "License"); you may not use this file except in compliance
rem with the License. You may obtain a copy of the License at
rem
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem
rem Unless required by applicable law or agreed to in writing,
rem software distributed under the License is distributed on an
rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@ -15,10 +15,10 @@ rem KIND, either express or implied. See the License for the
rem specific language governing permissions and limitations
rem under the License.
rem
rem
rem Configure and start RDP service. Run this script on RDP server.
rem
rem
rem Turn off firewall
netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes

View File

@ -15,20 +15,20 @@ rem KIND, either express or implied. See the License for the
rem specific language governing permissions and limitations
rem under the License.
rem
rem
rem Configure and start RDP service.
rem Configure RPD service to use custom key instead of autogenerated for Wireshark and Network Monitor Decrypt Expert.
rem rdp.pfx is necessary because it fingerprints are hardcoded in this script.
rem
rem
rem Turn off firewall
netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
rem Enable TS connections
rem
rem
rem Windows Registry Editor Version 5.00
rem
rem
rem [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
rem "AllowTSConnections"=dword:00000001
rem "fDenyTSConnections"=dword:00000000
@ -57,7 +57,7 @@ certutil -p test -importPFX "Remote Desktop" rdp.pfx
rem Configure RDP server to use certificate:
rem Windows Registry Editor Version 5.00
rem
rem
rem [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
rem "SSLCertificateSHA1Hash"=hex:c1,70,84,70,bc,56,42,0a,bb,f4,35,35,ba,a6,09,b0,4e,98,4a,47
reg add "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v "SSLCertificateSHA1Hash" /t REG_HEX /d "" /f
@ -73,13 +73,13 @@ rem certutil -store -v My
certutil -store -v "Remote Desktop"
rem Disable TLS 1.1 (for Network Monitor Decrypt Expert)
rem
rem
rem Windows Registry Editor Version 5.00
rem
rem
rem [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
rem "Enabled"=dword:00000000
rem "DisabledByDefault"=dword:00000001
rem
rem
rem [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
rem "Enabled"=dword:00000000
rem "DisabledByDefault"=dword:00000001
@ -91,13 +91,13 @@ reg add "HKLM\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protoc
rem Disable TLS 1.2 (for Network Monitor Decrypt Expert)
rem
rem
rem Windows Registry Editor Version 5.00
rem
rem
rem [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
rem "Enabled"=dword:00000000
rem "DisabledByDefault"=dword:00000001
rem
rem
rem [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
rem "Enabled"=dword:00000000
rem "DisabledByDefault"=dword:00000001
@ -135,4 +135,4 @@ rem dism /online /enable-feature /featurename:NetFx3
rem PS.
rem Don't forget to set Windows profile as active in Network Monitor, so SSL traffic branch will appear under
rem svnchost.exe, so you will be able to decrypt it (don't forget to save and reopen captured traffic to file first).
rem
rem

View File

@ -5,9 +5,9 @@ rem regarding copyright ownership. The ASF licenses this file
rem to you under the Apache License, Version 2.0 (the
rem "License"); you may not use this file except in compliance
rem with the License. You may obtain a copy of the License at
rem
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem
rem Unless required by applicable law or agreed to in writing,
rem software distributed under the License is distributed on an
rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

View File

@ -36,17 +36,17 @@ version="1.0">
<div class="uppermenu_box"><!-- #BeginLibraryItem "/libraries/uppermenu.lbi" -->
<div class="uppermenu">
<a href="libraries/learn_download.html">Downloads</a> | <a href="libraries/company_news.html">News</a> | <a href="#">Contact Us</a>
<a href="libraries/learn_download.html">Downloads</a> | <a href="libraries/company_news.html">News</a> | <a href="#">Contact Us</a>
</div><!-- #EndLibraryItem --></div>
</div>
<div id="main_controller">
<div id="inside_header">
<div class="header_top">
<a class="cloud_logo" href="index.html"></a>
<div class="mainemenu_panel">
</div>
</div>
<div class="insideheader_bot">
@ -62,11 +62,11 @@ version="1.0">
<div class="insheader_buttonshadow"></div>
</div>
</div>
</div>
<div id="main_content">
<div class="inside_apileftpanel">
<div class="inside_contentpanel" style="width:930px;">
<div class="api_titlebox">
@ -77,12 +77,12 @@ version="1.0">
</xsl:for-each>
</div>
<div class="api_titlebox_right">
<a class="api_backbutton" href="#"></a>
</div>
</div>
<div class="api_tablepanel">
<div class="api_tablepanel">
<h2>Request parameters</h2>
<table class="apitable">
<tr class="hed">
@ -101,16 +101,16 @@ version="1.0">
</xsl:for-each>
</table>
</div>
<div class="api_tablepanel">
<div class="api_tablepanel">
<h2>Response Tags</h2>
<table class="apitable">
<tr class="hed">
<td style="width:200px;"><strong>Response Name</strong></td>
<td style="width:500px;">Description</td>
</tr>
<xsl:for-each select="command/command/response/arg">
<tr>
<td style="width:200px;"><strong><xsl:value-of select="name"/></strong></td>
@ -125,24 +125,24 @@ version="1.0">
<td style="width:200px;"><strong><xsl:value-of select="name"/></strong></td>
<td style="width:500px;"><xsl:value-of select="description"/></td>
</tr>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
</div>
</div>
</div>
</div>
</div>
</div><!-- #BeginLibraryItem "/libraries/footer.lbi" -->
<div id="footer">
@ -169,7 +169,7 @@ version="1.0">
<li> <a href="#"> Blog</a> </li>
<li> <a href="#"> Contacts</a> </li>
</ul>
<ul class="footer_linksbox">
<li><strong> Site Info </strong> </li>

View File

@ -16,11 +16,11 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">

View File

@ -35,20 +35,20 @@ version="1.0">
<div class="uppermenu_panel">
<div class="uppermenu_box"></div>
</div>
<div id="main_controller">
<div id="inside_header">
<div class="header_top">
<a class="cloud_logo" href="http://cloudstack.org"></a>
<div class="mainemenu_panel">
</div>
</div>
</div>
<div id="main_content">
<div class="inside_apileftpanel">
<div class="inside_contentpanel" style="width:930px;">
<h1>Apache CloudStack API Documentation (%ACS_RELEASE%)</h1>
@ -60,7 +60,7 @@ version="1.0">
<a href="http://docs.cloudstack.apache.org/en/latest/dev.html">Developer's Guide</a>.</p>
</div>
</div>
<div class="api_leftsections">
<h3>%API_HEADER%</h3>
<span>Commands available through the developer API URL and the integration API URL.</span>

View File

@ -7,9 +7,9 @@
* 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
@ -66,7 +66,7 @@ body{
float:right;
margin:0;
padding:0;
}
.uppermenu {
@ -89,7 +89,7 @@ body{
text-align:left;
text-decoration:none;
margin:0 5px 0 5px;
}
.uppermenu a:visited {
@ -100,7 +100,7 @@ body{
text-align:left;
text-decoration:none;
margin:0 5px 0 5px;
}
.uppermenu a:hover {
@ -111,7 +111,7 @@ body{
text-align:left;
text-decoration:none;
margin:0 5px 0 5px;
}
@ -346,7 +346,7 @@ a.cloud_logo {
font-size:18px;
margin:10px 0 0 0;
padding:0;
}
}
.main_homecontent_right {
width:311px;
height:auto;

View File

@ -1,4 +1,4 @@
/*
/*
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