Skip to content

Commit d8e31ee

Browse files
committed
global: initial package separation
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
1 parent cb324af commit d8e31ee

File tree

464 files changed

+2306
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

464 files changed

+2306
-68
lines changed

.dockerignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.git
2+
*.gitignore
3+
4+
*.mo
5+
*.pyc
6+
*.swp
7+
*.swo
8+
*.~
9+
10+
.dockerignore
11+
Dockerfile
12+
docker-compose.yml
13+
docker-compose-dev.yml
14+
15+
Procfile*

.editorconfig

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
charset = utf-8
9+
10+
# Python files
11+
[*.py]
12+
indent_size = 4
13+
# isort plugin configuration
14+
known_first_party = invenio
15+
multi_line_output = 2
16+
default_section = THIRDPARTY
17+
18+
# RST files (used by sphinx)
19+
[*.rst]
20+
indent_size = 4
21+
22+
# CSS, HTML, JS, JSON, YML
23+
[*.{css,html,js,json,yml}]
24+
indent_size = 2
25+
26+
# Matches the exact files either package.json or .travis.yml
27+
[{package.json,.travis.yml}]
28+
indent_size = 2
29+
30+
# Dockerfile
31+
[Dockerfile]
32+
indent_size = 4

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
*~
2+
*.py[cod]
3+
4+
# Packages
5+
*.egg
6+
*.egg-info
7+
.eggs
8+
__pycache__
9+
10+
# Unit test / coverage reports
11+
.cache
12+
.coverage
13+
.tox
14+
15+
# doc
16+
docs/_build
17+
18+
# ignore compiled translations
19+
*.mo
Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
2+
#
23
# This file is part of Invenio.
3-
# Copyright (C) 2014 CERN.
4+
# Copyright (C) 2015 CERN.
45
#
56
# Invenio is free software; you can redistribute it and/or
67
# modify it under the terms of the GNU General Public License as
@@ -14,6 +15,20 @@
1415
#
1516
# You should have received a copy of the GNU General Public License
1617
# along with Invenio; if not, write to the Free Software Foundation, Inc.,
17-
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.A
18+
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19+
20+
"""Travis-CI configuration."""
21+
22+
import getpass
23+
24+
CFG_BIBSCHED_PROCESS_USER = getpass.getuser()
25+
26+
DEBUG = False
27+
SECRET_KEY = 'MY_SECRET'
28+
29+
# Disable all automatic asset building - false is /usr/bin/false.
30+
ASSETS_AUTO_BUILD = False
1831

19-
"""Test suite for invenio.base."""
32+
PACKAGES = [
33+
'invenio_base',
34+
]

