-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jiri Kuncar <[email protected]>
- Loading branch information
1 parent
8104ecf
commit 7adadb5
Showing
54 changed files
with
2,198 additions
and
78 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,15 @@ | ||
.git | ||
*.gitignore | ||
|
||
*.mo | ||
*.pyc | ||
*.swp | ||
*.swo | ||
*.~ | ||
|
||
.dockerignore | ||
Dockerfile | ||
docker-compose.yml | ||
docker-compose-dev.yml | ||
|
||
Procfile* |
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,32 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
# Python files | ||
[*.py] | ||
indent_size = 4 | ||
# isort plugin configuration | ||
known_first_party = invenio | ||
multi_line_output = 2 | ||
default_section = THIRDPARTY | ||
|
||
# RST files (used by sphinx) | ||
[*.rst] | ||
indent_size = 4 | ||
|
||
# CSS, HTML, JS, JSON, YML | ||
[*.{css,html,js,json,yml}] | ||
indent_size = 2 | ||
|
||
# Matches the exact files either package.json or .travis.yml | ||
[{package.json,.travis.yml}] | ||
indent_size = 2 | ||
|
||
# Dockerfile | ||
[Dockerfile] | ||
indent_size = 4 |
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 @@ | ||
*~ | ||
*.py[cod] | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
.eggs | ||
__pycache__ | ||
|
||
# Unit test / coverage reports | ||
.cache | ||
.coverage | ||
.tox | ||
|
||
# doc | ||
docs/_build |
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,68 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of Invenio-OAuthClient | ||
# Copyright (C) 2015 CERN | ||
# | ||
# Invenio is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License as | ||
# published by the Free Software Foundation; either version 2 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# Invenio is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Invenio; if not, write to the Free Software Foundation, | ||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. | ||
# | ||
# In applying this license, CERN does not waive the privileges and immunities | ||
# granted to it by virtue of its status as an Intergovernmental Organization | ||
# or submit itself to any jurisdiction. | ||
|
||
notifications: | ||
email: false | ||
|
||
services: | ||
- mysql | ||
- redis | ||
|
||
language: python | ||
|
||
cache: | ||
- apt | ||
- pip | ||
|
||
env: | ||
- REQUIREMENTS=lowest REXTRAS=docs,test | ||
- REQUIREMENTS=release REXTRAS=docs,test | ||
- REQUIREMENTS=devel REXTRAS=docs,test | ||
|
||
python: | ||
- "2.7" | ||
|
||
before_install: | ||
- "sudo apt-get update" | ||
- "sudo apt-get install python-dev" | ||
- "travis_retry pip install --upgrade pip" | ||
- "travis_retry pip install mock" | ||
- "python requirements.py --extras=$REXTRAS --level=min > .travis-lowest-requirements.txt" | ||
- "python requirements.py --extras=$REXTRAS --level=pypi > .travis-release-requirements.txt" | ||
- "python requirements.py --extras=$REXTRAS --level=dev > .travis-devel-requirements.txt" | ||
|
||
install: | ||
- "travis_retry pip install unittest2" | ||
- "travis_retry pip install -r .travis-$REQUIREMENTS-requirements.txt --allow-all-external --quiet" | ||
- "travis_retry pip install -e .[$REXTRAS] --quiet --process-dependency-links" | ||
|
||
before_script: | ||
- "inveniomanage database init --yes-i-know || echo ':('" | ||
- "inveniomanage database create --quiet || echo ':('" | ||
|
||
script: | ||
- "sphinx-build -qnN docs docs/_build/html" | ||
- "python setup.py test" | ||
|
||
after_success: | ||
- coveralls |
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,29 @@ | ||
.. | ||
This file is part of Invenio. | ||
Copyright (C) 2015 CERN. | ||
Invenio is free software; you can redistribute it | ||
and/or modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of the | ||
License, or (at your option) any later version. | ||
|
||
Invenio is distributed in the hope that it will be | ||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with Invenio; if not, write to the | ||
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
MA 02111-1307, USA. | ||
|
||
In applying this license, CERN does not | ||
waive the privileges and immunities granted to it by virtue of its status | ||
as an Intergovernmental Organization or submit itself to any jurisdiction. | ||
|
||
Authors | ||
======= | ||
|
||
Invenio module that provides OAuth web authorization support. | ||
|
||
- CERN <[email protected]> |
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,29 @@ | ||
.. | ||
This file is part of Invenio. | ||
Copyright (C) 2015 CERN. | ||
Invenio is free software; you can redistribute it | ||
and/or modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of the | ||
License, or (at your option) any later version. | ||
|
||
Invenio is distributed in the hope that it will be | ||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with Invenio; if not, write to the | ||
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
MA 02111-1307, USA. | ||
|
||
In applying this license, CERN does not | ||
waive the privileges and immunities granted to it by virtue of its status | ||
as an Intergovernmental Organization or submit itself to any jurisdiction. | ||
|
||
Changes | ||
======= | ||
|
||
Version 0.1.0 (release TBD) | ||
|
||
- First release |
Oops, something went wrong.