-
Notifications
You must be signed in to change notification settings - Fork 934
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
165 changed files
with
1,965 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
### All submissions | ||
|
||
* [ ] I have followed the [Contributing Guidelines](https://github.com/lra/mackup/blob/master/.github/CONTRIBUTING.md) | ||
* [ ] I have checked to ensure there aren't other open [Pull Requests](https://github.com/lra/mackup/pulls) for the same update/change | ||
|
||
### Adding/updating Application X Support | ||
|
||
* [ ] This PR is only for one application | ||
* [ ] It has been added to the list of supported applications in the [README](https://github.com/lra/mackup/blob/master/README.md) | ||
* [ ] Changes have been added to the WIP section of the [CHANGELOG](https://github.com/lra/mackup/blob/master/CHANGELOG.md) | ||
* [ ] Syncing does not break the application | ||
* [ ] Syncing does not compete with any syncing functionality internal to the application | ||
* [ ] The configuration syncs the minimal set of data | ||
* [ ] No file specific to the local workstation is synced | ||
* [ ] No sensitive data is synced | ||
|
||
### Improving the Mackup codebase | ||
|
||
* [ ] My submission passes the [tests](https://github.com/lra/mackup/tree/master/tests) | ||
* [ ] I have linted the code locally prior to submission | ||
* [ ] I have written new tests as applicable | ||
* [ ] I have added an explanation of what the changes do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,36 @@ | ||
name: Test installs | ||
on: | ||
- pull_request | ||
- push | ||
on: pull_request | ||
|
||
jobs: | ||
|
||
install: | ||
install-on-linux: | ||
strategy: | ||
matrix: | ||
os: | ||
- "ubuntu-20.04" | ||
- "ubuntu-22.04" | ||
python-version: | ||
- 2.7 | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
runs-on: ubuntu-latest | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
runs-on: ${{ matrix.os }} | ||
container: python:${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: python setup.py install | ||
- uses: actions/checkout@v4 | ||
- run: pip install . | ||
- run: mackup --help | ||
|
||
install-on-macos: | ||
strategy: | ||
matrix: | ||
os: | ||
- macos-11 | ||
- macos-12 | ||
- macos-13 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: pip install . | ||
- run: mackup --help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Make sure that all text files end with a newline character. | ||
# Configure your editor to end every file with a newline character. | ||
# See <https://stackoverflow.com/a/729795> | ||
on: | ||
- pull_request | ||
- push | ||
name: linelint | ||
jobs: | ||
linelint: | ||
runs-on: ubuntu-latest | ||
name: Check if all files end with a newline character | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Linelint | ||
uses: fernandrone/linelint@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 'true' will fix files | ||
autofix: false | ||
|
||
# list of paths to ignore, uses gitignore syntaxes (executes before any rule) | ||
ignore: | ||
- tests/fixtures/Library/Application Support/Box/Box Sync/sync_root_folder.txt | ||
- tests/fixtures/Library/Mobile Documents/com~apple~CloudDocs/_blank_.md | ||
|
||
rules: | ||
# checks if file ends in a newline character | ||
end-of-file: | ||
# set to true to enable this rule | ||
enable: true | ||
|
||
# set to true to disable autofix (if enabled globally) | ||
disable-autofix: true | ||
|
||
# if true also checks if file ends in a single newline character | ||
single-new-line: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MD004: | ||
style: "dash" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
all | ||
rule 'MD007', :indent => 2 | ||
rule 'MD029', :style => :ordered | ||
exclude_rule 'MD041' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
style './.mdl_style.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.