Skip to content

Commit 3dca41e

Browse files
Merge pull request #453 from CLARIAH/dev
Preparing for release 1.3.9
2 parents f0c6678 + b0582b1 commit 3dca41e

39 files changed

+2288
-1444
lines changed

.dockerignore

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-FileCopyrightText: 2022 Albert Meroño, Rinke Hoekstra, Carlos Martínez
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
*~
6+
\#*\#
7+
bin/
8+
!bin/grlc-server
9+
build/
10+
config.ini
11+
db-cache.json
12+
db.json
13+
DispatchSparqlQuery.ipynb
14+
docker-compose.yml
15+
Dockerfile2
16+
*/.DS_Store
17+
.eggs/
18+
FileLoaders.ipynb
19+
Get_Parameters.ipynb
20+
GetYamlDecorators.ipynb
21+
.git/
22+
.*!.gitignore
23+
grlc.egg-info/
24+
.idea
25+
include/
26+
ink_ext_XXXXXX_img0.png
27+
.ipynb_checkpoints/
28+
lib/
29+
local/
30+
*.log
31+
node_modules
32+
pip-selfcheck.json
33+
Process_sparql_query_text.ipynb
34+
*.pyc
35+
.pytest_cache
36+
.Python
37+
ReleaseProcedure.md
38+
response_1700168662326.html
39+
Rewrite_Query.ipynb
40+
share/
41+
src/config.ini
42+
src/FileLoaderTesting.ipynb
43+
ssl-certificates/
44+
!static/swagger-ui/dist/lib
45+
*.swp
46+
testQueries/
47+
TODOs.md
48+
TwitterAPIKeys.md
49+
venv3.10/
50+
venv3.11/
51+
venv3.8/
52+
venv3.9/
53+
venv-dev/
54+
venv-tests.sh
55+
.vscode/

.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
per-file-ignores =
3+
src/__init__.py:F401
4+
src/prov.py:E203
5+
tests/test_grlc.py:F401

.github/workflows/linting.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
paths:
6+
- 'src/*.py'
7+
- 'tests/*.py'
8+
jobs:
9+
linter:
10+
runs-on: ubuntu-latest
11+
name: Lint
12+
steps:
13+
- name: Check out source repository
14+
uses: actions/checkout@v3
15+
- name: Set up Python environment
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.11"
19+
- name: flake8 Lint
20+
uses: py-actions/flake8@v2
21+
with:
22+
max-line-length: "127"
23+
path: "src"

.github/workflows/publish_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Python
1313
uses: actions/setup-python@v1
1414
with:
15-
python-version: 3.7
15+
python-version: 3.11
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest, macos-latest, windows-latest]
9-
python-version: [3.7, 3.8, 3.9]
9+
python-version: [3.8, 3.9, 3.10.x, 3.11]
1010
steps:
1111
- uses: actions/checkout@master
1212
- name: Set up Python ${{ matrix.python-version }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ TODOs.md
3939
TwitterAPIKeys.md
4040
config.ini
4141
ink_ext_XXXXXX_img0.png
42+
build/

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ authors:
1616
given-names: Carlos
1717
orcid: "https://orcid.org/0000-0001-5565-7577"
1818
cff-version: "1.0.3"
19-
date-released: 2023-07-30
19+
date-released: 2024-02-17
2020
doi: 10.5281/zenodo.1064391
2121
license: MIT
2222
message: "If you use this software, please cite it as below."
@@ -29,4 +29,4 @@ keywords:
2929
- "linked-data"
3030
- "semantic-web"
3131
- "linked-data-api"
32-
version: "1.3.8"
32+
version: "1.3.9"

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ services:
5858
- USERMAP_GID=1000
5959
- USERMAP_UID=1000
6060
- GRLC_GITHUB_ACCESS_TOKEN=xxx
61+
- GRLC_GITLAB_ACCESS_TOKEN=yyy
6162
- GRLC_SERVER_NAME=grlc.io
6263
```
6364

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ This is a list of all people who have contributed to grlc. Big thanks to everyon
2323
[GenEars](https://github.com/GenEars)
2424
[nichtich](https://github.com/nichtich)
2525
[jblom](https://github.com/jblom)
26+
[abelsiqueira](https://github.com/abelsiqueira)

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
FROM python:3.8.16
5+
FROM python:3.11-slim
66
77

88
# Default values for env variables
99
ARG GRLC_GITHUB_ACCESS_TOKEN=
10+
ARG GRLC_GITLAB_ACCESS_TOKEN=
1011
ARG GRLC_SERVER_NAME=grlc.io
1112
ARG GRLC_SPARQL_ENDPOINT=http://dbpedia.org/sparql
1213

1314
ENV GRLC_GITHUB_ACCESS_TOKEN=$GRLC_GITHUB_ACCESS_TOKEN \
15+
GRLC_GITLAB_ACCESS_TOKEN=$GRLC_GITLAB_ACCESS_TOKEN \
1416
GRLC_SERVER_NAME=$GRLC_SERVER_NAME \
1517
GRLC_SPARQL_ENDPOINT=$GRLC_SPARQL_ENDPOINT
1618

0 commit comments

Comments
 (0)