summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.c
Commit message (Collapse)AuthorAge
* This commit looks much more monumental than it is. Almost all just #includeDan McGee2007-03-05
| | | | | | | | reordering and adding ones that were forgotten (noticed when trying to compile after reordering). * Updated the HACKING file to include information on #include usage. * print -> vprint in "making dir" function in pactest.
* * Fixed the handle realroot stuffAaron Griffin2007-03-04
| | | | * Added some {}
* * pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin2007-02-26
| | | | | | | | be used in place of -Y. Also, -D was rather silly, as it does mostly what -S does. * Cleaned up pacman_deptest - removed the goofy faketarget stuff (NEEDS testing still) * libalpm function renames
* We don't need this anymoreAaron Griffin2007-02-23
|
* Big commit here, I'll try to cover all the bases.Dan McGee2007-02-22
| | | | | | | | | | | | * Updated all of the language files, as the POT file was updated. NOTE FOR TRANSLATORS, try to base your next contribution off of these, notice how some msgids and messages have been wrapped to the next line- it makes it easier to read anyway. * More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now work properly, with only one caveat- the automatic testing in distclean doesn't do so hot as it is compiled with a default configure, which includes the fakeroot-proof code (which does not cooperate with pactest). * Added a Makefile.am for the pactest directory.
* * Looks like I left some debugging code in thereAaron Griffin2007-02-21
|
* * Updated bash_completion script to 3.0 options.Dan McGee2007-02-19
| | | | | * Changed that removal message again, hopefully it sounds good now. * Shortened a usage option description so it would not wrap at 81 chars.
* * Updated pt_BR translation (Douglas Soares de Andrade), and merged otherDan McGee2007-02-15
| | | | language files with latest pot file.
* Fixed locale setting issues in the frontend, and fixed description of ↵Dan McGee2007-02-13
| | | | --cachedir.
* Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin2007-02-13
| | | | pacman didn't check targets and spit out an error message).
* Exit status of 2 seems wrong for -VAaron Griffin2007-02-12
|
* * Added --cachedir commandline optionAaron Griffin2007-02-12
| | | | | * Removed usage of 'realpath'. From the manpage: "Avoid using this function. It is broken by design"
* * Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should beAaron Griffin2007-02-12
| | | | | used instead * Allow -T/--deptest to work without root privileges
* * Remove "error: " text from ERR() call since it is appended by ERR anyway.Dan McGee2007-02-09
|
* * Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)Aaron Griffin2007-02-09
| | | | | * Moved some stderr output to stdout * Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
* * Nice overhaul of manpages. It is at least a start.Dan McGee2007-02-08
| | | | * Alphabetized options in pacman usage.
* Added the --upgrades option for -Qu (--query --upgrades)Aaron Griffin2007-02-04
|
* Implemented a crappy version of -Qu (query upgrades). This simply outputs theAaron Griffin2007-02-04
| | | | | | | | 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();
* * unified the progress bars (fill_progress function)Aaron Griffin2007-02-04
| | | | | | | | * 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
* Debug logging changes:Aaron Griffin2007-01-31
| | | | | | | | | | | | | | | | * 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.
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-26
| | | | | | * Lots of code cleanup, and type fixes * Make 'makeworld' a bit more in-line with the other stuff * Make -Si and -Qi operations appear the same
* Cleanup 'neednl' usage - make it staticAaron Griffin2007-01-24
|
* Preliminary checkin for alpm_list conversionAaron Griffin2007-01-19
| | | | | | | | | * renamed pmlist_t -> alpm_list_t * made alpm_list_t a public type (alpm_list.h header) * removed additional storage for registered DBs in pacman source * some code cleanup * removed duplicate (pm)list_display functions from pacman source * misc code cleanup
* * remove static neednl - no accessor functions (yet)Aaron Griffin2007-01-18
| | | | * remove getcols call in main()
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-18
| | | | | | | | | | | | | | * Removed some unnecessary headers and library links * Made things static if possible * Cleaned up makefiles a bit * Fixed some old comments in the code * Fixed some errors the static code checker splint pointed out * Backwards arguments in a memset call in _alpm_db_read (could have been worse) * Other various small fixes Other: * Default to 80 columns when getcols cannot determine display width * Removal of ._install as a valid install file in packages
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-17
| | | | | | | | * fix for -Qii regression * package.c cleanup * some refactoring changes Moved split_pkgname as per Dan's suggestion
* * Dan McGee's makepkg updates ↵Aaron Griffin2006-12-14
| | | | | | | | http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html * configure fixes (CFLAGS) * no-strict-aliasing hacks until full C99 compliance * --with-config-file configure option
* A few minor updates so --root works again.Aaron Griffin2006-12-08
|
* Removed an extra call to alpm_option_set_root() - it is set by alpm_init()Aaron Griffin2006-12-08
|
* Added dbpath validationAaron Griffin2006-12-05
|
* * Cosmetic changes and typo fixesAaron Griffin2006-12-01
| | | | | * IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
* libalpm appends the trailing / to the config root, no need to do it hereAaron Griffin2006-11-20
|
* * repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin2006-11-20
| | | | | | | | | | (no PKGBUILD) * libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a typesafe _get_what_we_want(p) scheme [not 100% complete yet] * some const correctness changes * removal of PM_* types in alpm.h in favor of the pm*_t types used throughout libalpm
* * Numerous mini valgrind fixes.Aaron Griffin2006-11-14
| | | | | | | | | | * Addition of hacky architecture check in the _splitname function * Removal of libfetch from the archlinux proper - it has been renamed to libdownload and can be found at http://phraktured.net/libdownload * Merge of _some_ of the Frugalware makepkg change - this may still be incomplete * Removal of libftp from cvs proper * PKGBUILD manpage now says 'PKGBUILD' instead of FrugalBuild (he he)
* Skip root check on -SpAaron Griffin2006-11-10
|
* Last mtrace/setenv change, I swearAaron Griffin2006-11-09
|
* Whoops - I fail at setenvAaron Griffin2006-11-09
|
* mcheck() seems to cause segfaults. Annoying. Switched back to useing ↵Aaron Griffin2006-11-09
| | | | mtrace() - if anything valgrind is superior to mcheck anyway
* * Improved mcheck outputAaron Griffin2006-11-08
| | | | | * Added minor libalpm const correctness * Mini-memory fixes
* Added mcheck support for memory debuggingAaron Griffin2006-11-07
|
* * Modified some error output and loggingAaron Griffin2006-11-03
| | | | | | * Changed the initial log mask (added PM_LOG_ERROR) * Fixed -Syu so it now works if any databases were downloaded (it was working like a -Su)
* * Fixed some alpm_get_option calls (long params were used for C99 compliance,Aaron Griffin2006-11-02
| | | | | | but were used in error) * Cleaned up some output newlines * Added "local database is up to date" when no packages are upgraded
* Numerous changes:Aaron Griffin2006-10-31
| | | | | | | * Added 'ILoveCandy' support to all progress bars * Changed download callback with regards to libfetch libalpm changes * libfetch error output on failed sync * Misc others I may have forgot to name (check the diff, heh)
* A handful of minor changes:Aaron Griffin2006-10-20
| | | | | | | | * Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
* Added alpm function docs alongAaron Griffin2006-10-15
| | | | | pacman.c : Removed link to frugalware wiki sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE)
* Merged frugalware changes. Added a few other minor things too, but there's alotAaron Griffin2006-10-15
| | | | to list. The diff should show you 8)
* Patch from FW: Better control over CTRL-C interruptions -- do not leave the ↵Judd Vinet2006-07-14
| | | | DB in an inconsistent state
* i18n stuffJudd Vinet2006-06-28
|
* first stage of i18n stuff from VMiklosJudd Vinet2006-05-15
|
* fixed dbpath initialization (found out by VMiklos <vmiklos@frugalware.org>)Aurelien Foret2006-03-21
|