vagrant-local 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +27 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. data/.github/dependabot.yml +6 -0
  5. data/.github/workflows/codeql-analysis.yml +72 -0
  6. data/.github/workflows/lint-release-and-publish-nightly.yml +73 -0
  7. data/.github/workflows/lint-release-and-publish.yml +71 -0
  8. data/.github/workflows/ruby-lint.yml +35 -0
  9. data/.gitignore +35 -0
  10. data/.rspec +2 -0
  11. data/.rubocop.yml +143 -0
  12. data/CHANGELOG.md +32 -0
  13. data/CODE_OF_CONDUCT.md +128 -0
  14. data/CONTRIBUTING.md +97 -0
  15. data/Gemfile +26 -0
  16. data/LICENSE +651 -0
  17. data/PULL_REQUEST_TEMPLATE.md +39 -0
  18. data/README.md +92 -0
  19. data/RELEASE.md +22 -0
  20. data/Rakefile +32 -0
  21. data/SECURITY.md +19 -0
  22. data/ansible.cfg +5 -0
  23. data/docs/CNAME +1 -0
  24. data/docs/_config.yml +1 -0
  25. data/docs/css/main.css +55 -0
  26. data/docs/css/styles.css +8678 -0
  27. data/docs/index.html +125 -0
  28. data/lib/vagrant-local/action/create.rb +27 -0
  29. data/lib/vagrant-local/action/destroy.rb +25 -0
  30. data/lib/vagrant-local/action/halt.rb +24 -0
  31. data/lib/vagrant-local/action/import.rb +27 -0
  32. data/lib/vagrant-local/action/is_created.rb +22 -0
  33. data/lib/vagrant-local/action/network.rb +24 -0
  34. data/lib/vagrant-local/action/network_cleanup.rb +26 -0
  35. data/lib/vagrant-local/action/not_created.rb +20 -0
  36. data/lib/vagrant-local/action/package.rb +135 -0
  37. data/lib/vagrant-local/action/restart.rb +27 -0
  38. data/lib/vagrant-local/action/setup.rb +24 -0
  39. data/lib/vagrant-local/action/shutdown.rb +47 -0
  40. data/lib/vagrant-local/action/start.rb +25 -0
  41. data/lib/vagrant-local/action/wait_till_boot.rb +47 -0
  42. data/lib/vagrant-local/action/wait_till_up.rb +65 -0
  43. data/lib/vagrant-local/action.rb +187 -0
  44. data/lib/vagrant-local/command/guest_power_controls.rb +58 -0
  45. data/lib/vagrant-local/command/local.rb +69 -0
  46. data/lib/vagrant-local/command/restart_guest.rb +29 -0
  47. data/lib/vagrant-local/command/shutdown_guest.rb +29 -0
  48. data/lib/vagrant-local/command/vnc_console.rb +48 -0
  49. data/lib/vagrant-local/command/webvnc_console.rb +49 -0
  50. data/lib/vagrant-local/config.rb +55 -0
  51. data/lib/vagrant-local/driver.rb +208 -0
  52. data/lib/vagrant-local/errors.rb +84 -0
  53. data/lib/vagrant-local/executor.rb +38 -0
  54. data/lib/vagrant-local/plugin.rb +76 -0
  55. data/lib/vagrant-local/provider.rb +83 -0
  56. data/lib/vagrant-local/util/subprocess.rb +31 -0
  57. data/lib/vagrant-local/util/timer.rb +19 -0
  58. data/lib/vagrant-local/version.rb +8 -0
  59. data/lib/vagrant-local.rb +29 -0
  60. data/locales/en.yml +187 -0
  61. data/vagrant-zones.gemspec +37 -0
  62. metadata +191 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a1d8c9dce1b4dae4a69c98cc147082953ebfc7d9c487f8fca9db2db279cffadd
