Skip to content
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

Explore alternatives to fetching a large set of dependencies during Pacstall's installation #1044

Open
vigress8 opened this issue Feb 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request triage Priority not yet decided

Comments

@vigress8
Copy link
Contributor

vigress8 commented Feb 24, 2024

Is your feature related to a problem? Please describe.

Pacstall currently installs a bunch of packages that're commonly used when dealing with pacscripts, but this isn't optimal. For example, a user may never need build-essential if they never compile packages, yet they're forced to download hundreds of megabytes for no reason. This may also be an issue for servers and other devices with limited storage.

A clear and concise description of what you want to happen.

Figure out an alternative way. Only install these dependencies the first time they're needed - for example, install git the first time a -git pacscript is installed.
We already do something similar with extraction dependencies, automatically adding them to makedepends if the pacscript's source files require them.

@vigress8 vigress8 added enhancement New feature or request triage Priority not yet decided labels Feb 24, 2024
@oklopfer
Copy link
Member

oklopfer commented Mar 3, 2024

imo this should just be delegated to makedepends externally, since scripts already have to do that for both make (the utility) and ninja-build, for example.

Just have to figure out every script that requires build-essential. Which we can really only find from reading the packaging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Priority not yet decided
Projects
None yet
Development

No branches or pull requests

4 participants