[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: salsa.debian.org/debconf-team/public/share/debconf25, git lfs CI test failed



You need to install and enable git-lfs on your computer before you check out the repo. Just follow the instructions in the README.

Without git-lfs being installed and configured on your local machine you would be just committing the large files directly into git, instead of offloading them to git-lfs. And this check makes sure that all large files in your pull request are actually being committed via git-lfs and *not* plain git.

On Wed, 13 Aug 2025 at 11:21, xiao sheng wen(肖盛文) <atzlinux@debian.org> wrote:
Hi,

  Our debconf25 salsa repo has CI test failed now.

https://salsa.debian.org/debconf-team/public/share/debconf25/-/pipelines/908238/failures

$ find * -type f -size +1M | awk '{print} END {if (NR > 0) {exit(1)}}'
$ echo "Checking for non-LFS files that are larger than 1.5MiB in all history"
Checking for non-LFS files that are larger than 1.5MiB in all history
$ git lfs migrate info --above=1.5MiB --include-ref=HEAD --pointers=ignore | awk '{print} END {if (NR > 0) {exit(1)}}'
migrate: Sorting commits: ..., done.
migrate: Examining commits: 100% (93/93), done.
*.pdf   1.8 MB  1/6 files       17%
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

Who is familiar with git lfs can help to fix this?


Thanks!
--
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB


--
Best regards,
    Aigars Mahinovs

Reply to: