Thomas Lauf
42df2cb08b
Update copyright years and holders
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
002a04db63
Merge same holidays from different regions
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
ff562b8a9e
Simplify region filtering by setting a default value
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 15:12:33 +01:00
Thomas Lauf
bb905fd0b9
Inline variable
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 13:21:08 +01:00
Thomas Lauf
38a5afe88c
Remove redundant character escape in regex
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 13:20:05 +01:00
Thomas Lauf
452cce6137
Switch to python 3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-28 13:18:08 +01:00
Thomas Lauf
ddf713a722
Switch to python 3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 19:08:57 +01:00
Thomas Lauf
f7a3e26d8e
Move section 7 files to directory man7
...
- Amends #262
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 17:22:00 +01:00
Thomas Lauf
3e979a7d05
Update ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 16:11:16 +01:00
Thomas Lauf
03ffa70203
Add curly brackets
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 16:10:46 +01:00
Thomas Lauf
30740af3ba
Resharpen error message for if command stop
gets called with ids
...
- Amends #270
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 16:10:46 +01:00
Thomas Lauf
13a8edc7ef
Resharpen test stop with id should suggest modify command
...
- Amends #270
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-27 16:10:28 +01:00
Shaun Ruffell
145af6603c
Stop with id should suggest modify command
...
Recently I was trying to stop an interval that I had left open over the
weekend, but I had already started a new interval at the beginning of the
week. The error I was received was "The end of a date range must be after the
start." which was confusing to me.
After a few moments I realized I should have been using the modify command.
Now the stop command will suggest modify if someone attempts to use stop for
this purpose.
2019-12-27 15:47:39 +01:00
Thomas Lauf
80fe5e4221
Use pyenv to run tests with python3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-22 13:09:19 +01:00
Thomas Lauf
eccf82ff56
Print version information at end
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:55:02 +01:00
Thomas Lauf
6ecdbc5cf7
Remove unneeded packages
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:53:59 +01:00
Thomas Lauf
c6fb6c4e3a
Fix installation of python3-dateutil
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:53:10 +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
e307e548e0
Require python 3 for running the testsuite
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:30:44 +01:00
Thomas Lauf
38ddb4ee5b
Remove line break
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
09a77eddb3
Mark byte literals
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
c27344525b
Remove compat.py
...
- There is only one string type in python3
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
c7e044373f
Replace assertItemsEqual
with assertSequenceEqual
...
- Add sorting for both lists
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
34a152c794
Replace assertRegexpMatches
with assertRegex
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
9dd8257cc0
Replace assertEquals
with assertEqual
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
7fa7ca5f04
Remove vim annotations
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
f53e1cef6d
Switch to python 3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:32 +01:00
Thomas Lauf
2f6d12fc9e
Add performance tests
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-06 16:29:40 +01:00
Thomas Lauf
05a418592b
Add test environment for macOS 10.14
...
- Small tweaks in test script
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-23 22:02:09 +01:00
Thomas Lauf
a2a53365ad
Add commit hash for release 1.2.0
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-23 20:33:00 +01:00
Thomas Lauf
1d271508a2
Prepare for release 1.2.0
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-22 23:20:51 +01:00
Thomas Lauf
bc057b423d
Update NEWS
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-22 22:13:18 +01:00
Thomas Lauf
3ddcee67c3
Update Copyright
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-22 21:42:49 +01:00
Thomas Lauf
ac084e7fe3
Update list of operating systems
...
- All systems we do test on Travis
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-22 21:40:02 +01:00
Thomas Lauf
f77cc0b973
Update ChangeLog for 1.2.0
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-20 23:49:34 +01:00
Thomas Lauf
5fa4bdff2c
Update ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-20 07:00:06 +01:00
Thomas Lauf
400d02aedb
Reduce upper limit for exclusion calculation to current datetime
...
- `Datetimee("tomorrow")` can create extra exclusion ahead of current time
which in turn create erroneous synthetic intervals
- Fixes #260
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-20 06:55:43 +01:00
Thomas Lauf
383ca96147
Update ChangeLog and AUTHORS
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-19 21:53:11 +01:00
Shaun Ruffell
a021e8402f
Ignore stderr output in TestHelp.test_help_with_command_should_show_man_page
2019-11-19 19:45:18 +01:00
Shaun Ruffell
f0bda68b02
Allow help.t test to find manpages without installing them.
2019-11-19 19:45:18 +01:00
Shaun Ruffell
8109c155af
#220 : Handle escaped quotes in tags database file.
...
If there are escaped quotes in the tags database file, when the file is read,
then written, additional escape characters were inserted.
For example:
When tag 'a "test"' is written, it gets stored as 'a \"test\"'. Then it's read
back in that form, but the next time it's serialized to disk, the quotes would
be escaped again resulting in 'a \\"test\\"' which has the effect of removing
the escapes for the double-quotes.
2019-11-18 06:43:21 +01:00
Shaun Ruffell
5f5cfb7b0f
#254 : quotes in annotations are not escaped
...
Escapes the quotes for the annotations in the data file, and when
converting an interval to JSON.
The quotes in the annotations were already dequoted in
IntervalFactory::fromSerialization, so we only needed to quote the strings
when serializing or dumping to JSON.
2019-11-18 06:43:21 +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
45672e05f3
Add options --hours
and --minutes
to inject a range
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-12 16:32:15 +01:00
Thomas Lauf
ad926480dd
Check exit code directly
...
- See https://github.com/koalaman/shellcheck/wiki/SC2181
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-12 16:31:23 +01:00