-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
"Repo is too big to import" #348
Comments
Thanks for letting me know! The line throwing the error is here: https://github.com/codesandbox-app/git-extractor/blob/master/src/routes/github/api.ts#L479. The zip of the repo is 112MB, which was above the 30MB limit we set, we set this limit to make sure we don't hit any memory limit. I raised the limit to 128MB now, but there seems to be another limit that's hit. I can check tomorrow what limit that is and maybe raise it, I think it may be the file count limit (is set to 100 right now). The Regardless, we should re-evaluate our limits from time to time. I can check tomorrow if we can raise any other limits 😄 . |
Did the limits ever get raised here @CompuIves? Curious for this and: #1007 |
Yes! It's now double if I'm not mistaken (200 files). Not that we don't count |
@CompuIves, any plan to raise it more? I must have hit the 200 module limit for my repo ... |
This error message appears after uploading one simple, small vue file already... |
Do you have an example @rowild? The error shouldn't happen for less than 200 files. We're planning to raise the limit this week. |
With example, do you mean a project at codesandbox that I should share? |
Wow! Thanks for reacting so quickly! But just to let you know: this also happens wit SCSS files. I added one. (BTW: uploaded once on Firefox, once on Chrome [where I have some extensions like AdGuard]: same result. But realize another thing: codeSandbox does not update - which is ok -, but an update button the tree view would be awesome!) |
Oh man, I thought our zip implementation would've seen those as text files. A quick fix would be to add them to the list of forced text extensions (the ones defined here https://github.com/CompuIves/codesandbox-client/blob/master/packages/app/src/app/store/modules/files/actions.js#L70-L73). Would you be interested in adding it @rowild? Otherwise I can do it too. |
Ha! You are challenging me! :-) BTW: Uploading to a folder is only possible, if the folder is opened. Uploads won't work if the folder is closed. This is somewhat irritating, since every folder has its own handle icons anyway. So: is this by design and intentional? If so, a warning message would be nice. And if not, please let me know, then I file a separat bug report. |
Thanks! What about my questions though? The closed folder, the update button... Any info for me? ;-) |
Do you mean with this that we should auto open a folder if you hover long enough on it? |
No, I think autoOpen on hover would yield a very stressful user experience. But the fact that you can only upload a file, when the folder is open, and not, when it is closed, should in some way be communicated to the user, IMO. Otherwise I assume: "Ah, each folder has its own upload button, cool! So I do not need to open the e.g. scss folder, instead I just click on the upload button, upload the file and it should be there." There could be 3 solution:
Currently I would dare to say that "just making it possible" would be the easiest solution, implementation-wise and user-experience-wise... but I have really waaaaay too little experience with such a huge project like yours! (And also an update button, the refreshed the list of files, would be great!) |
…s. (#1056) <!-- Is it a Bug fix, feature, docs update, ... --> **What kind of change does this PR introduce?** Add (le|sa|sc)ss and style files types to the list of forced text extensions. <!-- You can also link to an open issue here --> **What is the current behavior?** #348 (comment) When uploading(le|sa|sc)ss or styl (and probably other) files, and error message is thrown: "This file is too big to edit We will add support for this as soon as possible Open file externally". It seems the zip implementation does not recognize them as text files. CompuIves recommends to add them to the list of forced text extensions. Important: This happens only, when such files are *uploaded*! (creating such files within the editor works fine.) <!-- if this is a feature change --> **What is the new behavior?** On upload, recognize more file types. (Again: on *upload*!) <!-- Have you done all of these things? --> **Checklist**: <!-- add "N/A" to the end of each line that's irrelevant to your changes --> <!-- to check an item, place an "x" in the box like so: "- [x] Documentation" --> - [ ] Documentation N/A - [ ] Tests - [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? --> - [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions --> <!-- feel free to add additional comments --> I do this upon being challenged by compulves (see link above) to contribute. <!-- Thank you for contributing! -->
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This issue has been automatically closed because there wasn't any activity after the previous notice or the stale label wasn't removed. |
Consistently getting "Repo is too big to import" for all links launched from v2.grommet.io.
Example: https://codesandbox.io/s/github/grommet/grommet-site?initialpath=button&module=%2Fscreens%2FButton.js
The text was updated successfully, but these errors were encountered: