Commit Graph

20 Commits

Author SHA1 Message Date
Roman Melnikov
8e4de7a50a
[Chore] Fix autoreleasing CI job
Problem: After a recent switch to GitHub Actions, job that creates
prerelease suddenly stopped working.

Solution: Switch to the autoreleasing script from serokell.nix
which uses 'gh' instead of 'hub'.
2023-09-22 16:00:31 +02:00
Philipp Herzog
40a2451105
[Chore] Replace buildkite ci with github-actions 2023-06-21 11:49:32 +02:00
Adrián Enríquez
3c16b90bdf
[Chore] Fix CI danger checks
Problem: the danger checks were failing because it was configured to
fetch only and partially the current PR branch.

Solution: force the danger checks CI to get all the repository branches.
2022-12-20 16:50:54 +01:00
martoon
d259a3c7e2
[Chore] Add danger checks
Problem: it would be helpful to have checks for common rules on styling
commits and stuff, to avoid checking those manually every time.

Solution: add Danger checks, mostly the same we had in Morley.
2022-12-20 04:55:54 +03:00
Anton Sorokin
fb77575b0b
[#164] Add workflow for running Windows tests on CI
Problem: we are not testing behavior of xrefcheck on Windows

Solution: and add workflow to run
golden and tasty tests on CI
via github-actions windows runner
Some subproblems appear:

1.
Problem: CI build fails beacuse it needs `pcre` package
Solution: add it (somehow), see `install pacman dependencies`
in ci.yml

2.
Problem: Network errors displayed different on different platforms
Solution: collect output from both and use
`assert_diff expected_linux.gold || assert_diff expected_windows.gold`

3:
Problem: "Config matches" test is failing because checkout action
clone files with CRLF, and test assert equality of two ByteStrings
Solution: manually remove CR
2022-11-30 21:00:58 +02:00
Diogo Castro
e6454171cc
[Chore] Update release checklist 2022-09-28 10:58:59 +01:00
Diogo Castro
4eadd0198a
[Chore] Update release instructions
Problem: Turns out the release instructions are not entirely accurate.

In order for `xrefcheck-action` to work, the release page must have the
linux binary and the windows zip file attached.

Turns out the recommended way to do this is to edit the "auto-release"
page created by the "Create a pre-release" CI step, see the instructions
here:
https://raw.githubusercontent.com/serokell/scratch/release-binary/scripts/release-binary.sh

Solution: edit the release checklist to include these instructions.
2022-09-24 18:18:04 +01:00
Diogo Castro
0871e29907
v0.2.1 release 2022-09-24 08:30:53 +01:00
Diogo Castro
bc9d77f17a
[Chore] Add release checklist to PR template 2022-09-21 11:23:41 +01:00
Diogo Castro
8d2f7c0ed4
[Chore] Fix broken links in PR template 2022-09-21 11:23:33 +01:00
Diogo Castro
7a93f09fcb
[Chore] Add missing placeholder to PR template 2022-07-23 18:58:50 +01:00
Constantine Ter-Matevosian
b9e7ffb99d
[#75] Fix the root with an appended slash support
Problem: The results of the repository analysis will always contain
invalid references if the root contains a trailing forward slash.

Solution: Strip the root's trailing slash (if present) when having it be
given as an argument of the System.FilePath.Posix.takeDirectory
function.
2021-10-26 15:16:47 +03:00
Ivan Gromakovskii
ec9f8bae5e
Add a changelog, require its maintenance
Problem: we are going to release this tool and from that point
it would be nice to maintain its changelog.

Solution: add a simple CHANGES.md and update PR template.
2020-01-14 20:24:01 +03: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
Ivan Gromakovskii
3b1c666e1e
Add information about REUSE to contribution guidelines
Problem: we use REUSE headers, but casual contributor may not know
anything about them, it makes it harder to contribute.

Solution: describe legal stuff in `CONTRIBUTING.md`.
2019-12-19 16:19:27 +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
martoon
7044c5bcc7
Fix broken link to issues page
Looks it GitHub has changed how links to issues and pull requests pages
work.
2019-12-17 13:41:05 +03:00
martoon
e6ceeb9284
Add issue templates
Problem: by default, when creating an issue, user has to fill everything
from scratch and this is not good.

Solution: add issue templates for `task` and `bug`, refer people to
page for openning new issue in `CONTRIBUTING.md`.
2019-12-06 18:38:12 +03:00
Ivan Gromakovskii
f185587b49
Remove meta-comments from PR template
Problem: some comments in PR template only matter when this template
is added to the repo, after that they are useless.

Solution: remove those comments.
2019-09-26 22:17:23 +03:00
martoon
ad1ccccad7
Add README and other required meta files 2019-03-14 20:29:36 +03:00