Commit Graph

699 Commits

Author SHA1 Message Date
Martin Leduc
8c3d765eb6
Display short commit name 2024-06-21 20:43:34 -04:00
Alex
9f156d186b
Merge pull request #178 from go-enry/feature/sync-linguist-ee9119e7
Update Linguist to v7.29.0
2024-05-11 20:35:29 +02:00
Alex Bezzubov
e6c8cf49c2 ci: fix python on macos
* bump cffi
 * add Go
2024-05-11 20:21:36 +02:00
Alex Bezzubov
314ed3a388 ci: fix python tests on ubuntu 2024-05-11 20:09:12 +02:00
Alex Bezzubov
064b6fca57 ci: bump python and it's actions
* remove 3.7, add 3.10
 * use the latest versions of actions
2024-05-11 19:52:17 +02:00
Alex Bezzubov
d0d4ffb143 Updated Linguist to v7.29.0, round 2, manual
Updating the commit sha to 4ac734c15a96f9e16fd12330d0cb8de82274f700
as somehow automating picked up a different commit
(probably tagged by mistake upstream)
2024-05-11 19:45:33 +02:00
github-actions
93e24dac3a Updated Linguist to v7.29.0 2024-03-13 20:07:55 +00:00
Alex
53f5aa9866
Merge pull request #174 from go-enry/feature/sync-linguist-7ca3799b
Update Linguist to v7.28.0
2024-02-20 23:46:26 +01:00
github-actions
c5be903c6f Updated Linguist to v7.28.0 2023-12-12 20:08:49 +00:00
Alex
40f2a1e5b9
Merge pull request #173 from go-enry/feature/sync-linguist-b5432ebc
Update Linguist to v7.27.0
2023-09-27 11:48:43 +02:00
github-actions
b03c0bd996 Updated Linguist to v7.27.0 2023-09-22 20:08:27 +00:00
Alex
6d9d5e9184
Merge pull request #169 from go-enry/feature/sync-linguist-bf853f1c
Update Linguist to v7.26.0
2023-09-22 15:10:58 +02:00
Alex Bezzubov
dc1110e30c LanguagesByFilename: fix language order in generated code
Otherwise, generator tests are flaky

test plan
 * make code-generate
 * go test -run '^TestGetLanguagesByFilename$' github.com/go-enry/go-enry/v2
2023-09-22 14:58:53 +02:00
Alex Bezzubov
bd3630419c test: add new corner cases for linguist v7.26
test plan
 - go test -run '^Test_EnryOnLinguistCorpus$' github.com/go-enry/go-enry/v2
2023-09-22 14:46:01 +02:00
Alex Bezzubov
cc878e354c test: drop irrelevant corner case (fixed upstream) 2023-09-22 14:46:01 +02:00
Alex Bezzubov
fc4d2aa5a5 test: output format readability improvement 2023-09-22 14:46:01 +02:00
Alex Bezzubov
561ffd9c86 test: usability in err msg on linguist clone 2023-09-22 14:46:01 +02:00
Alex Bezzubov
8b8cc8a17b test: fix Python tests 2023-09-22 14:42:44 +02:00
Alex Bezzubov
7db593cb32 IsConfiguration: add&fix failing Python case to Go
test plan:
 * ENRY_TEST_REPO=".linguist" \
    go test -run '^TestIsConfiguration$' github.com/go-enry/go-enry/v2
