Skip to content

Commit f2ecb16

Browse files
authored
Merge pull request #46 from InnerSourceCommons/add-vale
Adding vale spell and style checking
2 parents 31fec7f + 3de871e commit f2ecb16

File tree

15 files changed

+75
-23
lines changed

15 files changed

+75
-23
lines changed

.github/vale/Vocab/Base/accept.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
omnichannel
2+
OSSWatch
3+
toolchain
4+
archivable
5+
6+
# people
7+
Jono
8+
Bacon
9+
Karl
10+
Fogel
11+
12+
# orgs
13+
Mattermost
14+
Atlasian
15+
Universidad
16+
Rey

.github/vale/Vocab/Base/reject.txt

Whitespace-only changes.

.github/workflows/vale.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Spelling & Styles
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**.md'
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
vale:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Vale Linting
21+
uses: errata-ai/vale-action@reviewdog
22+
with:
23+
files: '["introduction/", "infrastructure/", "measuring/"]'
24+
vale_flags: "--glob=*.md"
25+
filter_mode: added
26+
debug: true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# We want to ignore our vale StylesPath
2+
.github/vale/*

.vale.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
StylesPath = .github/vale
2+
MinAlertLevel = suggestion
3+
4+
Packages = https://github.com/InnerSourceCommons/isc-styles/releases/latest/download/ISC.zip
5+
6+
Vocab = Base
7+
8+
[*]
9+
BasedOnStyles = ISC
10+
11+
; If you **don't** want to check for the correct spelling of "InnerSource", comment this in
12+
; ISC.InnerSource = NO

infrastructure/infrastructure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ process are vital.
1515

1616
Thus the selected infrastructure must be open and transparent by design.
1717
And this should help developers to follow some specific tracks such as
18-
code review processes. This should help to avoid work arounds as well.
18+
code review processes. This should help to avoid work-arounds as well.
1919
Any contributor to the new infrastructure must follow the same rules.
20-
There will be differences in the access level permited such as
20+
There will be differences in the access level permitted such as
2121
those developers that are newcomers versus those that already have
2222
commit rights.
2323

@@ -143,7 +143,7 @@ The infrastructure is thus divided into three main areas:
143143
the basic tooling for developers.
144144
Selecting the right tools will help to have a clear process and that process
145145
will bring trustiness to the community. Any developer must follow that process
146-
and work arounds should not exist. As an example, any developer, even core
146+
and work-arounds should not exist. As an example, any developer, even core
147147
or trusted committers should face a review process when submitting a piece
148148
of code. It is clear that trusted committers have a reputation in the community
149149
and this will help in the review process, but they still need to go through
@@ -181,7 +181,7 @@ business units need of a monitoring infrastructure.
181181
## Development process infrastructure
182182

183183
When developing there are three main tools to take into account: the versioning
184-
, code review and continouos integration systems. Those should follow a process
184+
, code review and continuous integration systems. Those should follow a process
185185
similar to the one depicted in the following picture. If this process
186186
is familiar to you is because this is based on the [OpenStack software development
187187
process](https://docs.openstack.org/infra/manual/developers.html) as detailed in their wiki site.
@@ -414,4 +414,4 @@ provided such as openness.
414414
GitHub enterprise.
415415
GitLab.
416416
In house repositories.
417-
Attlasian stack.
417+
Atlasian stack.

introduction/framework.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ According to the Business Dictionary, governance is defined as:
4343
>viability of the organization
4444
4545
In open source, governance is described in the "governance
46-
model" document, defined by OSSWatch[^1] as:
46+
model" document, defined by [OSSWatch](http://oss-watch.ac.uk/resources/governancemodels) as:
4747

4848
>A governance model describes the roles that project participants
4949
>can take on and the process for decision making within the project.
@@ -80,7 +80,7 @@ developers for their daily work. Usually, this tools cover:
8080

8181
- Chat or instant messaging tools
8282

83-
- Continous integration systems
83+
- Continuous integration systems
8484

8585
- Document/knowledge management systems (wikis)
8686

@@ -143,6 +143,3 @@ Open measurement gives a lot of benefits for our InnerSource community:
143143

144144
- transparency, as trust generator for third parties and fairness
145145
for our InnerSource community
146-
147-
148-
[^1]: http://oss-watch.ac.uk/resources/governancemodels

measuring/areas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ organization.
2727
to obtain trends about this type of information. Usual activity
2828
measurements can be the number of commits up to some date, but also
2929
the increase or decrease of such number of commits when comparing to
30-
timeframes. This can be extended to any potential *event* that may
30+
time frames. This can be extended to any potential *event* that may
3131
take place in a community of developers: emails, reviews, opening a
3232
ticket, closing a ticket, commenting on a code review or sending an
3333
email, but there are others more elaborated such as actions as
@@ -82,4 +82,4 @@ organization.
8282
we have when measuring this type of metrics is that we can control
8383
where our InnerSource method is leading those metrics. Increases in
8484
the code complexity or less test coverage may indicate unexpected
85-
behaviours that should be fixed and controlled.
85+
behaviors that should be fixed and controlled.

measuring/authors.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ Chronological order:
1111
* Gregorio Robles. [Universidad Rey Juan Carlos](https://www.urjc.es/).
1212
* José Manrique López. [Bitergia](http://bitergia.com).
1313
* Kate Stewart. [The Linux Foundation](https://www.linuxfoundation.org/).
14-

measuring/goals/reduce-duplication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Why should be build things more than once?
66
We're already busy and behind where we'd like to be.
7-
We want to build just once software that solves commmon problems and then share it widely throughout the company.
7+
We want to build just once software that solves common problems and then share it widely throughout the company.
88

99
## Related Questions
1010

0 commit comments

Comments
 (0)