.travis.yml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# This file is part of Invenio.
4+
# Copyright (C) 2015 CERN.
5+
#
6+
# Invenio is free software; you can redistribute it and/or
7+
# modify it under the terms of the GNU General Public License as
8+
# published by the Free Software Foundation; either version 2 of the
9+
# License, or (at your option) any later version.
10+
#
11+
# Invenio is distributed in the hope that it will be useful, but
12+
# WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14+
# General Public License for more details.
15+
#
16+
# You should have received a copy of the GNU General Public License
17+
# along with Invenio; if not, write to the Free Software Foundation, Inc.,
18+
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19+
20+
21+
notifications:
22+
email: false
23+
24+
sudo: false
25+
26+
services:
27+
- mysql
28+
- redis
29+
- elasticsearch
30+
31+
language: python
32+
33+
cache:
34+
- apt
35+
- pip
36+
37+
env:
38+
- REQUIREMENTS=lowest REXTRAS=docs,tests
39+
- REQUIREMENTS=release REXTRAS=docs,tests
40+
- REQUIREMENTS=devel REXTRAS=docs,tests
41+
42+
python:
43+
- "2.7"
44+
45+
before_install:
46+
- "travis_retry pip install --upgrade pip"
47+
- "travis_retry pip install mock twine wheel coveralls"
48+
- "python requirements.py --extras=$REXTRAS --level=min > .travis-lowest-requirements.txt"
49+
- "python requirements.py --extras=$REXTRAS --level=pypi > .travis-release-requirements.txt"
50+
- "python requirements.py --extras=$REXTRAS --level=dev > .travis-devel-requirements.txt"
51+
- "mkdir -p ${VIRTUAL_ENV}/var/invenio.base-instance/"
52+
- "cp .travis.invenio.cfg ${VIRTUAL_ENV}/var/invenio.base-instance/invenio.cfg"
53+
54+
install:
55+
- "travis_retry pip install -e git+https://github.com/inveniosoftware/invenio#egg=invenio"
56+
- "travis_retry pip install -r .travis-$REQUIREMENTS-requirements.txt --allow-all-external"
57+
- "travis_retry pip install -e .[$REXTRAS]"
58+
59+
before_script:
60+
- "inveniomanage database init --yes-i-know"
61+
- "inveniomanage database create --quiet"
62+
63+
script:
64+
- "sphinx-build -qnN docs docs/_build/html"
65+
- "python setup.py test"
66+
67+
after_success:
68+
- coveralls
69+
70+
deploy:
71+
provider: pypi
72+
user: jirikuncar
73+
password:
74+
secure: eGwqt2lkoiY/h82+G3XUpcEwIqUQS7V6MS4Itl4bz0P1+1ctZxMRxkVrQpAa6XMg/6Sgy9c2osI2VU6TtSpoB515PWvzbil/OI0tyL2VaPpMi3I55wZuT08kvwVIKAl695UYNONJ4ocPdwOKhl+ht7jtsbgxYoQBlbdh0zps26S2jJnQLa6WauVD0CSVdXYEiwLaFZ5clndqeZaEAOmIJIfkYkk0dlD6N24r5ULgQkoT2d3X2BgzEXX8m/k6wT2bWifMzls/XOtv4pTXHdFlRGF5xgEqalg+sHQ1+DuEtS4OK3azRiKgC7W8cBEyf6O79/jD3ifVKYxaRon9EioJoMBszuPpgZnRTJlRDv/JTzBq5yBU/sTarQku3XIhHxJOJGEvcfgIfpXUN2iwdj2itaYlBs9ItX/28ZhFo3GSPeJxA0Qrvp95/Uls9RLUIkm5gnIpBb3Q0A9xWT3/qRWlSLiSkWeVdslCdWQryBxrhMWSACoyO1gvYgpC6xI+jkNYgHktJ+y6YlF5ANaXvTq1lSdtZ5A2egBeHf8qTPQ7tX37dLaYANQVBslIkxqNzaXkmwtgUh4s4Sb97CwGOY+ftlhDkCx0JlhS2vbEvv6itaWpYB2AEhC79vq7zi+3uMGXwBIRQQeCd3lPYj9kwkbBwYdzg3VTH1fmZUsrpIDST4U=
75+
distributions: "compile_catalog sdist bdist_wheel"
76+
on:
77+
tags: true
78+
python: "2.7"

