Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply git lfs for creates files #11400

Open
1 task done
MOZGIII opened this issue Jan 24, 2025 · 0 comments
Open
1 task done

Apply git lfs for creates files #11400

MOZGIII opened this issue Jan 24, 2025 · 0 comments
Labels
L: javascript T: bug 🐞 Something isn't working

Comments

@MOZGIII
Copy link

MOZGIII commented Jan 24, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

all

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

No response

Updated dependency

No response

What you expected to see, versus what you actually saw

When dependabot commits files, it ignores gitattributes settings for git lfs. Creates file are written as-is, without lfs.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

A simplest thing to reproduce would be to use yarn 4 with offline installs.

  1. git lfs install
  2. git lfs track '*.zip'
  3. Set up a node.js package.json using yarn init
  4. yarn set version berry
  5. yarn config set enableGlobalCache false
  6. Add some deps, commit them to lfs
  7. Make dependabot run and update some files
  8. Observe that dependabot-created yarn cache files are not in LFS <- this is the bug
@MOZGIII MOZGIII added the T: bug 🐞 Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: javascript T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant