Skip to content

Commit 5c63303

Browse files
authored
Revert spelling correction in licence matcher (flutter#7242)
In f986a12 (flutter#7179), the word 'publically' was altered to 'publicly', causing the licence aggregator to fail to match the licence text included in many BoringSSL source files. The original licence includes several misspellings (e.g. 'rouines' rather than 'routines') which we need to faithfully reproduce in our match regex. The failure this triggered went unnoticed during pre-/post-submit due to the fact that the contents of the third_party directory didn't change, so hash of the list of files used as a signature matched the signature in the golden file, causing the run to be skipped.
1 parent f79f7f6 commit 5c63303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/licenses/lib/patterns.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ final List<RegExp> csLicenses = <RegExp>[
12091209
r'^\1\2OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *\n'
12101210
r'^\1\2SUCH DAMAGE\. *\n'
12111211
r'^(?:(?:\1\2?g? *)? *\n)*'
1212-
r'^\1\2The licence and distribution terms for any publicly available version or *\n'
1212+
r'^\1\2The licence and distribution terms for any publically available version or *\n'
12131213
r'^\1\2derivative of this code cannot be changed\. +i\.e\. +this code cannot simply be *\n'
12141214
r'^\1\2copied and put under another distribution licence *\n'
12151215
r'^\1\2\[including the GNU Public Licence\.\]',

0 commit comments

Comments
 (0)