Skip to content

Commit 411847f

Browse files
authored
Merge pull request #150 from lipkau/ci/MoveToVSTS
Ci/move to vsts
2 parents 3a73911 + c42e8fe commit 411847f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2090
-1101
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = crlf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1+
# Set merge behavior for the changelog
2+
CHANGELOG.md merge=union
3+
14
# Set default behaviour, in case users don't have core.autocrlf set.
25
* text=auto
36

4-
# Explicitly declare text files we want to always be normalized and converted
5-
# to native line endings on checkout.
6-
*.md text
7-
*.gitattributes text
8-
9-
# Declare files that will always have CRLF line endings on checkout.
10-
*.ps1 text eol=crlf
11-
*.psm1 text eol=crlf
12-
*.psd1 text eol=crlf
13-
*.psc1 text eol=crlf
14-
*.ps1xml text eol=crlf
15-
*.clixml text eol=crlf
16-
*.xml text eol=crlf
17-
*.txt text eol=crlf
7+
# Explicitly declare text files we want to always be normalized.
8+
*.md text eol=crlf
9+
*.gitattributes text eol=crlf
10+
*.gitignore text eol=crlf
11+
*.ps1 text eol=crlf
12+
*.psm1 text eol=crlf
13+
*.psd1 text eol=crlf
14+
*.psc1 text eol=crlf
15+
*.ps1xml text eol=crlf
16+
*.clixml text eol=crlf
17+
*.cs text eol=crlf
18+
*.xml text eol=crlf
19+
*.yml text eol=crlf
20+
*.txt text eol=crlf
21+
*.json text eol=crlf
1822

1923
# Denote all files that are truly binary and should not be mergeable.
2024
*.dll binary
21-
*.exe binary
25+
*.exe binary

.github/CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
# Contributing to AtlassianPS Homepage
1+
# Contributing to ConfluencePS
22

33
Happy to see you are interested in helping.
44

5-
We have a comprehensive documentation on how to contribute here: **[Contributing to AtlassianPS](https://atlassianps.org/docs/contributing/)**.
5+
We have a comprehensive documentation on how to contribute here: **[Contributing to AtlassianPS](https://atlassianps.org/docs/Contributing/)**.
66

77
But here is the gist of it once you have forked the repository:
88

9-
* before changing the code
9+
* before changing the code
10+
1011
```powershell
1112
git clone https://github.com/<YOUR GITHUB USER>/ConfluencePS
1213
cd ConfluencePS
13-
# git checkout develop # not applicable for this repository
14+
git checkout develop
1415
git checkout -b <NAME FOR YOUR FEATURE>
1516
code .
1617
```
1718

18-
* after making the changes
19+
* after making the changes
20+
1921
```powershell
2022
git add .
2123
git commit -m "<A MESSAGE ABOUT THE CHANGES>"
2224
git push
2325
```
2426

25-
* [Creating a Pull Request](https://help.github.com/articles/creating-a-pull-request/)
27+
* [create a Pull Request](https://help.github.com/articles/creating-a-pull-request/)

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
<!-- markdownlint-disable MD002 -->
6+
<!-- markdownlint-disable MD041 -->
7+
8+
## Description
9+
10+
<!-- A clear and concise description of what the bug is. -->
11+
12+
## Steps To Reproduce
13+
14+
<!-- Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant -->
15+
16+
1. Go to '...'
17+
2. Click on '....'
18+
3. Scroll down to '....'
19+
4. See error
20+
21+
## Expected behavior
22+
23+
<!-- A clear and concise description of what you expected to happen. -->
24+
25+
## Screenshots
26+
27+
<!-- If applicable, add screenshots to help explain your problem. -->
28+
29+
## Your Environment
30+
31+
<!-- Include as many relevant details about the environment you experienced the bug in -->
32+
<!-- The following code snip is a recommendation. You can just paste the output here. -->
33+
34+
> ```powershell
35+
> Get-Module AtlassianPS.Configuration -ListAvailable | Select Name, Version
36+
> $PSVersionTable
37+
> ```
38+
39+
## Possible Solution
40+
41+
<!-- Not obligatory, but suggest a fix/reason for the bug -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
<!-- markdownlint-disable MD002 -->
6+
<!-- markdownlint-disable MD041 -->
7+
8+
## Context
9+
10+
> **Is your feature request related to a problem? Please describe.**
11+
12+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
13+
14+
## Description
15+
16+
> **Describe the solution you'd like**
17+
18+
<!-- A clear and concise description of what you want to happen. -->
19+
20+
## Additional Information
21+
22+
<!-- Add any other context or screenshots about the feature request here. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
1+
<!-- markdownlint-disable MD002 -->
2+
<!-- markdownlint-disable MD041 -->
13
<!-- Provide a general summary of your changes in the Title above -->
24

35
### Description
6+
47
<!-- Describe your changes in detail -->
58

69
### Motivation and Context
10+
711
<!-- Why is this change required? What problem does it solve? -->
812
<!-- If it fixes an open issue, please link to the issue here as follows: -->
913
<!-- closes #1, closes #2, ... -->
1014

1115
### Types of changes
16+
1217
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
18+
1319
- [ ] Bug fix (non-breaking change which fixes an issue)
1420
- [ ] New feature (non-breaking change which adds functionality)
1521
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
1622

17-
### Checklist:
23+
### Checklist
24+
1825
<!-- Go over all the following points, and put an `x` in all the boxes that apply. -->
1926
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
27+
2028
- [ ] My code follows the code style of this project.
2129
- [ ] I have added Pester Tests that describe what my changes should do.
2230
- [ ] I have updated the documentation accordingly.

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
# except for git files
44
!.gitattributes
55
!.gitignore
6+
!.editorconfig
7+
!.spelling
68
!.github/
79
!.vscode/
810
!.travis.yml
911

1012
# Ignore Release directory generated by local builds
1113
Release/
12-
Tools/
1314
ConfluencePS/en-US/
14-
TestResult.xml
15-
!Tools/*.ps1
16-
!Tools/*.msi
15+
Test*.xml
1716

1817
#######
1918
# Excerpts from https://www.gitignore.io

.spelling

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// AtlassianPS
2+
Atlassian
3+
Atlassian's
4+
Jira
5+
6+
// Module specific
7+
hoth
8+
skywalker
9+
trashable
10+
11+
// Powershell
12+
pwsh
13+
cmdlet
14+
cmdlets
15+
recurse
16+
hashtable
17+
posh
18+
19+
// General
20+
captcha
21+
prepended
22+
multipart
23+
24+
// Person/Username
25+
lipkau
26+
bunke
27+
brianbunke
28+
thomykay
29+
juneb
30+
alexsuslin
31+
axxel
32+
beaudryj
33+
clijsters
34+
colhal
35+
dejulia489
36+
ebekker
37+
jkknorr
38+
kittholland
39+
liam
40+
leane
41+
lukhase
42+
padgers
43+
JohnAdders
44+
45+
// misc
46+
markdownlint
47+
veyor

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"ms-vscode.PowerShell",
6+
"DavidAnson.vscode-markdownlint",
7+
"streetsidesoftware.code-spell-checker"
8+
]
9+
}

.vscode/settings.json

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,48 @@
44
"files.encoding": "utf8",
55
"files.insertFinalNewline": true,
66
"files.trimTrailingWhitespace": true,
7-
"files.defaultLanguage": "powershell",
7+
88
"editor.tabSize": 4,
99
"editor.insertSpaces": true,
10-
"search.exclude": {
11-
"./Release": true
12-
},
13-
"files.watcherExclude": {
14-
"./Release": true
15-
},
10+
11+
// https://en.wikipedia.org/wiki/Indentation_style#Styles
12+
"powershell.codeFormatting.preset": "Stroustrup",
1613
"powershell.codeFormatting.ignoreOneLineBlock": true,
17-
"powershell.codeFormatting.openBraceOnSameLine": true,
18-
"powershell.codeFormatting.newLineAfterOpenBrace": false,
19-
"powershell.codeFormatting.newLineAfterCloseBrace": true,
20-
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
21-
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
22-
"powershell.codeFormatting.whitespaceAroundOperator": true,
23-
"powershell.codeFormatting.whitespaceAfterSeparator": true,
2414
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1",
15+
2516
"[markdown]": {
2617
"editor.tabSize": 2,
27-
"editor.wordWrap": "on",
28-
"editor.renderWhitespace": "all",
29-
"editor.acceptSuggestionOnEnter": "off",
30-
"editor.trimAutoWhitespace": false
18+
"editor.trimAutoWhitespace": false,
19+
"files.trimTrailingWhitespace": false
3120
},
3221
"[yaml]": {
3322
"editor.tabSize": 2
34-
}
23+
},
24+
25+
"markdownlint.config": {
26+
"MD009": false,
27+
"MD024": false,
28+
"MD025": false,
29+
"MD028": false
30+
},
31+
"cSpell.dictionaryDefinitions": [{
32+
"name": "customDictionary",
33+
"path": "./.spelling"
34+
}],
35+
"cSpell.dictionaries": [
36+
"customDictionary"
37+
],
38+
"cSpell.language": "en"
39+
40+
// Recomendations for "USER SETTINGS":
41+
// "editor.formatOnType": true,
42+
// "editor.formatOnPaste": true,
43+
// "[markdown]": {
44+
// "editor.wordWrap": "on",
45+
// "editor.renderWhitespace": "boundary",
46+
// "editor.acceptSuggestionOnEnter": "off"
47+
// },
48+
// "search.exclude": {
49+
// "./Release": true
50+
// }
3551
}

0 commit comments

Comments
 (0)