-
Notifications
You must be signed in to change notification settings - Fork 575
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
Source files too large to upload to github #554
Comments
There is a third option I think: to convert the If that works (I need to check) that would be my preferred solution. |
@tay1orjones Just checked and my assumption about |
@tay1orjones Done! I’ve replaced the older package. |
Thanks @BoldMonday - I've actually ran into an even larger problem to reopen this issue. The overall package size is now too large to publish to npm The tentative plan is to get the existing updates that have been queueing since May into From there, the new maintainers will need to work on converting the rest of the repository into supporting publishing packages per-family instead of into one big |
Maybe it'll be a good idea to split JP/KR/TC/SC into a CJK repo similar to Source Han/Noto Sans CJK? |
Yeah the plan is to keep it all in one repo but the families will split up into individual packages on npm. Full details in #452, the consensus is to go with "Option 1" outlined there. |
I've got a PR up addressing the first piece of this - removing the source files from the repo. I opened a new issue for the npm publish blocker for Plex TC: #561 |
@tay1orjones I think it's a pity that source files are not stored in the repo anymore. |
@BoldMonday I agree, unfortunately it's unavoidable as Plex grows. Yes, the GitHub recommends repo size stay below 1GB. The source files will still be included in the repo under the releases tab as artifacts on each release moving forward. So they'll be there in the release history, just not fully version controlled anymore. The source folder has never been published to npm either, so this should be a pretty small impact of a change. |
Any chances the source files for Chinese/CJK can still be tracked in a separate branch per language? Maybe as source-tc, source-jp, source-kr (and upcoming source-sc)? This would still keep the repo roughly under 1GB (per branch, that is), but at least it's still under version control. This could also be done for the webfonts. Source Han has two branches under separate version control, essentially keeping two separate timelines (source files and release fonts) in one repo. The only downside is releases and tags will need to be made twice, and also the git history of the whole repo will keep increasing in size (Source Han repo git history has reached 10GB after ~10 years and 8 major version release). |
@NightFurySL2001 My understanding is that a repository includes all branches stored on the remote, as well as the full repo history. Having them on separate branches wouldn't reduce the overall repo size to my knowledge. What's the benefit to keeping the sources version controlled? They're currently not updated any more frequently than when a release is published, and the files can't be diffed within github. Is there a tool that supports diffing two versions stored in a git repository? I'm not sure what the added benefit or use case might be for storing them in version control. |
At least for glyphs, .glyphspackage and .ufo files, cloning the repo and doing a standard git diff with It's similar to the Plex release log on what has changed, but since CJK has plenty glyphs it'll be more efficient to just use git diff. (See #556 for a list of errors and suggestions for TC, which is pretty long) Also, releases are a GitHub specific feature and is not included in the git repository, so a standard |
Trying to cut the release today, ran into the following
This is similar to #453 but different - we're now hitting the filesize limit on this repo with the actual source files. Not related to yarn cache or anything else, this is just plainly too large.
There's two options to resolve:
I think the second option makes the most sense. It will be some additional manual steps for now during the release process but in the future we could automate it.
The text was updated successfully, but these errors were encountered: