Commit Graph

102 Commits

Author SHA1 Message Date
d0ea790c6a fix(make): use proper dependency tracking for the build output
Declare the whole keyring data as well as the code as input dependency
for the build target. This way we can properly depend on the build
target for installation without forcing rebuilding on every invocation.

A rebuild will be triggered if either the keyring or the source code
creating the build output changes.

The directories are added to the source dependencies on purpose to
guarantee that changes like deleted files will result in a rebuild.

The mtime of the build directory is force updated on every run to allow
make to track the output artifacts mtime compared against the
dependencies.
2021-11-30 22:54:17 +01:00
31a49c89a3 Fail test target under 100% test coverage
Makefile:
Fail coverage report below 100% test coverage.
2021-11-30 22:54:16 +01:00
5f36beff90 feature(ci): run keyring integrity check if keyring or code changes 2021-11-30 22:54:15 +01:00
a25c267f26 Add more specific coverage configuration
pyproject.toml:
Set specific source for `toolscoverage.paths` (as we only provide one
module).
Set `tools.coverage.run.relative_files` to true (although it is still
bug riddled and does not seem to work as advertized in regards to xml
output: https://github.com/nedbat/coveragepy/issues/963,
https://github.com/nedbat/coveragepy/issues/1147).
Set `tool.coverage.xml.output`, so we don't have to provide it on the
commandline.

Makefile:
Do not provide an output file to the coverage xml call, as we do that in
configuration now.
2021-11-30 22:54:14 +01:00
c807a81a57 feature(ci): add testing and coverage data to gitlab ci artifacts 2021-11-30 22:54:14 +01:00
f27a7b90c2 Makefile: Use coverage instead of pytest
Makefile:
Run pytest via coverage in `make test` to also generate a coverage
report.
2021-11-30 22:54:13 +01:00
0ca74e243b feature(keyringctl): adding basic infrastructure for running tests 2021-11-30 22:54:13 +01:00
10d54ac35d feature(make): adding fmt target to format the project accordingly 2021-11-30 22:54:12 +01:00
58307c629d chore(keyringctl): modularize the code for overview and testing 2021-11-30 22:54:12 +01:00
f6e3a4e94b feature(keyringctl): use build command to create final artifacts
This allows an easy to use cli which invokes the export function to get
the keyring and uses the ownertrust and revoke functions to write all
artifacts into a target directory.
2021-11-30 22:54:10 +01:00
b91e8b983c feature(keyringctl): move main/packager folders to isolated keyring dir
This helps to structure the layout of the repository better by having
one root folder that contains the actual decomposed keyring structure.
2021-11-30 22:54:09 +01:00
153ae31437 Makefile: Change to use new targets
Makefile:
Remove soon unneeded targets for dist and upload.
Add lint and build targets.
Simplify the installation and uninstallation target.
2021-11-30 22:54:07 +01:00
eef34e85a2 Prepare release 2021-10-28 11:59:05 +02:00
c325a25de5 Prepare release 2021-09-02 22:08:43 +02:00
ad65524ec2 Prepare release 2021-08-20 09:07:31 +02:00
e3ab3cf2f6 Prepare release 2021-08-18 23:59:07 +02:00
39194adf3f Prepare release 2021-08-02 14:16:38 +02:00
ebb7af3852 Prepare release 2021-06-16 09:53:56 +02:00
6c54e35916 Prepare release 2021-01-10 21:28:53 +01:00
80e1407754 Prepare release 2020-12-10 21:02:08 +01:00
3490b904b1 Prepare release 2020-10-28 17:04:48 +01:00
93dea57cef Prepare release 2020-08-20 14:23:38 +02:00
d34e495c40 Prepare release 2020-08-17 23:46:12 +02:00
df0685c894 Prepare release 2020-06-22 17:29:32 +02:00
b5dba61b0c Prepare release 2020-06-03 13:49:25 +02:00
b0ee67ecc7 Prepare release 2020-04-22 14:56:19 +02:00
24aab64152 Prepare release 2020-01-08 14:48:15 +01:00
30bf6dbbce Prepare release 2019-12-19 17:01:08 +01:00
3a6f172ff9 Prepare release 2019-10-18 09:06:04 +02:00
4cf0341ed5 Prepare release 2019-10-11 23:10:52 +02:00
41c6a2b92c Prepare release 2019-10-07 23:41:41 +02:00
283e940bbe Prepare release 2019-08-27 21:26:42 +02:00
c4f33de41d Prepare release 2019-08-05 09:57:20 +02:00
06553feca9 Prepare release 2019-01-23 22:55:41 +01:00
b654887de7 Prepare release 2019-01-22 15:18:53 +01:00
cd5d6983b9 Prepare release 2018-12-18 09:19:28 +01:00
7a78f814cc Prepare release 2018-11-28 13:10:34 +01:00
51cb7ec077 Prepare release 2018-11-26 16:40:40 +01:00
586568d991 Prepare release 2018-11-22 12:29:45 +01:00
833e213974 Prepare release 2018-11-13 20:32:03 +01:00
cc8ad71eac Prepare release 2018-10-31 17:34:21 +01:00
da5de1b77a prepare release
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-10-18 14:53:51 +02:00
fbcb563e5f Prepare new release
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2018-10-03 21:21:15 +02:00
a685c3cd6e prepare release 2018-08-08 09:48:47 +02:00
cab9b11182 prepare release 2018-06-27 10:56:01 +02:00
2440c44491 prepare release 2018-06-26 08:53:51 +02:00
c95a169e77 Update keyring 2018-04-04 09:14:08 +02:00
876a8a10dd Fix bashism in install target 2018-04-03 21:12:10 +02:00
1da4852c7c Update keyring
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2018-03-22 21:28:03 +01:00
2126648ec0 Update keyring 2018-03-02 08:01:02 +01:00