Steps to take to reduce repository size #7500
Replies: 6 comments 4 replies
-
true. disabling unnecessary packages could be done if no one used it or depending how usable package is for duplicate packages, it should replace the one with the improved package like although it may be a difficult decision that removing some most unused packages could have used by some users |
Beta Was this translation helpful? Give feedback.
-
Both do the same work of generating image from source code |
Beta Was this translation helpful? Give feedback.
-
Most of duplicate packages are small. But cumulatively each of them adds their cents to inactive packages which eventually become just disk space waste. Currently no actions for freeing disk space will be taken - I don't know whether Fornwall's plans of making custom F-Droid repo for serving in-APK packages for termux/termux-app#1072 will be realized. If not, then we are free to use all remaining space with leaving small amount for system purposes. Otherwise something will had to be cut. This can be a repository with So please when submitting package request issue or pull request with build scripts. always think about Packaging Policy. It intends to notify contributor that our resources ARE FINITE as well as some things could be inappropriate for packaging for other reasons. If some package is very needed for you specifically, then build it yourself. But if you think this package will be useful for community, you can request it to be officially packaged. Also we encourage creating own repositories - this helps community to grow and be less dependent on our resources. |
Beta Was this translation helpful? Give feedback.
-
This can be done, but currently we aren't in situation with critically low disk space. Making package dependency relationships even more complex is potentially unwanted.
For arch independent things like docs and other data files, but not for shared libraries. Also don't forget that things in
This is not true. Parent package can depend on sub package. This is what |
Beta Was this translation helpful? Give feedback.
-
Why not just make a list of 20-30 biggest debs from the built repo & try to cull their sizes? |
Beta Was this translation helpful? Give feedback.
-
I think we should filter and remove the packages that are
|
Beta Was this translation helpful? Give feedback.
-
From #7491 (comment), we are using 52% of disk space. This discussion is created so that packages which need some action can be identified and he worked upon.
The disk usage can be minimised by doing certain tasks like:
Disabling duplicate packages
Adding common shared files for packages to a subpackage and declare the subpackage architecture independent. This can be done especially for shared libraries. If you want an example take fish, most of the size of the package is due to
$PREFIX/share
. This requires some more discussion on how it can be implemented since subpackages can depend on parent package but not vice versaDisabling unused packages, i.e. packages which are less used and not so useful
Beta Was this translation helpful? Give feedback.
All reactions