Skip to content

Commit 6a2c7b0

Browse files
authored
pre-commit: enable markdownlint rule MD012 (#9364)
MD012 no-multiple-blanks - Multiple consecutive blank lines https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md
1 parent 631bba2 commit 6a2c7b0

File tree

14 files changed

+0
-45
lines changed

14 files changed

+0
-45
lines changed

.github/linters/.markdown-lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ MD009: false
3333
# MD010/no-hard-tabs Hard tabs
3434
MD010: false
3535

36-
# MD012/no-multiple-blanks Multiple consecutive blank lines
37-
MD012: false
38-
3936
# MD013/line-length Line length
4037
MD013: false
4138

CHANGES.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ Bug ID | Description
242242
[CLOUDSTACK-7722](https://issues.apache.org/jira/browse/CLOUDSTACK-7722) | add.label: Add button for tags show the label not "Add" text...
243243
[CLOUDSTACK-7246](https://issues.apache.org/jira/browse/CLOUDSTACK-7246) | VM deployment failed due to wrong in script name createipalias.sh...
244244

245-
246245
Version 4.4.1
247246
-------------
248247

@@ -276,7 +275,6 @@ Bug ID | Description
276275
[CLOUDSTACK-1632](https://issues.apache.org/jira/browse/CLOUDSTACK-1632) | Mistakes in authorizeSecurityGroup* API docs...
277276
[CLOUDSTACK-401](https://issues.apache.org/jira/browse/CLOUDSTACK-401) | Storage options missing from table...
278277

279-
280278
Version 4.4.0
281279
-------------
282280

@@ -930,7 +928,6 @@ Security Fixes:
930928

931929
* CVE-2012-4501: Apache CloudStack configuration vulnerability
932930

933-
934931
Version 4.0.2
935932
------------------------
936933

@@ -979,7 +976,6 @@ Issues fixed in this release:
979976
* CLOUDSTACK-2090: Upgrade from version 4.0.1 to version 4.0.2 triggers the 4.0.0 to 4.0.1.
980977
* CLOUDSTACK-2091: Error in API documentation for 4.0.x.
981978

982-
983979
Version 4.0.1-incubating
984980
------------------------
985981

@@ -1023,7 +1019,6 @@ Bugs fixed in this release:
10231019
* CLOUDSTACK-961: Installation docs don't detail dependencies for building RPMs
10241020
* CLOUDSTACK-995: Not able to add the KVM host
10251021

1026-
10271022
Version 4.0.0-incubating
10281023
------------------------
10291024

@@ -1056,7 +1051,6 @@ Security Fixes:
10561051

10571052
* CVE-2012-4501: Apache CloudStack configuration vulnerability
10581053

1059-
10601054
Updating this file
10611055
------------------
10621056

CONTRIBUTING.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ $ git fetch upstream
5151
$ git rebase upstream/main
5252
```
5353

54-
5554
Making changes
5655
--------------
5756

58-
5957
It is important that you create a new branch to make changes on and that you do not change the `main` branch (other than to rebase in changes from `upstream/main`). In this example I will assume you will be making your changes to a branch called `feature_x`. This `feature_x` branch will be created on your local repository and will be pushed to your forked repository on GitHub. Once this branch is on your fork you will create a Pull Request for the changes to be added to the ACS project.
6058

6159
It is best practice to create a new branch each time you want to contribute to the project and only track the changes for that pull request in this branch.
@@ -70,7 +68,6 @@ $ git commit -a -m "descriptive commit message for your changes"
7068

7169
> The `-b` specifies that you want to create a new branch called `feature_x`. You only specify `-b` the first time you checkout because you are creating a new branch. Once the `feature_x` branch exists, you can later switch to it with only `git checkout feature_x`.
7270
73-
7471
Rebase `feature_x` to include updates from `upstream/main`
7572
------------------------------------------------------------
7673

@@ -92,7 +89,6 @@ $ git rebase main
9289

9390
> Now your `feature_x` branch is up-to-date with all the code in `upstream/main`.
9491
95-
9692
Make a GitHub Pull Request to contribute your changes
9793
-----------------------------------------------------
9894

@@ -118,7 +114,6 @@ To initiate the pull request, do the following:
118114

119115
If you are requested to make modifications to your proposed changes, make the changes locally on your `feature_x` branch, re-push the `feature_x` branch to your fork. The existing pull request should automatically pick up the change and update accordingly.
120116

121-
122117
Cleaning up after a successful pull request
123118
-------------------------------------------
124119

ISSUE_TEMPLATE.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,14 @@ New line separated list of affected versions, commit ID for issues on main branc
3535
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
3636
-->
3737

38-
3938
##### OS / ENVIRONMENT
4039
<!--
4140
Information about the environment if relevant, N/A otherwise
4241
-->
4342

44-
4543
##### SUMMARY
4644
<!-- Explain the problem/feature briefly -->
4745

48-
4946
##### STEPS TO REPRODUCE
5047
<!--
5148
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.

PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ This PR...
4040
- [ ] Minor
4141
- [ ] Trivial
4242

43-
4443
### Screenshots (if appropriate):
4544

46-
4745
### How Has This Been Tested?
4846

4947
<!-- Please describe in detail how you tested your changes. -->
@@ -53,5 +51,4 @@ This PR...
5351

5452
<!-- see how your change affects other areas of the code, etc. -->
5553

56-
5754
<!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document -->

plugins/storage/volume/storpool/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Secondary storage stores the following:
1111
* ISO images — disc images containing data or bootable media for operating systems
1212
* Disk volume snapshots — saved copies of VM data which can be used for data recovery or to create new templates
1313

14-
1514
### ROOT and DATA volumes
1615

1716
ROOT volumes correspond to the boot disk of a VM. They are created automatically by CloudStack during VM creation.
@@ -21,7 +20,6 @@ is based on. We may change the ROOT volume disk offering but only to another sys
2120
DATA volumes correspond to additional disks. These can be created by users and then attached/detached to VMs.
2221
DATA volumes are created based on a user-defined disk offering.
2322

24-
2523
## Plugin Organization
2624

2725
The StorPool plugin consists of two parts:
@@ -49,7 +47,6 @@ that does pretty much the same.
4947
Note that for the present the StorPool plugin may only be used for a single primary storage cluster; support for
5048
multiple clusters is planned.
5149

52-
5350
## Build, Install, Setup
5451

5552
### Build
@@ -122,7 +119,6 @@ SP_TEMPLATE - name of StorPool's template
122119
Storage Tags: If left blank, the StorPool storage plugin will use the pool name to create a corresponding storage tag.
123120
This storage tag may be used later, when defining service or disk offerings.
124121

125-
126122
## Plugin Functionality
127123

128124
<table cellpadding="5">
@@ -361,7 +357,6 @@ Users who were using the offerings to change the StorPool template via the `SP_T
361357
- `resizeVolume` API call for DATA disk
362358
- `scaleVirtualMachine` API call for ROOT disk
363359

364-
365360
If the disk offering has both `SP_TEMPLATE` and `SP_QOSCLASS` defined, the `SP_QOSCLASS` detail will be prioritised, setting the volume’s QoS using the respective ‘qc’ tag value. In case the QoS for a volume is changed manually, the ‘storpool_qos’ service will automatically reset the QoS limits following the ‘qc’ tag value once per minute.
366361

367362
<h4>Usage</h4>
@@ -374,7 +369,6 @@ Add disk offering detail with API call in CloudStack CLI.
374369

375370
add resourcedetail resourcetype=diskoffering resourceid=$UUID details[0].key=SP_QOSCLASS details[0].value=$Tier Name
376371

377-
378372
Creating VM with QoS
379373

380374
Deploy virtual machine: Go to Compute> Instances> Add Instances.

tools/devcloud4/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,11 @@ The included VagrantFile will give you:
7171
7272
#### For Advanced Networking you will need:
7373
74-
75-
7674
##### vboxnet1
7775
- IPv4 IP address of 192.168.23.1
7876
- Subnet of 255.255.255.0
7977
- DHCP server disabled
8078
81-
82-
8379
##### vboxnet2
8480
- IPv4 IP address of 192.168.24.1
8581
- Subnet of 255.255.255.0

tools/devcloud4/advanced/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
- Subnet of 255.255.255.0
2222
- DHCP server disabled
2323

24-
2524
### Start the vagrant boxes
2625

2726
```bash
@@ -33,7 +32,6 @@ vagrant up
3332
- 'Cannot forward the specified ports on this VM': There could be MySQL or some other
3433
service running on the host OS causing vagrant to fail setting up local port forwarding.
3534

36-
3735
### Start Cloudstack
3836

3937
1. Clone the Cloudstack Repository:

tools/devcloud4/basic/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
- Subnet of 255.255.255.0
1212
- DHCP server disabled
1313

14-
1514
### Start the vagrant boxes
1615

1716
```bash
@@ -23,7 +22,6 @@ vagrant up
2322
- 'Cannot forward the specified ports on this VM': There could be MySQL or some other
2423
service running on the host OS causing vagrant to fail setting up local port forwarding.
2524

26-
2725
### Start Cloudstack
2826

2927
1. Clone the Cloudstack Repository:

tools/docker/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
Dockerfiles used to build CloudStack images are available on Docker hub.
44

5-
65
## Using images from docker-hub
76

8-
97
### CloudStack Simulator
108

119
CloudStack Simulator is an all in one CloudStack Build including the simulator that mimic Hypervisor. This is useful to test CloudStack API behavior without having to deploy real hypervisor nodes. CloudStack Simulator is used for tests and CI.
@@ -90,7 +88,6 @@ docker run -ti --rm --link simulator:8096 \
9088

9189
Image provided by CloudStack are automatically built by Jenkins performing following tasks:
9290

93-
9491
### CentOS 6
9592

9693
CentOS 6 image use RPM's from jenkins.buildacloud.org
@@ -114,7 +111,6 @@ tag:latest = main branch
114111
docker commit -m "init system.iso" -a "Apache CloudStack" cloudstack cloudstack/management_centos6
115112
```
116113

117-
118114
### Marvin
119115

120116
Build Marvin container usable to deploy cloud in the CloudStack management server container.

0 commit comments

Comments
 (0)