Skip to content

Commit 9bbe87d

Browse files
authored
Merge pull request #37 from TEIC/dev
Fix Epub3 Fileextension bug
2 parents 2d97bd7 + 50a0b8f commit 9bbe87d

19 files changed

Lines changed: 179 additions & 1546 deletions

.github/workflows/maven_docker.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Set up JDK 11
19-
uses: actions/setup-java@v2
19+
uses: actions/setup-java@v3
2020
with:
2121
java-version: '11'
2222
distribution: 'adopt'
2323
- name: maven-settings
24-
uses: s4u/maven-settings-action@v2
24+
uses: s4u/maven-settings-action@v2.7.0
2525
with:
2626
servers: '[{"id": "edirom", "username": "${github.actor}", "password": "${GITHUB_TOKEN}"},{"id": "teic", "username": "${github.actor}", "password": "${GITHUB_TOKEN}"}]'
2727
- name: Build with Maven
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
run: mvn clean package --file pom.xml
3131
- name: Upload Maven build artifact
32-
uses: actions/upload-artifact@v2
32+
uses: actions/upload-artifact@v3
3333
with:
3434
name: artifact
3535
path: /home/runner/work/TEIGarage/TEIGarage/target/teigarage.war
@@ -41,7 +41,7 @@ jobs:
4141
if: ${{ github.event_name != 'pull_request' }}
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v3
4545

4646
- name: Download artifact
4747
uses: actions/download-artifact@v3
@@ -56,15 +56,15 @@ jobs:
5656
# use the current user to log into the
5757
# GitHub container registry
5858
- name: Log in to GitHub Container registry
59-
uses: docker/login-action@v1
59+
uses: docker/login-action@v2
6060
with:
6161
registry: ghcr.io
6262
username: ${{ github.actor }}
6363
password: ${{ secrets.GITHUB_TOKEN }}
6464

6565
# Login against DockerHub registry
6666
- name: Log in to DockerHub
67-
uses: docker/login-action@v1
67+
uses: docker/login-action@v2
6868
with:
6969
username: ${{ secrets.PETERS_DOCKERHUB_USERNAME }}
7070
password: ${{ secrets.PETERS_DOCKERHUB_TOKEN }}
@@ -73,7 +73,7 @@ jobs:
7373
# https://github.com/docker/metadata-action
7474
- name: Extract Docker metadata
7575
id: meta
76-
uses: docker/metadata-action@v3
76+
uses: docker/metadata-action@v4
7777
with:
7878
images: |
7979
ghcr.io/teic/teigarage
@@ -84,11 +84,18 @@ jobs:
8484
# Build and push Docker image with Buildx (don't push on PR)
8585
# https://github.com/docker/build-push-action
8686
- name: Build and push Docker image
87-
uses: docker/build-push-action@v2
87+
uses: docker/build-push-action@v3
8888
with:
8989
context: .
9090
push: ${{ github.event_name != 'pull_request' }}
9191
tags: ${{ steps.meta.outputs.tags }}
9292
labels: ${{ steps.meta.outputs.labels }}
9393
build-args: |
9494
BUILDTYPE=github
95+
# Use current README for DockerHub description
96+
- name: Update repo description
97+
uses: peter-evans/dockerhub-description@v3
98+
with:
99+
username: ${{ secrets.PETERS_DOCKERHUB_USERNAME }}
100+
password: ${{ secrets.PETERS_DOCKERHUB_TOKEN }}
101+
repository: teic/teigarage

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
TEIGarage is a webservice and RESTful service to transform, convert and validate various formats, focussing on the [TEI](https://tei-c.org/) format.
2121
TEIGarage is based on the proven [OxGarage](https://github.com/TEIC/oxgarage).
2222

23-
Further information on the code structure of MEIGarage and TEIGarage can be found [here](https://github.com/Edirom/MEIGarage/blob/main/doc/code-structure.md).
23+
Further information on the **code structure** of MEIGarage and TEIGarage can be found [here](https://github.com/Edirom/MEIGarage/blob/main/doc/code-structure.md). Information in form of **presentation slides** and posters can be found [here](https://anneferger.github.io/MEITEIGarage/).
24+
25+
A running instance of TEIGarage can be found at [teigarage.tei-c.org](https://teigarage.tei-c.org/).
2426

2527
# Installation
2628

2729
## Installing with Docker
2830

29-
With Docker installed, a readymade image can be fetched from the [GitHub Action](https://github.com/TEIC/TEIGarage/blob/main/.github/workflows/maven_docker.yml).
31+
With Docker installed, a readymade image can be fetched from the [GitHub Container Registry](https://github.com/TEIC/TEIGarage/pkgs/container/teigarage) or from [DockerHub](https://hub.docker.com/r/teic/teigarage/tags).
3032

3133
`docker pull ghcr.io/teic/teigarage:latest`
3234

@@ -100,7 +102,7 @@ For HTTPS connections behind a
100102
### Getting the application packages
101103

102104
The latest released application package (WAR file) is available from the [TEIGarage release page](https://github.com/TEIC/TEIGarage/releases).
103-
The latest dev version can be downloaded via [nightly.link](https://nightly.link/) from the [GitHub Action](https://github.com/TEIC/TEIGarage/blob/main/.github/workflows/maven.yml) at [nightly.link/TEIC/TEIGarage/workflows/maven/main/artifact.zip](https://nightly.link/TEIC/TEIGarage/workflows/maven/main/artifact.zip).
105+
The latest dev version can be downloaded via [nightly.link](https://nightly.link/) from the [GitHub Action](https://github.com/TEIC/TEIGarage/blob/main/.github/workflows/maven_docker.yml) at [nightly.link/TEIC/TEIGarage/workflows/maven_docker/main/artifact.zip](https://nightly.link/TEIC/TEIGarage/workflows/maven_docker/main/artifact.zip).
104106

105107
The war file could also be build locally, see [Building with Maven](#building-with-maven).
106108

@@ -129,7 +131,8 @@ The TEIGarage Java project can be built with Maven using
129131

130132
`mvn -B package --file pom.xml`
131133

132-
Readymade .war files can be downloaded from the [GitHub Action using nightly.link](https://nightly.link/TEIC/TEIGarage/workflows/maven/main/artifact.zip)
134+
Readymade .war files can be downloaded from the [GitHub Action using nightly.link](https://nightly.link/TEIC/TEIGarage/workflows/maven_docker/main/artifact.zip). For the required Java version see:
135+
https://github.com/TEIC/TEIGarage/blob/48726dd73a49b1c284d174dc68c26e6fe9cdb03d/.github/workflows/maven_docker.yml#L21.
133136

134137
## dependencies
135138

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>pl.psnc.dl.ege.webapp</groupId>
55
<artifactId>teigarage</artifactId>
6-
<version>1.0.0</version>
6+
<version>1.1.1</version>
77
<packaging>war</packaging>
88
<name>TEI Garage</name>
99
<properties>
@@ -199,7 +199,7 @@
199199
<dependency>
200200
<groupId>pl.psnc.dl.ege</groupId>
201201
<artifactId>ege-framework</artifactId>
202-
<version>0.5.1</version>
202+
<version>0.5.2</version>
203203
<scope>compile</scope>
204204
</dependency>
205205
<dependency>

src/main/java/pl/psnc/dl/ege/webapp/config/LabelProvider.java

Lines changed: 0 additions & 114 deletions
This file was deleted.

src/main/java/pl/psnc/dl/ege/webapp/config/MimeExtensionProvider.java

Lines changed: 0 additions & 67 deletions
This file was deleted.

src/main/java/pl/psnc/dl/ege/webapp/config/PreConfig.java

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)