File tree Expand file tree Collapse file tree 7 files changed +25
-15
lines changed Expand file tree Collapse file tree 7 files changed +25
-15
lines changed Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : checkout code
18
18
uses : actions/checkout@v4
19
- with :
20
- fetch-depth : 0
21
19
- name : Set up QEMU
22
20
uses : docker/setup-qemu-action@v1
23
21
- name : Set up Docker Buildx
@@ -34,14 +32,12 @@ jobs:
34
32
- name : tag and push devel image
35
33
run : |
36
34
docker build --push \
37
- --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 \
38
35
--tag dmstraub/gramps-webapi:latest-devel \
39
36
--platform linux/amd64,linux/arm/v7,linux/arm64 .
40
37
- name : tag and push release image
41
38
if : github.event_name == 'release'
42
39
run : |
43
40
docker build --push \
44
- --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 \
45
41
--tag dmstraub/gramps-webapi:${{ github.event.release.tag_name }} \
46
42
--tag dmstraub/gramps-webapi:latest \
47
43
--platform linux/amd64,linux/arm/v7,linux/arm64 .
Original file line number Diff line number Diff line change 12
12
python-version : [3.9]
13
13
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
- name : Set up Python ${{ matrix.python-version }}
17
17
uses : actions/setup-python@v2
18
18
with :
Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v4
14
14
- name : move
15
15
run : mv gramps_webapi/data/apispec.yaml apispec.yaml
16
16
- name : Generate Swagger UI
Original file line number Diff line number Diff line change @@ -144,6 +144,3 @@ dmypy.json
144
144
145
145
# Pyre type checker
146
146
.pyre /
147
-
148
- # Generated by setuptools_scm, should be ignored by VCS
149
- gramps_webapi /_version.py
Original file line number Diff line number Diff line change
1
+ #
2
+ # Gramps Web API - A RESTful API for the Gramps genealogy program
3
+ #
4
+ # Copyright (C) 2024 David Straub
5
+ #
6
+ # This program is free software; you can redistribute it and/or modify
7
+ # it under the terms of the GNU Affero General Public License as published by
8
+ # the Free Software Foundation; either version 3 of the License, or
9
+ # (at your option) any later version.
10
+ #
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU Affero General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU Affero General Public License
17
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18
+ #
19
+
20
+ __version__ = "2.4.2"
Original file line number Diff line number Diff line change 1
1
swagger : " 2.0"
2
2
info :
3
3
title : " Gramps Web API"
4
+ version : " 2.4.2"
4
5
description : >
5
6
The Gramps Web API is a REST API that provides access to family tree databases generated and maintained with Gramps, a popular Open Source genealogical research software package.
6
7
Original file line number Diff line number Diff line change @@ -46,19 +46,15 @@ dependencies = [
46
46
homepage = " https://github.com/gramps-project/gramps-web-api"
47
47
repository = " https://github.com/gramps-project/gramps-web-api"
48
48
49
-
50
49
[build-system ]
51
50
requires = [" setuptools>=64.0" , " setuptools_scm[toml]>=6.2" , " wheel" ]
52
51
build-backend = " setuptools.build_meta"
53
52
54
53
[tool .isort ]
55
54
profile = " black"
56
55
57
- [tool .setuptools_scm ]
58
- # NOTE: Using a version file avoids some overhead
59
- #
60
- # This file is explicitly ignored by version control.
61
- write_to = " gramps_webapi/_version.py"
56
+ [tool .setuptools .dynamic ]
57
+ version = {attr = " gramps_webapi.__version__" }
62
58
63
59
[tool .setuptools .packages .find ]
64
60
include = [" gramps_webapi" , " gramps_webapi.*" ]
You can’t perform that action at this time.
0 commit comments