Open iainelder opened 1 year ago
Thanks for finding this out!
I've had a look, and it's probably just an oversight in the package creation. I have time over the coming weeks to confirm this hypothesis and eventually release a slimmer package.
Thanks for checking.
I'm not familiar with GoReleaser, but I think I found where this dependency is configured:
Would the fix be as simple as removing these two lines?
Yep, That's the line.
It should be as simple as deleting the deps block, but I will check it to be sure.
Test done: removed the git dependency (and tested on a Debian), but the .deb package size is the same. 🤔🤷🏻♂️
The dependency is unnecessary and I'll remove it. For a smaller package, I need to dig deeper.
Ignore my second comment: The ~10MB of the executable is correct (as you highlighted).
I will remove the unnecessary git dep, and from the next release, the package will contain only what is required.
Thanks for checking it!
Where I expect to see a difference is in apt's installation confirmation.
Instead of:
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.7 MB/18.5 MB of archives.
After this operation, 105 MB of additional disk space will be used.
I'd expect something like this (???
means I don't know what to expect there!):
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get ??? of archives.
After this operation, 10 MB of additional disk space will be used.
I'll try again when you make the next release to confirm it.
Describe the bug
In an Ubuntu 20 container it installs about 105MB of stuff when the executable itself is only about 9MB.
Copied from my CI install log.
Expected behavior
One of the features is "No external dependencies", so I was surprised to see git as a dependency.
Desktop (please complete the following information):