You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
We tried ASAR ages ago and ended up just avoiding it (see desktop/desktop#476 and the linked PR for more info), and I see someone added support for being able to control the symlink behaviour (to opt-out of the default behaviour) in electron/packager#410.
Ultimately, this is up to the packaging apps rather than something I have control over. I don't see a derefSymlinks flag being set in the Atom packager config so maybe it's worth asking over in atom/atom if they've tried derefSymlinks when packaging.
Prerequisites
Doesn't apply. This is not a runtime issue.
Description
The Git distribution bundled with dugite-native contains hundreds of symlinks used to create aliases such as git-imap-send. The way Atom is currently packaged emulates those symlinks by creating a full copy of the link target for each of them. This wastes 270 MB of disk space.
Steps to Reproduce
Install Atom
Look inside /node_modules/dugite/git/libexec/git-core in the installation folder
Notice there are 136 executables totaling 300 MB, 121 of which are identical (with different names)
Expected behavior: The Atom installer/installation doesn't waste disk space and bandwidth like that.
Actual behavior: Disk space and download bandwidth is wasted.
Reproduces how often: Always.
Versions
Edit by @rsese to note specific releases where there was a large increase in the size of the .rpm size and atom-mac.zip
For the .rpm, saw the 2x size increase from 1.30 where the .rpm was 134 MB and atom-mac.zip was 139 MB:
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
lockbot
locked as resolved and limited conversation to collaborators
Jun 12, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue is a continuation of #18452 and desktop/dugite-native#138.
Edit by @rsese - see @shiftkey's comment at desktop/dugite-native#138 (comment) - an excerpt:
Prerequisites
Doesn't apply. This is not a runtime issue.
Description
The Git distribution bundled with dugite-native contains hundreds of symlinks used to create aliases such as
git-imap-send
. The way Atom is currently packaged emulates those symlinks by creating a full copy of the link target for each of them. This wastes 270 MB of disk space.Steps to Reproduce
/node_modules/dugite/git/libexec/git-core
in the installation folderExpected behavior: The Atom installer/installation doesn't waste disk space and bandwidth like that.
Actual behavior: Disk space and download bandwidth is wasted.
Reproduces how often: Always.
Versions
Edit by @rsese to note specific releases where there was a large increase in the size of the .rpm size and
atom-mac.zip
For the .rpm, saw the 2x size increase from 1.30 where the .rpm was 134 MB and atom-mac.zip was 139 MB:
https://github.com/atom/atom/releases/tag/v1.30.0
And 1.31.0 where the .rpm size was 270 MB and atom-mac.zip was 272 MB:
https://github.com/atom/atom/releases/tag/v1.31.0
1.32.2, at least macOS and Linux are affected, but likely all platforms.
Additional Information
None.
The text was updated successfully, but these errors were encountered: