Age | Commit message (Collapse) | Author |
|
|
|
packages to be upgraded in a -Su operation. Much of the code is duplicated from
sync.c.
TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade
function in terms of this:
trans->packages = alpm_get_upgrades();
|
|
operations (now aborts on a corrupt archive)
* Fixed the pm_fprintf newline error that was plaguing us. It seems a line
resetting 'neednl' was removed a while back (by me). This causes all the
output errors we've been seeing
|
|
* fixed progress output (needs an fflush to move cursor properly)
* broke display_targets function out, to display a list of syncpkgs in
preparation for a -Qu option
* added get_update_time function to deal with progress functions that shouldn't
update too fast due to output redraw speeds
|
|
|
|
decide.
|
|
|
|
ommitted many of the bugfixes in 'unreleased' versions, at least on the Arch
Linux end.
|
|
|
|
|
|
|
|
* Removed useless buildstring function from util.h; replaced all calls of it
with list_display.
* Made list_display output 2 spaces instead of 1 between each item.
|
|
|
|
* Added ldconfig on --sync operations too
|
|
using the in-package one. This is now fixed, and an autogenerated one is used as
a last resort.
This fixes the bug where /.CHANGELOG showed up in -Ql.
|
|
|
|
|
|
|
|
either generating the md5sums, repackaging, or just downloading and extracting.
The patch is below.
~ Jamie / yankees26
Signed-off-by: James Rosten <seinfeld90@gmail.com>
|
|
|
|
|
|
a positive connotation.
* Added a nice TODO
|
|
|
|
|
|
* Removed the dep-sorting TODO item - switch the sorting to a topological sort
later (I'll let Dan do the CS stuff, heh)
|
|
* no real sense in query_fileowner returning an int
|
|
|
|
|
|
|
|
* scan loops no longer abort on corrupt entries
* reloading a cache package (and discovering it corrupt) no longer prints 2 messages
and uses the pre-build "remove from package cache" function
NOTE: The TODOs in there are important for later w.r.t. cleaning up corrupt DB
entries but there are some logical complexities with doing so, so I'm holding
off for now.
|
|
* The --debug params were goofy. New setup allows --debug without params,
--debug=<level> where level 1=debug output, 2=debug and download output,
3=debug, download, and function tracing output. This seems more sane to me.
* Removed PM_LOG_FLOW1 and PM_LOG_FLOW2. They were just confusing. When adding
new functions, it is near impossible to determin if your output should be
"flow1" or "flow2" without tracking all the way up the call chain. Rarely
would one ever say "ok, lets just show "flow2" output. These have both been
replaced with PM_LOG_DEBUG
* Removed the need for the root parameter on alpm_initialize. it is now
defaulted to PM_ROOT just like dbpath and cachedir. This allows alpm to be
initialized BEFORE option parsing in the front end, saving us some duplicate
variables in the frontend.
* Cleaned up front end variables due to early alpm_initialize call.
|
|
be fixed.
|
|
|
|
* Reduced magic number usage by fill_progress function (new).
* Some switch indent fixing.
* Remove use of log10 call.
|
|
adding a package to a database. Also added commenting. :)
|
|
|
|
|
|
|
|
|
|
|
|
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
|
|
* gcc visiblity changes
Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K.
Piche's suggestions
|
|
|
|
surprisingly enough, heh)
|
|
* Fix up add.c a bit better than it was in regards to FS #3492.
* Optimized the sqrt call in dependency cycle checking to a single call.
* Removal of an outdated comment.
|
|
package file.
|
|
* alpm_list_is_in --> alpm_list_find
* alpm_list_is_strin --> alpm_list_find_str
* Flip parameters of both functions to be inline with rest of alpm_list.
First commit, woohoo.
|
|
|
|
* Removed ./gen-mirrorlist.sh invocation from configure script:
Mirror-files are generated by make, not configure.
|
|
|