Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.coafile: Ignore coala in generated GCI files
Browse files Browse the repository at this point in the history
The GCI exported data contains 'coala',
so it needs to be excluded from the relevant checks.

Also ignore private/** and delete it regularly,
as a preventative measure for accidental leaks.

Related to coala#3
jayvdb committed Dec 17, 2017
1 parent 731aa97 commit b6f0160
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .ci/build.sh
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ mkdir private _site public

if [[ -n "$GCI_TOKEN" ]]; then
python manage.py fetch_gci_task_data private
rm -rf private/
python manage.py cleanse_gci_task_data private _site
else
python manage.py fetch_old_gci_task_data _site || true
4 changes: 2 additions & 2 deletions .coafile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[all]
files = *.py, community/**/*.py, gci/**/*.py, activity/*.py
ignore = gci/client.py, gci/migrations/**
ignore = gci/client.py, gci/migrations/**, private/**
max_line_length = 80
use_spaces = True

@@ -40,7 +40,7 @@ shell = bash
# Do not allow the word "coala" to ensure the repository can be generalized out
# for use by other organizations.
files = **
ignore = .git/**, org_name.txt, .coafile, requirements.txt, .travis.yml, LICENSE, public/**
ignore = .git/**, org_name.txt, .coafile, requirements.txt, .travis.yml, LICENSE, public/**, _site/**
bears = KeywordBear
language = python 3
keywords = coala
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ before_install:

script:
- ./.ci/build.sh
- rm -rf private/
- coala --non-interactive -V

after_success:

0 comments on commit b6f0160

Please sign in to comment.