Commit Graph

19 Commits

Author SHA1 Message Date
Andrei Borzenkov
55268fee2c [#106] Fix using ./ in paths
Problem: --ignored and --root CLI options had misbehave when you use ./ in path

Solution: add path normalisation and path-equality from System.FilePath instead of common functions for strings
2022-07-13 16:13:38 +04:00
Andrei Borzenkov
654d143113 [#105] Add hlint support, enable -Weveryting
Problem: we had a lot redundant dependencies and had no linter for handling obvious errors

Solution: hlint support and enable -Weverything flag, fix all hints from them, add hlint to the CI pipeline
2022-07-13 11:08:01 +04:00
Andrey Demidenko
29d4f12c61
[#81] Add config option for localhost links
Problem:
Almost all the time we can't validate localhost links, so we just skip them.
But to run ftp links tests (#47) we need to refer to localhost.

Solution:
Add config option whether to ignore localhost links and provide bats
tests for this new feature.

Co-authored-by: Alexander Bantyev <alexander.bantyev@serokell.io>
2021-10-08 13:29:19 +03:00
Alexander Bantyev
aee39ef06e
Fix docker image upload (#63)
* Fix docker image upload

The previous way of uploading images to dockerhub exposed our password.
Prevent this from happening by using a separate script instead of calling
skopeo directly.

Co-authored-by: Zhenya Vinogradov <zhenyavinogradov@gmail.com>
2021-03-30 17:15:20 +03:00
Zhenya Vinogradov
264f52cda2
Add curl package to the auto-release CI job
It was accidentally removed in 4eca82663a
2021-03-19 15:22:34 +03:00
Zhenya Vinogradov
a0b3f9a5ad
Add trailing whitespace check to CI
The check is imported from serokell.nix. Nix files have been refactored,
to make 'cleanGit' funcion available in ci.nix
2021-03-11 14:47:34 +03:00
Zhenya Vinogradov
4eca82663a
Create a file for all nix expressions used by CI
Makes it easy to add new nix-based checks to CI
2021-03-11 14:04:20 +03:00
Alyona Antonova
41c6dbb3af [#135] Add tests and markdowns to check ignoring modes performance
Problem: There are no tests checking the performance
of different ignoring modes.

Solution: Add such tests to `Xrefcheck.Test.IgnoringSpec`.
Also add markdowns to test on real files.
2021-03-09 22:18:07 +03:00
Zhenya Vinogradov
245966c0f8
[OPS-1023] Add '--insecure-policy' to skopeo invocation
Without it skopeo fails because it requires configured policy file to
verify downloaded images, but we don't need a policy file because we
only use skopeo for uploading
2020-08-10 15:14:45 +03:00
Alexander Bantyev
76b7ae101b
Add a windows build 2020-07-03 12:08:22 +03:00
Alexander Bantyev
a16fbbc57d
Add ability to build with docker 2020-06-29 17:49:23 +03:00
Alexander Bantyev
31cde8652e
Automatically generate cache 2020-02-18 10:40:16 +03:00
Yorick van Pelt
1c7288cdb7
buildkite: inject GITHUB_TOKEN via vault 2020-02-10 20:55:01 +01:00
martoon
fd949bc3c8
Rename the project to xrefcheck
Problem: the previous name `crossref-verifier` was found long and
boring.

Solution: rename to `xrefcheck`.
2020-01-14 12:17:01 +03:00
Alexander Bantyev
c98c434201
Add buildkite steps for static building and releasing 2019-12-26 15:43:45 +03:00
Alexander Bantyev
5678523031
Bootstrap nixpkgs 2019-12-20 16:50:00 +03:00
Ivan Gromakovskii
8bb379c583
[INT-128] Add reuse lint check to CI
Problem: we want to make sure the repo is always REUSE-compliant.

Solution: add a check to CI that runs `reuse lint`.
2019-12-19 16:19:28 +03:00
Ivan Gromakovskii
8060c7187b
[INT-128] Make the repository REUSE compliant
Problem: nowadays we want all files to store licensing information in
machine-readable format and to use reuse tool to check that. But the
repo is not REUSE compliant.

Solution: add `LICENSES` folder and licensing information for each
file.
2019-12-19 16:19:27 +03:00
Alexander Bantyev
87cf89de2e
Don't build tests in external projects 2019-12-09 14:41:03 +03:00