-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix(lfs-detection): take into account files without patch #138
fix(lfs-detection): take into account files without patch #138
Conversation
❓ Unsure about why diff in |
👋🏽 @davidlj95 @tsimbalar thank you for the contribution 💖 Apologies for not getting back ASAP. May I suggest that we resolve the conversations before the approval please? This will allow for a recorded audit on the decision we had taken for folks who may be following along. Also please ping me in here once it is resolved. I will be able to do the next steps 🙇🏽 |
@davidlj95 @tsimbalar is there anything I can help to get this moving? 🙂 |
Hi @ppremk ! Thanks to you 😊 No worries, as you've seen, wasn't something urgent anyway :P Sorry for disconnecting about this a bit. We just talked and resolved conversations. Will rebase, generate the new |
☝️ Done in b3077e6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidlj95 Let's feel free to merge and ping me. I will proceed to cut a new release
@davidlj95 can you merge it :P :P |
Merging on behalf |
Thanks @ppremk 👍 What is the next step for this change to be part of the next release ? :) |
@tsimbalar forgive me for missing out on this notification. Was OOO and travelling. I have blocked time to cut a new a release and add some release notes pointing to this Issue/PR. 🙇🏽 Thank you for your patience and continued support. |
Hi @ppremk is there any chance you can publish a release in the near future ? :) |
@tsimbalar thank you for the ping. It is now published. Please pardon the delay, this is on me for not getting to it on time. Please let know if there is anything else pending. 🙇🏽 |
Description
Fix #135 issue with PDF files.
Issue
For PDF files, seems that the
patch
field from the PR list files API is not there. Therefore, the check to see if it is stored in LFS or not failslfs-warning/src/index.ts
Lines 53 to 55 in 5d972cf
Proposed solution
Use the
content
field from the get blob API call for those files withoutpatch
. If file contents (base64
encoded, as per docs) start with the Git LFS usual file contents (version https://git-lfs
...) then it's very probably properly stored in Git LFSTests