Giter Site home page Giter Site logo

Comments (6)

lucagrulla avatar lucagrulla commented on June 13, 2024 1

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.

from cw.

iainelder avatar iainelder commented on June 13, 2024

Thanks for checking.

I'm not familiar with GoReleaser, but I think I found where this dependency is configured:

cw/.goreleaser.yml

Lines 101 to 102 in a578b3b

dependencies:
- git

Would the fix be as simple as removing these two lines?

from cw.

lucagrulla avatar lucagrulla commented on June 13, 2024

Yep,
That's the line.

It should be as simple as deleting the deps block, but I will check it to be sure.

from cw.

lucagrulla avatar lucagrulla commented on June 13, 2024

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.

from cw.

lucagrulla avatar lucagrulla commented on June 13, 2024

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.

from cw.

iainelder avatar iainelder commented on June 13, 2024

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.

from cw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.