On Fri, Nov 20, 2026 at 01:34:03AM +0800, Zhao Zhili via ffmpeg-devel wrote:
> Hi all,
> 
> There was a thread in 2024 about managing the FATE samples in git:
> 
> https://ffmpeg.org/pipermail/ffmpeg-devel/2024-February/321828.html
> 
> The development workflow was still mailing-list based then, so a git-based
> sample repository would have been as extra moving part. Now that patches
> are reviewed and merged on code.ffmpeg.org <http://code.ffmpeg.org/> mostly, 
> I would like to bring
> the idea back, with a smaller scope than it had originally.
> 
> Adding a sample still means a admin has to copy the file manually, and only
> a few people do it. The code PR itself can already be merged with one click.
> 
> Here is my proposal:
> 
> 1. Create a repo on code.ffmpeg.org <http://code.ffmpeg.org/> that holds the 
> samples, with files tracked
> by git-lfs
> 
> 2. Adding a sample is a PR against that repository.
> 
> 3. When a PR is merged, a Forgejo actions workflow on the default branch
> rsyncs the newly added files to fate-suit.ffmpeg.org 
> <http://fate-suit.ffmpeg.org/>.
> 
> Noting changes for users of the samples. `make fate-rsyncs` keeps pulling
> from rsync://fate-suite.ffmpeg.org, and the existing server remains the place
> FATE runs against. The new repository is only the way files get in.
> 
> The usage pattern suits git LFS. Files are added and rarely modified or 
> removed,
> so there are no stacked versions of the same media to store.
> 
> Everything needed already exists: git, git-lfs, PRs, Forgejo actions and 
> rsync.
> And we can add some check automatically on the fate repo, e.g., set a limit 
> for
> sample size (or a big warning on large file).
> 
> Comments welcome.

This is a great idea.

The git approach would also make *removing* samples added by a failed/stalled 
PR easier;
just revert the given commit.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to