Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] forgejo/pre-commit/config: ensure .forgejo/pre-commit/ignored-words.txt is sorted (PR #20115)
@ 2025-08-05  1:04 Jacob Lifshay
  0 siblings, 0 replies; only message in thread
From: Jacob Lifshay @ 2025-08-05  1:04 UTC (permalink / raw)
  To: ffmpeg-devel

PR #20115 opened by Jacob Lifshay (programmerjake)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20115
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20115.patch

They were not sorted before, sort them using LC_ALL=C since that's what file-contents-sorter supports.


>From 2a5dbfc57325304becdcba337cd96c7f475cb25c Mon Sep 17 00:00:00 2001
From: Jacob Lifshay <programmerjake@gmail.com>
Date: Mon, 4 Aug 2025 17:56:27 -0700
Subject: [PATCH 1/2] forgejo/pre-commit/ignored-words: sort words

They were not sorted before, sort them using LC_ALL=C
since that's what file-contents-sorter (added in next commit) supports.

Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
---
 .forgejo/pre-commit/ignored-words.txt | 82 +++++++++++++--------------
 1 file changed, 41 insertions(+), 41 deletions(-)

diff --git a/.forgejo/pre-commit/ignored-words.txt b/.forgejo/pre-commit/ignored-words.txt
index 52ba0d9e56..04d74edc32 100644
--- a/.forgejo/pre-commit/ignored-words.txt
+++ b/.forgejo/pre-commit/ignored-words.txt
@@ -1,118 +1,118 @@
+ACN
+ALOG
+ALS
+ANC
+ANS
+BREIF
+BU
+CAF
+Collet
+FIEL
+FILTERD
+FPR
+Hald
+LAF
+LinS
+PAETH
+PARM
+PixelX
+Psot
+Reencode
+SAV
+SEH
+SER
+SIZ
+STAP
+TE
+TRUN
+TYE
+Tung
+UES
+VILL
 abl
 acount
-ACN
 addin
 alis
 alls
 als
-ALOG
-ALS
-anull
-ANC
 ans
-ANS
+anull
 basf
 bloc
 brane
-BREIF
 bu
-BU
 bufer
 caf
-CAF
 clen
 clens
-Collet
 compre
 dum
 endin
 erro
 fiel
-FIEL
-fils
 filp
+fils
 filterd
-FILTERD
 fle
 fo
-FPR
 fro
-Hald
+indx
 ine
 inh
-inouts
-indx
 inout
+inouts
 inport
 ist
 laf
-LAF
 lastr
-LinS
 mapp
 mis
 mot
-nd
 nIn
+nd
 offsetp
 orderd
 ot
 outout
+pEvents
 padd
 paeth
-PAETH
 parm
-PARM
 parms
-pEvents
-PixelX
-Psot
 quater
 readd
-reencode
-Reencode
 recuse
 redY
+reencode
 remaind
 renderD
 rin
-SAV
-SEH
 ser
-SER
 setts
 shft
 siz
-SIZ
 skipd
 sme
 som
 sover
-STAP
 startd
 statics
 struc
 suble
+tE
 te
-TE
 tha
 tne
 tolen
 tpye
 tre
-truns
 trun
-TRUN
-Tung
-tE
-TYE
+truns
 ue
 ues
-UES
 vai
 vas
-vor
 vie
-VILL
+vor
 wel
 wih
-- 
2.49.1


>From 65f6c655ca49bdd67e3e4159137a1395898fa075 Mon Sep 17 00:00:00 2001
From: Jacob Lifshay <programmerjake@gmail.com>
Date: Mon, 4 Aug 2025 17:58:34 -0700
Subject: [PATCH 2/2] forgejo/pre-commit/config: ensure
 .forgejo/pre-commit/ignored-words.txt is sorted

Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
---
 .forgejo/pre-commit/config.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.forgejo/pre-commit/config.yaml b/.forgejo/pre-commit/config.yaml
index 965ae92caa..58ab1a1cce 100644
--- a/.forgejo/pre-commit/config.yaml
+++ b/.forgejo/pre-commit/config.yaml
@@ -10,6 +10,11 @@ repos:
     - id: check-shebang-scripts-are-executable
     - id: check-yaml
     - id: end-of-file-fixer
+    - id: file-contents-sorter
+      files:
+        .forgejo/pre-commit/ignored-words.txt
+      args:
+        - --unique
     - id: fix-byte-order-marker
     - id: mixed-line-ending
     - id: trailing-whitespace
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-05  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-05  1:04 [FFmpeg-devel] [PATCH] forgejo/pre-commit/config: ensure .forgejo/pre-commit/ignored-words.txt is sorted (PR #20115) Jacob Lifshay

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git