Commit Graph

19 Commits

Author SHA1 Message Date
Damien Elmes
0cf964b16d trailing newline .ftl check can happen at build time
Removes the need to build ripgrep for CI
2020-11-01 14:59:45 +10:00
evandrocoan
a5061b5a34 trailing-newlines.sh should exit with error code 1 otherwise
the script will not fail/stop.
2020-04-22 20:08:17 -03:00
evandrocoan
e46421c7c9 Fixed ripgrep not installing on ubuntu anymore
https://github.com/BurntSushi/ripgrep#installation
https://github.com/BurntSushi/ripgrep/issues/1232

N.B. Various snaps for ripgrep on Ubuntu are also available, but none of them seem to work right and generate a number of very strange bug reports that I don't know how to fix and don't have the time to fix. Therefore, it is no longer a recommended installation option.)
2020-04-20 20:28:38 -03:00
evandrocoan
721453f923 Merge remote-tracking branch 'danielelmes/master' into create_actions_for_windows_macos
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	.github/workflows/checks.yml
#	Makefile
#	pylib/Makefile
#	qt/Makefile
#	qt/tools/typecheck-setup.sh
#	rspy/Makefile
2020-03-24 22:49:49 -03:00
evandrocoan
20c9837770 Created the .github/workflows/windows.yml
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	Makefile
#	qt/tools/typecheck-setup.sh
#	react/Makefile
#	rspy/Makefile
#	svelte/Makefile
#	tslib/Makefile
2020-03-23 19:51:03 -03:00
evandrocoan
b1b3e5b87c Merge remote-tracking branch 'danielelmes/master' into fix_tests_on_windows
# Conflicts:
#	.github/scripts/trailing-newlines.sh
2020-03-23 18:44:11 -03:00
Damien Elmes
1f8a1126a4 don't require trailing whitespace in .sql files 2020-03-21 07:49:44 +10:00
evandrocoan
1ade1a1a0f Fixed moved comment line on qt/aqt/main.py, long variables names on
pylib/Makefile and qt/Makefile, and rg --version not going to /dev/null
on .github/scripts/trailing-newlines.sh
2020-03-18 11:36:50 -03:00
evandrocoan
d6f900647b Fixed trailing-newlines.sh not failing when rg is not installed 2020-03-17 19:48:15 -03:00
Damien Elmes
2ed7e3d1cd ignore .json files 2020-03-14 19:36:03 +10:00
Damien Elmes
1bde8d72bb check for files without a final newline 2020-03-09 18:57:55 +10:00
Damien Elmes
5ea8a59139 match Alan's patch 2020-02-27 12:52:00 +10:00
Damien Elmes
34fcbf6af8 pipefail requires removing -q
https://github.com/ankitects/anki/pull/464#discussion_r384485166
2020-02-27 12:50:11 +10:00
evandrocoan
47ccd6638d Added -o pipefail to all set -e ensuring the build fails when some
operation with pipe exits error status.

# Conflicts:
#	Makefile
2020-02-24 20:18:56 -03:00
Damien Elmes
b821209f83 case insensitive contributor compare
https://github.com/ankitects/anki/pull/428
2020-01-24 17:27:43 +10:00
Damien Elmes
c6d0425020 basic anti spam protection 2020-01-15 20:34:10 +10:00
Erez Volk
bd9aaa9296 Small fixes and tweaks to "Tag Modified":
- No need for the checkbox, as an unchecked box is equal to an empty
`QLineEdit`.
- The value was saved to the profile but not loaded.
- And the real pièce de résistance: I've figured out how to "Promote"
the `QLineEdit` to a `TagEdit`.

Hope you like it! :)
2020-01-15 10:46:05 +02:00
Damien Elmes
e9773fb461 need full checkout to get contribs history 2020-01-06 19:27:17 +10:00
Damien Elmes
a4d37e4014 split contrib check into separate file 2020-01-06 15:37:21 +10:00