Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/NOTICE
diff options
context:
space:
mode:
authorSami Hiltunen <shiltunen@gitlab.com>2023-02-28 11:47:17 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2023-02-28 15:36:59 +0300
commitdea2290273e3c166847d399d9ed4e706d6d90dcc (patch)
treefd99cbab2dda184cc02d5ed1965489f6133a9b70 /NOTICE
parent770edd2d7f8324da646df478eb271544393316df (diff)
Include go-license-detector performance patch in fork
The library is using a regex to split files from possible first lines of licenses. It uses normalized first line's from known licenses to build the regex. The problem is that App-s2p.txt license's first line normalizes into an empty line, which causes the regex to match every line beginning and ending. Each split is treated as a possible license candidate and analyzed. This has a drastic effect on performance as any large files that look like possible licenses will have the logic run for each line. This commit solves the problem by dropping the problematic license from the first line regex. Proper fix would be better but this allows us to test the effect on performance faster. This changes our fork to point to a version that contains the fix for the performance issue. The fork is otherwise the same.
Diffstat (limited to 'NOTICE')
-rw-r--r--NOTICE2
1 files changed, 1 insertions, 1 deletions
diff --git a/NOTICE b/NOTICE
index a71c99bec..2b036291d 100644
--- a/NOTICE
+++ b/NOTICE
@@ -19735,7 +19735,7 @@ LICENSE - github.com/jcmturner/rpc/v2
LICENSE - github.com/jdkato/prose
MIT License
-Copyright (c) 2017 Joseph Kato
+Copyright (c) 2017 -2018 Joseph Kato
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal