jvoisin
7ce2b5121b
Please pylint
2020-11-30 18:53:25 +01:00
jvoisin
88b7ec2c48
Don't be silly
2020-11-23 19:55:35 +01:00
jvoisin
77dde8a049
Please pylint
2020-11-13 12:09:25 +01:00
jvoisin
d7a03d907b
Vastly improve ppt compatibility
2020-03-08 14:06:27 +01:00
Ivy Fay
8c7b23be90
.gitlab-ci.yml: make test command consistent across distros
...
This switches to use "python3 -m unittest discover -v" onevery distro.
2019-12-02 14:45:32 +00:00
georg
deeee256cc
CI: Use pylint, instead of pylint3
...
It seems, despite the name, both packages depend on Python 3. However,
pylint3 seems deprecated, and upstream recommends to install pylint:
https://www.pylint.org/#install
The current versions of both packages in Debian unstable are:
pylint 2.4.4-1
pylint3 2.2.2-1
This commit fixes failing CI jobs due to the use of pylint3 2.2.2-1,
which seems broken.
2019-11-26 23:16:49 +00:00
jvoisin
df1eb98a40
Please the new version of pylint
2019-11-26 22:12:56 +01:00
madaidan
58773088ac
Mount a new tmpfs on /tmp and drop all capabilities
...
This mounts a new tmpfs on /tmp so any files residing there would be hidden
from the sandbox. Many programs store some files in there that might be useful
to an attacker. It also drops all capabilities incase it is ever run with
extra capabilities for whatever reason.
2019-10-05 15:21:40 +02:00
jvoisin
49e0c43ac5
Tweak a bit the ci
...
- gentoo and debian with bubblewrap are not allowed to fail anymore
- don't run coverage on debian without bubblewrap
2019-07-22 23:36:20 +02:00
georg
a81ea65d44
CI: Run bubblewrap tests as different user than 'root' to fix errors
...
It seems, there is a bug somewhere if the test suite is invoked as
'root', and bubblewrap is available.
2019-07-22 13:39:06 -07:00
georg
8bb2826f7a
CI: Add job to run codespell, a spell checking software
2019-07-22 13:31:40 -07:00
jvoisin
4f0e0685ca
Allow failure with bubblewrap for now
2019-05-08 21:36:29 +02:00
jvoisin
b8c92fec09
Fix the testsuite
2019-03-23 00:41:23 +01:00
georg
2dc097baf3
CI: Add job to run tests on gentoo
...
Closes #93
2019-03-09 04:15:10 -08:00
georg
e40eb92b55
CI: Don't run 'pip3 install' the Docker images already does that
2019-03-07 21:53:43 +01:00
georg
a5a3e4677f
CI: Drop obsolete tags to force jobs to run on whitewhale
...
This made sense some time ago. Nowdays, the whitewhale runner seems to
not really be reliable, so tagging jobs with it doesn't gain much.
Relates #45
2019-03-07 21:53:43 +01:00
georg
adf7adf854
CI: Don't install packages in the jobs, now handled via pre-built images
...
Relates #45
2019-03-07 21:53:43 +01:00
georg
2b4f2199e4
pylint: disable 'no-else-return' rule (R1705)
2019-03-07 21:53:43 +01:00
georg
459ed07443
CI: Use own images to speed up jobs
...
Relates #45
Relates #93
2019-03-07 21:53:43 +01:00
intrigeri
e8c1bb0e3c
Whenever possible, use bwrap for subprocesses
...
This should closes #90
2019-02-03 19:18:41 +01:00
jvoisin
1d75451b77
Add some type annotations to the nautilus extension
2018-11-08 21:40:33 +01:00
jvoisin
e70ea811c9
Implement support for .avi files, via ffmpeg
...
- This commit introduces optional dependencies (namely ffmpeg):
mat2 will spit a warning when trying to process an .avi file
if ffmpeg isn't installed.
- Since metadata are obtained via exiftool, this commit
also refactors a bit our exfitool wrapper.
2018-10-22 12:58:01 +02:00
Rémi Oudin
f1552b2ccb
Make testsuite fail if coverage is under 100%
...
Fixes issue #61
2018-10-12 17:07:56 +02:00
jvoisin
0d25b18d26
Improve both the typing and the comments
2018-10-05 17:07:58 +02:00
jvoisin
7f629ed2e3
Run the testsuite exclusively on Whitewhale for now
...
This should fix the intermittent failures, thanks
to @pollo for the tip
2018-09-25 17:09:04 +02:00
jvoisin
91e80527fc
Add archlinux to the CI
2018-09-01 15:41:22 +02:00
jvoisin
aba9b72d2c
Fix some leftovers from the previous commit
2018-08-26 01:10:48 +02:00
jvoisin
b32ba9f736
Improve a bit nautilus' popup
2018-07-25 22:48:05 +02:00
jvoisin
7697f9c085
Improve the linters' coverage
2018-07-23 23:55:45 +02:00
jvoisin
22e3918f67
Add pylint3 to the ci
2018-07-09 01:22:08 +02:00
jvoisin
86fe3aa584
Fix the previous commit
2018-07-09 00:30:16 +02:00
jvoisin
cc327b1592
Minor improvement of fedora's duration in the testsuite
2018-07-09 00:27:40 +02:00
jvoisin
02f7605ac1
MAT2 is now cleaning revisions from odt files!
2018-07-01 21:09:20 +02:00
jvoisin
63b19416ef
Pyflakes should run on the testsuite too
2018-06-22 21:18:22 +02:00
jvoisin
84277740a9
Add fedora in the CI
...
refactor
2018-06-19 00:01:28 +02:00
jvoisin
b310a18e69
Add branch coverage to the CI
2018-06-10 01:02:21 +02:00
jvoisin
6a1b0b31f0
Add more typing and use mypy in the CI
2018-06-04 23:20:30 +02:00
jvoisin
e71eff4814
Make bandit happier too.
2018-06-04 20:46:22 +02:00
jvoisin
38fae60b8b
Rename some files to simplify packaging
...
- the `src` folder is now `libmat2`
- the `main.py` script is now `mat2.py`
2018-05-18 23:52:40 +02:00
jvoisin
459e9b82f7
Add linting to the CI
2018-05-01 00:11:16 +02:00
jvoisin
cef5068fe9
Silence the apt
process of the CI
2018-04-14 16:12:32 +02:00
jvoisin
bbde340e8a
Silence a bit the CI
2018-04-11 23:40:35 +02:00
jvoisin
3c0e04dacc
Add coverage
2018-03-27 21:14:19 +02:00
jvoisin
e313ddb721
Add gitlab-ci
2018-03-27 20:42:13 +02:00