Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Jacob Lifshay <code@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH] forgejo/pre-commit/config: ensure .forgejo/pre-commit/ignored-words.txt is sorted (PR #20115)
Date: Tue,  5 Aug 2025 04:04:36 +0300 (EEST)
Message-ID: <20250805010436.5F3BF68C397@ffbox0-bg.ffmpeg.org> (raw)

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".

                 reply	other threads:[~2025-08-05  1:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250805010436.5F3BF68C397@ffbox0-bg.ffmpeg.org \
    --to=code@ffmpeg.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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