Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Large Markdown or Asciidoctor README are cut off at 512k bytes from repo front pages #1610

Open
cirosantilli opened this issue Jul 1, 2019 · 0 comments

Comments

@cirosantilli
Copy link
Collaborator

cirosantilli commented Jul 1, 2019

Minimal synthetic examples:

On the above examples, it can be seen that the README is cut off on the repo main pages at: 00000000031999, which according to wc is exactly 512000 bytes.

The blob view however shows up to the correct value of 00000000063999. Edit: as of 2020-06-04 there was an update, and now the blob view just says "Sorry about that, but we can’t show files that are this big right now.", which I'm fine with as it is a clear result. I'd rather have the cropped readme with a clear warning though.

Please either render the full thing, or give a clear warning somewhere that the README is being cut down.

I wonder if it's truly not technically feasible to render it somehow, since the corresponding github pages of those websites render fine: https://cirosantilli.com/linux-kernel-module-cheat/ I know this is a dynamic website, but maybe there's a way.

Real world examples:

Oh, and the blame unicorns "This page is taking way too long to load": https://github.com/cirosantilli/linux-kernel-module-cheat/blame/d6d7f15c912ed6371c8cf15a93f43488d6fc5efb/README.adoc (archive).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants