Commit graph

62 commits

Author SHA1 Message Date
Thomas Lauf
e4eeca6755 Remove version constraint from fiu-utils and libfiu-dev
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-12-02 21:32:20 +01:00
Thomas Lauf
00dc654813 Reactivate ArchLinux test image
- Switch to Docker Official Image (https://hub.docker.com/_/archlinux)
- Closes #412

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-06-13 22:30:40 +02:00
Thomas Lauf
5ecac5b407 Fix CMake installation on CentOS 8 test image
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-06-11 21:31:38 +02:00
Shaun Ruffell
92697cc1ad test:opensuse1500: Update asciidoctor to 2.0.15
This also installs asciidoctor 2.0.15 explicitly so that if the latest
is changed upstream the update-alternatives line will not break.

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
2021-05-16 12:43:49 +02:00
Thomas Lauf
4c8ccd99c3 Add Fedora 33 test image
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-04-10 23:15:30 +02:00
Thomas Lauf
b189ccb020 Replace roff man pages with asciidoctor
This replaces the generation of man pages on project setup
by a on-demand generation via asciidoctor.
An exception are the man pages for the commands `day`, `month`, and `week`
which are simply redirects to the man page `timew-chart.1`. Those are now
static files in the Timewarrior repository.

A CMake find module to detect asciidoctor was added.
If asciidoctor is found, the targets `doc`, `man1`, and `man7` are created.
Those targets are also added to the default build target.

If asciidoctor is not available, the target `doc` is available, but it only
emits a message to install asciidoctor first.

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-02-21 20:58:30 +01:00
Thomas Lauf
0fb7a88159 Ensure Ubuntu 16.04 docker image compiles Timewarrior with gcc >6
- libshared now requires C++14

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-01-26 13:36:54 +01:00
Thomas Lauf
ab240419df Ensure CentOS 7 docker image compiles Timewarrior with gcc >6
- libshared now requires C++14

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-01-26 13:36:03 +01:00
Thomas Lauf
985717e9c8 Deactivate Gentoo Docker image due to its high maintenance costs
- See issue #380 for details

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-09-04 10:43:13 +02:00
Thomas Lauf
2e4d3266cf Add space
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-09-03 23:34:29 +02:00
Thomas Lauf
1308a124bb Replace Fedora 28 and Fedora 29 by Fedora 31 and Fedora 32
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-23 12:54:22 +02:00
Thomas Lauf
60c138b959 Adding ubuntu20.04 to the test zoo
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-23 12:27:16 +02:00
Thomas Lauf
ac9998f01c Add docker test images for CentOS 7 and 8
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-22 12:52:40 +02:00
Thomas Lauf
ffe329cd30 Adding centos8 to the test zoo
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-22 11:39:32 +02:00
Shaun Ruffell
dcfe0d1c3d test/docker: containers should return non-zero values on failures 2020-02-23 19:03:40 +01:00
Shaun Ruffell
8e99c07d85 Introduce AtomicFiles
Introduce AtomicFile and a test of this module to the code.

AtomicFile is like File, except all writes go to temporary files until
the class method finalize_all () is called and the temporary files are
copied over the real files. If any writes fail, like when there is no
more space on the filesystem, none of the files in the database will be
modified.

Since we need version 1.00 of libfiu, I have only added it to the debian
testing container, which includes libfiu-1.00 in the default repository.

Related to #155
2020-02-23 19:03:40 +01:00
Thomas Lauf
6637452a1f Cleanup Dockerfiles
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:56 +01:00
Thomas Lauf
5c1e037abc Persist activation of scl package
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:55 +01:00
Thomas Lauf
8189652bbc Print version information at end
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:46 +01:00
Thomas Lauf
800062ace2 Consolidate package list
- Remove unnecessary packages
- Sort packages alphabetically

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:36 +01:00
Thomas Lauf
660816ae5f Put packages on separate lines for better readability
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:25 +01:00
Thomas Lauf
28a3db5579 Switch to python 3
- #259

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:31:05 +01:00
Thomas Lauf
1d8b2aa042 Fix gentoo setup
- Change path for portage to /var/db/repos/gentoo
- Replace sys-apps/man with sys-apps/man-db

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-17 22:18:49 +01:00
Thomas Lauf
629a3ffe58 Run tests from parent directory
- somehow cpp-testfiles are not compiled when calling make in the test directory
- make install is required to be executed before make test, because we need access to man pages (help.t)

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-09-06 16:11:29 +02:00
Thomas Lauf
cf41d2f80c Set repository location back to /usr/portage
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-27 09:38:30 +02:00
Thomas Lauf
26716679ef Set gentoo portage location to /var/db/repos/gentoo
- See https://github.com/gentoo/gentoo-docker-images/issues/69

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-27 09:33:21 +02:00
Thomas Lauf
529e6905ca Use external image as stage
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 23:46:58 +02:00
Thomas Lauf
c33de03a9a Remove debug statements
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 23:15:05 +02:00
Thomas Lauf
bdb4111dd7 Fix setting locale for ubuntu
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 22:51:43 +02:00
Thomas Lauf
f49a5e14b1 Add package locales
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 22:32:47 +02:00
Thomas Lauf
5a5b8c7fe4 Fix setting locale for debian
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 22:26:18 +02:00
Thomas Lauf
a37db57b3c Set environment variable ENV MAN_DISABLE_SECCOMP=1
- See https://bugs.archlinux.org/task/57557

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 21:48:40 +02:00
Thomas Lauf
81c7dbc3e3 Use package man-db instead of man
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 21:24:54 +02:00
Thomas Lauf
e1b1eecf06 Fix dependency
- use groff instead of nroff

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 20:08:22 +02:00
Thomas Lauf
8db7aff1af Add nroff to dependencies
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 19:11:47 +02:00
Thomas Lauf
38a72afd97 Let this statement pass...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-25 14:07:20 +02:00
Thomas Lauf
b48f4a87cd Add some statements to debug gentoo build fail
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-25 14:00:16 +02:00
Thomas Lauf
fa2c683e3e Install python2 along with python(3)
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-29 01:31:48 +02:00
Thomas Lauf
966256cb79 Add 'man' to list of required packages
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-24 21:25:36 +02:00
Thomas Lauf
295b7b78f4 Wrap emerge call with keep-alive script
- emerge takes longer than 10 minutes for some jobs to output something
- travis kills builds that do not output something for 10 minutes
- Workaround: add a keep-alive script that echos "RUNNING" every minute for one hour. This should keep the door open long enough for emerge to finish...

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-05-03 16:52:15 +02:00
Thomas Lauf
455b9b9614 Fix docker-image name
- base/archlinux is deprecated
- rename from arch180101 to archlinux
2019-02-27 00:11:20 +01:00
Thomas Lauf
bb0539468a Setting environment variable via ENV 2019-01-13 23:17:24 +01:00
Thomas Lauf
368be8397e Remove comment 2019-01-13 22:19:40 +01:00
Thomas Lauf
50b15463bb Set timezone to Europe/Berlin via TZ environment variable 2019-01-13 22:07:53 +01:00
Thomas Lauf
65453fcf98 Install python-dateutil and set timezone on fedora 29 2019-01-07 22:16:09 +01:00
Thomas Lauf
595ec2ea8a Set timezone on fedora 28 2019-01-07 22:08:11 +01:00
Thomas Lauf
fc42580bbd Set timezone on openSUSE 2019-01-07 22:07:28 +01:00
Thomas Lauf
bdbb766a53 Add check for timedatectl on fedora 28 2019-01-07 21:53:51 +01:00
Thomas Lauf
7d50ba925f Install python-dateutil on centOS 7 2019-01-07 21:50:42 +01:00
Thomas Lauf
f6ac47d222 Install python-dateutil on openSUSE 2019-01-07 21:48:13 +01:00