4
+ data.tar.gz: 50f67b0bb0ad9dc4d150672cae497e501163d5c2fd21044a2ec53fcbe21e3c8c
5
+ SHA512:
6
+ metadata.gz: 18b3cc80cdb68f8f4aa070510e30ac44e6f1fc54975dd83eb9d38ac1254160d39d9257ac1e6b73bebfc9f1033f4474deb1b8fc510467f0ca5cd0a166a39c7dca
7
+ data.tar.gz: b30cd4213fe601d934e0c022cdeef40900b270ec805e71ec778978697775457358491b380535ae76b10276ac747ba394b0789470b2a86ecc7ecb70e1fbb2ee5e
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: "[BUG]"
5
+ labels: bug
6
+ assignees: MarkProminic
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Additional context**
27
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: MarkProminic
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: 'bundler'
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'daily'
@@ -0,0 +1,72 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ "main" ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ "main" ]
20
+ schedule:
21
+ - cron: '16 4 * * 5'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38
+
39
+ steps:
40
+ - name: Checkout repository
41
+ uses: actions/checkout@v3
42
+
43
+ # Initializes the CodeQL tools for scanning.
44
+ - name: Initialize CodeQL
45
+ uses: github/codeql-action/init@v2
46
+ with:
47
+ languages: ${{ matrix.language }}
48
+ # If you wish to specify custom queries, you can do so here or in a config file.
49
+ # By default, queries listed here will override any specified in a config file.
50
+ # Prefix the list here with "+" to use these queries and those in the config file.
51
+
52
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
+ # queries: security-extended,security-and-quality
54
+
55
+
56
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
+ # If this step fails, then you should remove it and run the build manually (see below)
58
+ - name: Autobuild
59
+ uses: github/codeql-action/autobuild@v2
60
+
61
+ # ℹ️ Command-line programs to run using the OS shell.
62
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
+
64
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
65
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
66
+
67
+ # - run: |
68
+ # echo "Run, Build Application using script"
69
+ # ./location_of_script_within_repo/buildscript.sh
70
+
71
+ - name: Perform CodeQL Analysis
72
+ uses: github/codeql-action/analyze@v2
@@ -0,0 +1,73 @@
1
+ # .github/workflows/release.yml
2
+
3
+ name: Test, Lint, Release and Publish
4
+
5
+ on:
6
+ push:
7
+ branches:
8
+ - nightly
9
+
10
+ jobs:
11
+ release-please:
12
+ runs-on:
13
+ - self-hosted
14
+ env:
15
+ GEM_NAME: "vagrant-local"
16
+ steps:
17
+ - uses: google-github-actions/release-please-action@v3
18
+ id: release
19
+ with:
20
+ release-type: ruby
21
+ package-name: "${{ env.GEM_NAME }}-nightly"
22
+ bump-minor-pre-major: true
23
+ bump-patch-for-minor-pre-major: true
24
+ version-file: "lib/${{ env.GEM_NAME }}/version.rb"
25
+ default-branch: nightly
26
+
27
+ # Checkout code if release was created
28
+ - uses: actions/checkout@v2
29
+ if: ${{ steps.release.outputs.release_created }}
30
+
31
+ # Setup ruby if a release was created
32
+ - name: Set up Ruby 3.0.0
33
+ uses: ruby/setup-ruby@v1
34
+ with:
35
+ ruby-version: 3.0.0
36
+ if: ${{ steps.release.outputs.release_created }}
37
+
38
+ # Bundle install
39
+ - run: bundle install
40
+ if: ${{ steps.release.outputs.release_created }}
41
+
42
+ # Check if Passing Lint Requirements
43
+ - name: Run Rake tests
44
+ id: tests
45
+ run: bundle exec rake
46
+ if: ${{ steps.release.outputs.release_created }}
47
+
48
+ # Publish to GPR
49
+ - name: Publish to GPR
50
+ run: |
51
+ mkdir -p $HOME/.gem
52
+ touch $HOME/.gem/credentials
53
+ chmod 0600 $HOME/.gem/credentials
54
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
55
+ gem build *.gemspec
56
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
57
+ env:
58
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
59
+ OWNER: ${{ github.repository_owner }}
60
+ if: steps.tests.outputs.exit_code == 0 && steps.release.outputs.release_created
61
+
62
+ # Publish to Ruby Gems
63
+ - name: Publish to RubyGems
64
+ run: |
65
+ mkdir -p $HOME/.gem
66
+ touch $HOME/.gem/credentials
67
+ chmod 0600 $HOME/.gem/credentials
68
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
69
+ gem build *.gemspec
70
+ gem push *.gem
71
+ env:
72
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
73
+ if: steps.tests.outputs.exit_code == 0 && steps.release.outputs.release_created
@@ -0,0 +1,71 @@
1
+ # .github/workflows/release.yml
2
+
3
+ name: Test, Lint, Release and Publish
4
+
5
+ on:
6
+ push:
7
+ branches:
8
+ - main
9
+
10
+ jobs:
11
+ release-please:
12
+ runs-on: ubuntu-latest
13
+ env:
14
+ GEM_NAME: "vagrant-local"
15
+ steps:
16
+ - uses: google-github-actions/release-please-action@v3
17
+ id: release
18
+ with:
19
+ release-type: ruby
20
+ package-name: ${{ env.GEM_NAME }}
21
+ bump-minor-pre-major: true
22
+ bump-patch-for-minor-pre-major: true
23
+ version-file: "lib/${{ env.GEM_NAME }}/version.rb"
24
+
25
+ # Checkout code if release was created
26
+ - uses: actions/checkout@v2
27
+ if: ${{ steps.release.outputs.release_created }}
28
+
29
+ # Setup ruby if a release was created
30
+ - name: Set up Ruby 3.0.0
31
+ uses: ruby/setup-ruby@v1
32
+ with:
33
+ ruby-version: 3.0.0
34
+ if: ${{ steps.release.outputs.release_created }}
35
+
36
+ # Bundle install
37
+ - run: bundle install
38
+ if: ${{ steps.release.outputs.release_created }}
39
+
40
+ # Check if Passing Lint Requirements
41
+ - name: Run Rake tests
42
+ id: tests
43
+ run: bundle exec rake
44
+ if: ${{ steps.release.outputs.release_created }}
45
+
46
+ # Publish to GPR
47
+ - name: Publish to GPR
48
+ run: |
49
+ mkdir -p $HOME/.gem
50
+ touch $HOME/.gem/credentials
51
+ chmod 0600 $HOME/.gem/credentials
52
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
53
+ gem build *.gemspec
54
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
55
+ env:
56
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
57
+ OWNER: ${{ github.repository_owner }}
58
+ if: steps.tests.outputs.exit_code == 0 && steps.release.outputs.release_created
59
+
60
+ # Publish to Ruby Gems
61
+ - name: Publish to RubyGems
62
+ run: |
63
+ mkdir -p $HOME/.gem
64
+ touch $HOME/.gem/credentials
65
+ chmod 0600 $HOME/.gem/credentials
66
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
67
+ gem build *.gemspec
68
+ gem push *.gem
69
+ env:
70
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
71
+ if: steps.tests.outputs.exit_code == 0 && steps.release.outputs.release_created
@@ -0,0 +1,35 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby-lint
9
+
10
+ on:
11
+ push:
12
+ branches: [ main ]
13
+ pull_request:
14
+ branches: [ main ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['3.0']
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
+ # uses: ruby/setup-ruby@v1
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
+ with:
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
+ - name: Run tests
35
+ run: bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,35 @@
1
+ .bundle
2
+ vendor
3
+ /vendor/
4
+ bin
5
+ *.lock
6
+ id_rsa
7
+ _tmp_package
8
+ package.box
9
+ Vagrantfile
10
+ exec
11
+ .vagrant/*
12
+ */.vagrant/*
13
+ example-box/homestead-example/.vagrant
14
+ InstalledFiles
15
+ _yardoc
16
+ coverage
17
+ doc/
18
+ lib/bundler/man
19
+ pkg
20
+ rdoc
21
+ spec/reports
22
+ test/tmp
23
+ test/version_tmp
24
+ tmp
25
+ .config
26
+ .yardoc
27
+ *.box
28
+ /synced_folders
29
+ .venv
30
+ .idea/
31
+ *.iml
32
+ *.rbc
33
+ *.gem
34
+ .byebug_history
35
+ .vagrant
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,143 @@
1
+ AllCops:
2
+ NewCops: enable
3
+ Exclude:
4
+ - vendor/**/*
5
+ - bin/**/*
6
+
7
+ Metrics/MethodLength:
8
+ CountComments: false # count full line comments?
9
+ Enabled: false
10
+
11
+ Metrics/ClassLength:
12
+ Enabled: true
13
+ Exclude:
14
+ - lib/vagrant-local/driver*
15
+
16
+ Naming/MethodName:
17
+ EnforcedStyle: snake_case
18
+
19
+ Naming/FileName:
20
+ Exclude:
21
+ - 'lib/vagrant-local.rb'
22
+
23
+ Naming/AccessorMethodName:
24
+ Description: Check the naming of accessor methods for get_/set_.
25
+ Enabled: false
26
+
27
+ Style/Encoding:
28
+ Description: 'Use UTF-8 as the source file encoding.'
29
+ Enabled: true
30
+
31
+ Style/HashSyntax:
32
+ Description: >-
33
+ Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
34
+ { :a => 1, :b => 2 }.
35
+ Enabled: false
36
+ EnforcedStyle: hash_rockets
37
+
38
+ Style/LineEndConcatenation:
39
+ Description: 'Use \\ instead of + to concatenate two string literals at line end.'
40
+ Enabled: true
41
+ AutoCorrect: true
42
+
43
+ Layout/LineLength:
44
+ Description: 'Limit lines to 139 characters.'
45
+ Enabled: true
46
+ Max: 200
47
+
48
+ Metrics/CyclomaticComplexity:
49
+ Description: 'Avoid complex methods.'
50
+ Enabled: false
51
+
52
+ Metrics/BlockLength:
53
+ Description: 'Limit Block to 139 Characters'
54
+ Max: 139
55
+
56
+ Metrics/ModuleLength:
57
+ Description: 'Limit Block to 150 Characters'
58
+ Max: 165
59
+
60
+ Metrics/AbcSize:
61
+ Description: >-
62
+ A calculated magnitude based on number of assignments,
63
+ branches, and conditions.
64
+ Reference: 'http://c2.com/cgi/wiki?AbcMetric'
65
+ Enabled: true
66
+ VersionAdded: '0.27'
67
+ # The ABC size is a calculated magnitude, so this number can be an Integer or
68
+ # a Float.
69
+ Max: 90
70
+
71
+ Metrics/PerceivedComplexity:
72
+ Description: >-
73
+ A complexity metric geared towards measuring complexity for a
74
+ human reader.
75
+ Enabled: true
76
+ VersionAdded: '0.25'
77
+ Max: 30
78
+
79
+ Style/RedundantReturn:
80
+ Description: >-
81
+ ensure there are no redudant returns
82
+ Enabled: true
83
+ AutoCorrect: true
84
+
85
+ Style/SpecialGlobalVars:
86
+ Description: >-
87
+ Set Special Global vars
88
+ Enabled: true
89
+ AutoCorrect: true
90
+
91
+ Style/RedundantInterpolation:
92
+ Description: >-
93
+ Check for redudant interpolation
94
+ Enabled: true
95
+ AutoCorrect: true
96
+
97
+ Style/StringConcatenation:
98
+ Description: >-
99
+ Prefer to use String contactenation
100
+ Enabled: true
101
+ AutoCorrect: true
102
+
103
+ Style/IfUnlessModifier:
104
+ Description: >-
105
+ Used to check If/Unless should be used
106
+ Enabled: true
107
+ AutoCorrect: true
108
+
109
+ Layout/EmptyLineAfterGuardClause:
110
+ Description: >-
111
+ Empty line to show where clauses are
112
+ Enabled: true
113
+ AutoCorrect: true
114
+
115
+ Style/CaseLikeIf:
116
+ Description: >-
117
+ If if unles case styling
118
+ Enabled: true
119
+ AutoCorrect: true
120
+
121
+ Layout/CaseIndentation:
122
+ Description: >-
123
+ Enusures cases are Indented properly
124
+ Enabled: true
125
+ AutoCorrect: true
126
+
127
+ Layout/TrailingWhitespace:
128
+ Description: >-
129
+ Enusures cases are Indented properly
130
+ Enabled: true
131
+ AutoCorrect: true
132
+
133
+ Layout/EmptyLinesAroundBlockBody:
134
+ Description: >-
135
+ Enusures cases are Indented properly
136
+ Enabled: true
137
+ AutoCorrect: true
138
+
139
+ Layout/ElseAlignment:
140
+ Description: >-
141
+ Enusures cases are Indented properly
142
+ Enabled: true
143
+ AutoCorrect: true
data/CHANGELOG.md ADDED
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+
3
+ ## [0.0.1](https://github.com/STARTcloud/vagrant-local/compare/v1.0.1...v0.0.1) (2024-01-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * versioning ([2129016](https://github.com/STARTcloud/vagrant-local/commit/2129016f294bfd5728b906d37840a14596debea0))
9
+
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * release 0.0.1 ([3dd20d1](https://github.com/STARTcloud/vagrant-local/commit/3dd20d1d0807dc9f1b51acfb1a4c9f12eb883482))
14
+
15
+ ## [1.0.1](https://github.com/STARTcloud/vagrant-local/compare/v1.0.0...v1.0.1) (2024-01-15)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * version ([7a9e6c8](https://github.com/STARTcloud/vagrant-local/commit/7a9e6c84fe88317243fb3314c6bed3b2612b4ef0))
21
+
22
+ ## 1.0.0 (2024-01-15)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * autocorrect ([7042552](https://github.com/STARTcloud/vagrant-local/commit/7042552cde9d02df8b25d9cbe8038eec48a8ad7a))
28
+ * introducing vagrant-local alpha ([a6eb435](https://github.com/STARTcloud/vagrant-local/commit/a6eb435c7b6e38bce0f4bd807757e216a6c042c3))
29
+ * linting ([103c61e](https://github.com/STARTcloud/vagrant-local/commit/103c61e10be37e0b30e1f69f98f1fddc4319be42))
30
+ * linting ([ae64228](https://github.com/STARTcloud/vagrant-local/commit/ae64228c2d7a8de40b37ebf4d43dd1c1fd54e1d4))
31
+ * linting ([9b0a162](https://github.com/STARTcloud/vagrant-local/commit/9b0a16228f43ad50f2519af2fe984e750813d756))
32
+ * linting ([11ec87f](https://github.com/STARTcloud/vagrant-local/commit/11ec87f0b69596b5c0d140e494a70e40a2e43148))
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ mark.gilbert@prominic.net.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.