Commit Graph

666 Commits

Author SHA1 Message Date
Josh Soref
bc7767728d spelling: syntax
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Josh Soref
500fa07895 spelling: structure
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Josh Soref
d4d3d66352 spelling: skipping
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Josh Soref
b28e1b8881 spelling: service
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Josh Soref
2822da6054 spelling: sequentially
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Josh Soref
42c82564ae spelling: reference
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Josh Soref
8363b28e63 spelling: receives
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-06 13:25:49 -04:00
Alex
9b19067edc Merge pull request #133 from lafriks-fork/feat/generated_files_proto_go_sum
Generated proto file and PNP detection
2022-10-06 10:01:35 +02:00
Alex
7633227f79 Merge pull request #131 from go-enry/feature/sync-linguist-4ffcdbcb
Update Linguist to v7.21.0
2022-10-06 09:59:13 +02:00
Alex
a53744636a Merge pull request #136 from cboylan/fix-vendor-regex
Fix IsVendor() regex generation
2022-10-06 09:41:27 +02:00
Clark Boylan
16a5ff8e22 Fix IsVendor() regex generation
The regex generation introduced by
20726a1de3
had a subtle but important bug in it. In particular the ^ and ^|/
prefixes were only applied to the first regex in the OR'd groupings and
not every regex in the grouping.

We fix this by wrapping each of those OR'd groups in a new non capturing
group to ensure the prefix applies to every entry in the OR'd listing.

Additionally we add three new quick tests of IsVendor to guard against
this regression in the future.

This fixes https://github.com/go-enry/go-enry/issues/135
2022-08-25 16:22:09 -07:00
Josh Soref
799e590e75 spelling: maintaining
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-09 00:45:29 -04:00
Josh Soref
b5b0d48170 spelling: linguist
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-09 00:45:29 -04:00
Josh Soref
b4e2aae0cf spelling: identifies
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-09 00:45:29 -04:00
Josh Soref
6c16f2f4de spelling: identified
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-09 00:45:29 -04:00
Josh Soref
95c80c474b spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-08 23:31:59 -04:00
Josh Soref
d768719609 spelling: distribution
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-08 23:31:59 -04:00
Josh Soref
cfef8c28e5 spelling: disambiguates
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-08 23:31:59 -04:00
Josh Soref
2482431dd2 spelling: concatenate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-08 23:31:59 -04:00
Josh Soref
7b3e094013 spelling: arbitrary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-08 22:52:56 -04:00
Josh Soref
2e629094b6 spelling: allows
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-08 22:52:56 -04:00
Lauris BH
05907fe7ec Change Yarn PnP regex to include all .pnp.* files 2022-08-01 21:35:46 +03:00
Lauris BH
a6f32e054c Remove go.sum from generated 2022-08-01 21:06:24 +03:00
Lauris BH
fe195c67a9 Generated go.sum and proto file detection 2022-07-18 15:08:20 +03:00
github-actions
60edc790b3 Updated Linguist to v7.21.0 2022-06-09 20:09:50 +00:00
Alex
ed2adad159 Merge pull request #124 from go-enry/feature/sync-linguist-1649189530
Update Linguist to v7.20.0
2022-04-11 20:13:21 +02:00
Alex
f0f31be56c Merge pull request #128 from look/look/deterministic-branch-name
Use a deterministic branch name for Linguist updates
2022-04-11 20:10:51 +02:00
Luke Francl
3717982d3a Use a deterministic branch name for Linguist updates 2022-04-08 15:46:36 -07:00
github-actions
9f73cdf211 Updated Linguist to v7.20.0 2022-04-05 20:12:53 +00:00
Alex
f1e62adcd4 Merge pull request #80 from trilogy-group/master
Expose IsTest and GetLangaugeType methods  & Fix test cases for Java Bindings
2022-03-24 12:16:29 +01:00
Alex
6f052a7bc7 Merge pull request #112 from silverwind/poetry-generated
Add poetry.lock to generated files
2022-03-24 12:15:28 +01:00
Alex
c9d77cbeeb Merge pull request #95 from go-enry/feature/sync-linguist-1646338078
Update Linguist to v7.19.0
2022-03-24 11:42:20 +01:00
Alex
9031a3ad42 Merge pull request #113 from silverwind/editorconfig
Add .editorconfig
2022-03-24 11:41:25 +01:00
Alex
51f2fc775b Merge pull request #118 from lafriks-fork/fix/sync_v7.19.0
Add check for non-backtracking subexpressions
2022-03-24 11:34:01 +01:00
Lauris BH
ae2b0576a7 Add check for non-backtracking subexpressions 2022-03-21 13:54:11 +02:00
silverwind
dd1a93bd71 Add .editorconfig
Had some issues with my editor trying to convert tab-indented files to
spaces, this resolves that.
2022-03-17 15:52:06 +01:00
silverwind
b1bf2238b3 Add poetry.lock to generated files
`poetry.lock` is a generated file by the python poetry package manager,
see https://python-poetry.org/docs/basic-usage/ for references.
2022-03-17 15:29:07 +01:00
UtsavChokshi
bd1597a740 Add new line 2022-03-04 16:15:35 +05:30
Alex
47f104479c Merge pull request #96 from go-enry/revert-81-feature/sync-linguist-1645474063
Revert "Update Linguist to v7.19.0"
2022-03-04 10:58:33 +01:00
Alex
6de77247e4 Revert "Update Linguist to v7.19.0" 2022-03-04 10:44:00 +01:00
Alex
76c52a9b11 Merge pull request #81 from go-enry/feature/sync-linguist-1645474063
Update Linguist to v7.19.0
2022-03-04 10:42:52 +01:00
github-actions
8eac4cab85 Updated Linguist to v7.19.0 2022-03-03 20:08:49 +00:00
Utsav Chokshi
4e3a49c565 Expose GetLanguageType (#2) 2022-03-02 10:32:57 +05:30
Utsav Chokshi
821f01cdde Expose IsTest Method (#1) 2022-03-01 14:28:53 +05:30
github-actions
513c659119 Updated Linguist to v7.19.0 2022-02-21 20:08:34 +00:00
Utsav Chokshi
81f5d81b7b Correct Test cases 2022-02-18 15:33:15 +05:30
Alex
525ee9b302 Merge pull request #73 from go-enry/feature/sync-linguist-1639598838
Update Linguist to v7.18.0
2021-12-20 19:08:13 +01:00
github-actions
2febea0489 Updated Linguist to v7.18.0 2021-12-15 20:08:13 +00:00
Alex
41482679da Merge pull request #72 from look/look/auto-update-readme
Auto-update Linguist version in README.md
2021-11-17 14:47:20 +01:00
Alex
ebae3f80bd Merge pull request #66 from go-enry/feature/sync-linguist-1636907719
Update Linguist to v7.17.0
2021-11-17 14:46:25 +01:00