-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Allow markdown files to read from the LFS #5787
Allow markdown files to read from the LFS #5787
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5787 +/- ##
==========================================
+ Coverage 38.83% 38.87% +0.03%
==========================================
Files 344 345 +1
Lines 49393 49491 +98
==========================================
+ Hits 19184 19239 +55
- Misses 27440 27471 +31
- Partials 2769 2781 +12
Continue to review full report at Codecov.
|
|
|
c669d70
to
b8ea638
Compare
More tests wired into TestGit . |
@zeripath please add integration test |
Ok, basically the issue is that we don't have proper integration tests for LFS so I'll have to add those. This may broaden the scope the of this PR considerably as I suspect that a number of other issues will be found, for example, if we do any integration tests with gzip enabled then the issues that led to #5722 will manifest. |
Perhaps a different PR is needed for the tests (at least all the ones that will be successful) which will at least reduce the potential increase in size of this PR |
@techknowlogick I think that's the only sensible way to do it - I'm just loathe to make PR dependencies. Our integration tests of the editor view are also somewhat lacking, as are those of the I guess that's technical debt for you. |
Of course if #5722 was merged I'd actually have the beginnings of an LFS test framework to work with... |
cc61476
to
da369ad
Compare
OK the /raw and /media pathways are now checked in TestGit. |
I've removed the |
@lunny is the change of name to lfs_pointers.go ok? |
Ping @lunny |
@zeripath I think the file names could be more simpler as |
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
82b96c8
to
6be64fb
Compare
OK, I've done that. |
@lunny any more work needed on this? |
This PR makes it possible for the markdown renderer to render images and media straight from the LFS.
Fix #5746
Signed-off-by: Andrew Thornton art27@cantab.net