2023-09-22 14:42:44 +02:00
github-actions
84c996dfcf Updated Linguist to v7.26.0 2023-09-14 00:06:22 +02:00
Alex
c3899f12ca
Merge pull request #170 from go-enry/tiny-fixes-2
test: fix LanguagesByFilename case & improve logging
2023-09-14 00:03:53 +02:00
Alex Bezzubov
c7dc5fb77a ci: force distutils for building python 2023-09-14 00:00:55 +02:00
Alex Bezzubov
62cb8695d2 ci: python build verbosity 2023-09-07 00:14:18 +03:00
Alex Bezzubov
59bfa6e3e3 test: increase Linguist shallow clone depth 2023-09-06 23:23:43 +03:00
Alex Bezzubov
b41b4e14fe test: refactor a single maybeCloneLinguist() impl 2023-09-06 23:20:43 +03:00
Alex Bezzubov
b5441048b3 test: actually a correct LanguagesByFilename case :/ 2023-09-06 20:58:00 +03:00
Alex
731c88f592
Merge pull request #168 from go-enry/tiny-fixes
Small improvements
2023-09-06 19:29:56 +02:00
Alex Bezzubov
f435dd406f test: add one more LanguagesByFilename case 2023-09-06 20:26:30 +03:00
Alex Bezzubov
9fc16a9389 ci: fix sync linguist 'No PR' output 2023-09-06 20:26:30 +03:00
Alex
93616cf55b
Merge pull request #157 from go-enry/oniguruma-linguist-tests
Add more oniguruma-only tests on linguist fixtures
2023-03-06 21:40:49 +01:00
Alex
02f30869ca
Merge pull request #156 from go-enry/docs-badges
Docs: update README badges
2023-03-06 21:40:15 +01:00
Alex Bezzubov
16349a2c12 test: more tests on linguist fixtures from #65 (oniguruma-only)
test plan
 - go test -run '^Test_EnryOnLinguistCorpus$' -v github.com/go-enry/go-enry/v2
2023-03-04 19:57:11 +01:00
Alex Bezzubov
d0f92a650a doc: remove Codeconv badge (requires access to all GH repos) 2023-03-04 19:39:29 +01:00
Alex Bezzubov
11a8080935 doc: fix CI badge 2023-03-04 18:54:14 +01:00
Alex
467ac4d2d3
Merge pull request #137 from go-enry/feature/sync-linguist-d7799da8
Update Linguist to v7.23.0
2023-03-04 18:38:39 +01:00
Alex Bezzubov
9ce235f39e test: add new corner cases for linguist v7.23
test plan
 - go test -run '^Test_EnryOnLinguistCorpus$' github.com/go-enry/go-enry/v2
2023-03-03 23:38:02 +01:00
Alex Bezzubov
f206e152e6 test: refactor and simplify TestLinguistSamples
test plan
 - go test -run '^Test_EnryOnLinguistCorpus$' github.com/go-enry/go-enry/v2
2023-03-03 23:14:06 +01:00
github-actions
afe3bdf45a Updated Linguist to v7.23.0 2023-03-03 14:07:28 +01:00
Alex
0e58945703
Merge pull request #151 from go-enry/distinguish-re-syntax
Syntax-aware regexp generation for configurable engines
2023-03-03 13:57:49 +01:00
Alex Bezzubov
8246efecce heuristics regexp engine configurable #3, adapt IsVendor optimization & tests
Regex collation optimization for IsVendor now fails gracefully.
Tests that are affected by non-RE2 syntax are explicitly marked.
2023-02-16 17:55:57 +01:00
Alex Bezzubov
8df9e1ecf2 code-gen: improve ability to debug failures
Code generation failres were hard to identify and undertand

 * avoid unnececary re-formating & memory allocation
 * return clear formatting errors
2023-02-16 17:47:44 +01:00
Alex Bezzubov
6d99af7bbc doc: reformat & clarify 2023-02-16 17:46:23 +01:00
Alex Bezzubov
319e630aaf code-gen: syntax-aware generation of vendor regex 2023-01-19 19:50:22 +01:00
Alex Bezzubov
3aeb9879da heuristics regexp engine configurable #2, skip rules at runtime 2023-01-19 19:50:22 +01:00
Alex Bezzubov
d8913b00e9 code-gen: re-generate code & fixtures 2022-12-25 22:37:52 +01:00
Alex Bezzubov
5e590f3554 code-gen: make content heuristics regexp engine configurable & generation syntax-aware 2022-12-25 22:37:52 +01:00
Alex Bezzubov
0b92f97b9c code-gen: refactoring, re-use function map in templates 2022-12-25 22:37:52 +01:00
Alex Bezzubov
454c78a59f test: bump testify version for better err msg on panic 2022-12-25 22:37:52 +01:00
Alex
ef6c17997c
Merge pull request #152 from go-enry/fix-oniguruma-ci
Fix oniguruma profile on CI
2022-12-25 22:36:42 +01:00
Alex Bezzubov
a139863ceb ci: fix oniguruma profile 2022-12-25 22:33:02 +01:00