AUTHORS.rst

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
..
2+
This file is part of Invenio.
3+
Copyright (C) 2015 CERN.
4+
5+
Invenio is free software; you can redistribute it
6+
and/or modify it under the terms of the GNU General Public License as
7+
published by the Free Software Foundation; either version 2 of the
8+
License, or (at your option) any later version.
9+
10+
Invenio is distributed in the hope that it will be
11+
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License
16+
along with Invenio; if not, write to the
17+
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18+
MA 02111-1307, USA.
19+
20+
In applying this license, CERN does not
21+
waive the privileges and immunities granted to it by virtue of its status
22+
as an Intergovernmental Organization or submit itself to any jurisdiction.
23+
24+
Authors
25+
=======
26+
27+
Base package for building the Invenio application.
28+
29+
- Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
30+
- Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
31+
- Alessio Deiana <alessio.deiana@cern.ch>
32+
- Alper Cinar <alper@srdc.com.tr>
33+
- Artem Tsikiridis <artem.tsikiridis@cern.ch>
34+
- Benoit Thiell <bthiell@cfa.harvard.edu>
35+
- Björn Oltmanns <bjoern.oltmanns@gmail.com>
36+
- Charalampos Tzovanakis <drjova@cern.ch>
37+
- Dimitrios Semitsoglou-Tsiapos <dsemitso@cern.ch>
38+
- Dinos Kousidis <konstantinos.kousidis@cern.ch>
39+
- Eirini Psallida <eirini.psallida@cern.ch>
40+
- Esteban J. G. Gabancho <esteban.gabancho@cern.ch>
41+
- Frederic Gobry <frederic.gobry@epfl.ch>
42+
- Gabriel Hase <gabriel.hase@cern.ch>
43+
- Georgios Kokosioulis <giokokos@gmail.com>
44+
- Gregory Favre <gregory.favre@cern.ch>
45+
- Grzegorz Szpura <grzegorz.szpura@cern.ch>
46+
- Guillaume Lastecoueres <PX9e@gmx.fr>
47+
- Harris Tzovanakis <me@drjova.com>
48+
- Henning Weiler <henning.weiler@cern.ch>
49+
- Ivan Masár <helix84@centrum.sk>
50+
- Jaime García <jaime.garcia.llopis@gmail.com>
51+
- Jake Cowton <jake.calum.cowton@cern.ch>
52+
- Jan Aage Lavik <jan.age.lavik@cern.ch>
53+
- Javier Martin <javier.martin.montull@cern.ch>
54+
- Javier Martin Montull <javier.martin.montull@cern.ch>
55+
- Jerome Caffaro <jerome.caffaro@cern.ch>
56+
- Jiri Kuncar <jiri.kuncar@cern.ch>
57+
- Joaquim Rodrigues Silvestre <joaquim.rodrigues.silvestre@cern.ch>
58+
- Jochen Klein <klein.jochen@gmail.com>
59+
- Joe Blaylock <jrbl@slac.stanford.edu>
60+
- João Batista <jnfbatista@gmail.com>
61+
- Juan Francisco Pereira Corral <Juan.Francisco.Pereira.Corral@cern.ch>
62+
- Kamil Neczaj <kneczaj@gmail.com>
63+
- Konstantinos Ntemagkos <konstantinos.ntemagkos@cern.ch>
64+
- Krzysztof Lis <krzysztof.lis@cern.ch>
65+
- Kyriakos Liakopoulos <kyriakos.liakopoulos@cern.ch>
66+
- Lars Christian Raae <lars.christian.raae@cern.ch>
67+
- Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
68+
- Leonardo Rossi <leonardo.r@cern.ch>
69+
- Ludmila Marian <ludmila.marian@gmail.com>
70+
- Marco Neumann <marco@crepererum.net>
71+
- Marcus Johansson <marcus.johansson@cern.ch>
72+
- Marko Niinimaki <manzikki@gmail.com>
73+
- Mateusz Susik <mateusz.susik@cern.ch>
74+
- Mathieu Barras <mbarras@gmail.com>
75+
- Mikael Vik <mikael.vik@cern.ch>
76+
- Nicholas Robinson <nicholas.robinson@cern.ch>
77+
- Nicolas Harraudeau <nicolas.harraudeau@cern.ch>
78+
- Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
79+
- Olivier Serres <olivier.serres@gmail.com>
80+
- Patrick Glauner <patrick.oliver.glauner@cern.ch>
81+
- Paulo Cabral <paulo.cabral@cern.ch>
82+
- Pedro Gaudêncio <pedro.gaudencio@cern.ch>
83+
- Peter Halliday <phalliday@cornell.edu>
84+
- Petr Brož <petr.broz@heaven-industries.com>
85+
- Piotr Praczyk <piotr.praczyk@gmail.com>
86+
- Radoslav Ivanov <radoslav.ivanov@cern.ch>
87+
- Raquel Jimenez Encinar <r.jimenez.encinar@gmail.com>
88+
- Roman Chyla <roman.chyla@cern.ch>
89+
- Samuele Carli <samuele.carli@cern.ch>
90+
- Samuele Kaplun <samuele.kaplun@cern.ch>
91+
- Sebastian Witowski <sebastian.witowski@cern.ch>
92+
- Stephane Martin <stephane.martin@epfl.ch>
93+
- Thomas Baron <thomas.baron@cern.ch>
94+
- Tibor Simko <tibor.simko@cern.ch>
95+
- Trond Aksel Myklebust <trond.aksel.myklebust@cern.ch>
96+
- Wojciech Ziolek <wojciech.ziolek@cern.ch>
97+
- Yoan Blanc <yoan.blanc@cern.ch>

CHANGES.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
..
2+
This file is part of Invenio.
3+
Copyright (C) 2015 CERN.
4+
5+
Invenio is free software; you can redistribute it
6+
and/or modify it under the terms of the GNU General Public License as
7+
published by the Free Software Foundation; either version 2 of the
8+
License, or (at your option) any later version.
9+
10+
Invenio is distributed in the hope that it will be
11+
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License
16+
along with Invenio; if not, write to the
17+
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18+
MA 02111-1307, USA.
19+
20+
In applying this license, CERN does not
21+
waive the privileges and immunities granted to it by virtue of its status
22+
as an Intergovernmental Organization or submit itself to any jurisdiction.
23+
24+
Changes
25+
=======
26+
27+
Version 0.1.0 (released TBD)
28+
29+
- Initial public release.

0 commit comments

Comments
 (0)