Age | Commit message (Collapse) | Author | Files | Lines |
|
Packages that need (re-)installation but which are not available,
are excluded now properly.
|
|
The first found solution is the most preferred one then.
|
|
|
|
|
|
* basic code for a backtracking, forward checking dependency satisfier
* works better when there are tricky dependencies to solve
(when can't just upgrade everything to most preferred versions)
* the new code always evaluates all of 'world' constraints
(old code just does incremental updates based on heuristics)
* is probably somewhat slower than old code (probably unnoticeable
difference in most cases)
* makes easier to write support for provides and repository pinning
* test applet and a bunch of test cases added which uses the new code
* from the old feature set install_if is not yet implemented
|
|
This applet can be used to generate data for graphviz tools.
Useful to visualize package dependencies, and possible errors
in the repository.
Usage examples:
apk dot gnome-desktop | tred | dot -Tpng gnome-desktop.png
-- to generate simplified dependency chart of gnome-desktop
apk dot --errors | dot -Tpng index-errors.png
-- to generate chart visualizing dependency errors in index
|
|
|
|
* fixup the help messages to align up properly
* refresh screen width on SIGWINCH
|
|
|
|
|
|
version().
|
|
|
|
fixes #666
|
|
Make indexer keep noise about errors that prevent index generation.
Detect certain errors in the APKs better. And also have the applet
return error in these scenarios.
|
|
remount to read-write before trying to create the cache directory
subdirs. fix a fd leak that might prevent remounting back to rw.
|
|
The apk cache might be on the readonly media so we need wait with
remounting til after atleast this filehandle is closed.
|
|
|
|
commit 4e72075fbab introduced a bug where package installation might happen
in wrong order (reminder for self to separate the package version deduction
to separate step from installation ordering). this restricts the earlier
commit to not mingle with the install order.
|
|
|
|
already
|
|
|
|
|
|
This is so we can do x86 --root installs on x86_64 hosts.
Using --arch without --root can make great damage so we only enable it
if --root is used.
|
|
|
|
|
|
|
|
|
|
Parse these fields from .PKGINFO, and write them to index.
|
|
Our build infra does not yet handle properly noarch, so for the
time being we will rewrite them as native packages in index. This
allows the package to be fetched from the proper URL. This feature
will be removed once abuild and the build infra handle noarch
properly.
|
|
improves behaviour under certain corner case conditions.
|
|
The db parameter to apk_state_commit is not needed so we remove it.
|
|
Implement the logic for install_if lines. Update info applet to
also display the install_if related fields.
|
|
|
|
broke after making the version field an atom because the printf
was not updated accordingly.
|
|
|
|
commit 4e72075fbab introduced late locking for top level packages,
but used the wrong package's top level flag for the check. this
fixes a problem that dependencies might not get pulled in.
|
|
* make it as wide as the screen
* make sure it's drawn after package change
* and draw it using ansi escapes in line buffered stderr
|
|
This allows us to get apk-tools dependencies get reset at proper
time in world. As a bonus, it reduces code amount.
|
|
This will fix certain scenarios where multiple packages are
installed with full package files specified on command line
and they depend on each other.
|
|
move all files therein to other places. this allows /var to be
mounted from harddisk, but rest of system be run from ramdisk.
this also removes support for historical version of the scripts
database which was obsoleted in 2.0_pre16 (in July 2009).
|
|
in accordance with FSH. this also to clear /var of apk related things
as we might want to run /var as harddisk, but rest of system from
ramdisk.
|
|
and make the progress bar disappear on regular runs too.
|
|
comment out the code that was out for testing. duh.
|
|
.. and back to read-only after finishing with modifications.
fixes #512
|
|
if package arch is not set, do not append anything to repository.
if arch is set, it is appended to repository.
|
|
Use statfs() filesystem type, instead of the device IDs.
|
|
If GNU wget is available, then we want use it as it gives the user
possibility to set misc options, such as bandwidth limit in wgetrc.
It might also be that busybox is not available in case bootstrapping
alpine from other distros (think debian vserver host creating an
alpine guest)
In any case we, fall back to busybox wget in case wget libs are getting
upgraded. (see http://redmine.alpinelinux.org/issues/347)
|
|
|
|
Packages without architecture should get the platforms default
architecture (so we are backwards compatible). Only the virtual
packages should get 'noarch' by default. Also print full path
to the index file which failed.
|
|
This allows users to have a collection of build variables set without
needing to specify them at build time every time.
|