summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
Commit message (Collapse)AuthorAge
* K. Piche <kevin.piche@cgi.com>Aaron Griffin2007-01-30
| | | | * ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
* K. Piche <kpiche@rogers.com>Aaron Griffin2007-01-30
| | | | | | | * gcc visiblity changes Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K. Piche's suggestions
* Discussed on IRC for a bit, this makes the following changes for clarity:Dan McGee2007-01-30
| | | | | | | | * 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.
* This mainly deals with code clarity- removing currently unneededAaron Griffin2007-01-24
| | | | | | | | | | optimizations in order to make the code much more readable and type-checkable. Every enum in the library now has it's own type that should be used instead of the generic 'unsigned char'. In addition, several #define statements dealing with constants were converted to enums. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* 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
* 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
* * bug fix FS#6100 - fix --print-uris outputAaron Griffin2007-01-03
|
* * Missing error label in sync.cAaron Griffin2007-01-02
| | | | * Additional debug output for db_write
* * Removed latest fix from TODO.autoconfAaron Griffin2006-12-29
| | | | | * Attempted fix for FS#6100 - "-Spd foo" failure * Beginning of refactoring from Dan McGee <dpmcgee@gmail.com>
* Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel ↵Aaron Griffin2006-12-22
| | | | | | | <juergen@hoetzel.info> * configure swig check * misc libalpm cleanup
* * 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)
* * Fixed some error output for "-Sd" and "-Rsc" dealing with missing/ignoredAaron Griffin2006-11-24
| | | | | depends * Added valgrind suppression file
* * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin2006-11-22
| | | | | | | | * Modified some dependancy checking * Changed "performing local database upgrade" message to be more clear * Change 'usize' to 'isize' in database files * Scriptlet output is now sent to pacman's log file * Limited some debugging output to be more clear
* * 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
* * Initial changes to gensync - makepkg changes were not checked in from anotherAaron Griffin2006-11-15
| | | | | | machine - still pending * Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix scheme we're going with for the interim
* * has_archname changesAaron Griffin2006-11-14
| | | | | * makepkg attempt at multiple file integrity checks * honor "force" option on -S packages (not just -Su)
* * 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)
* Fixed pacman -U:Aaron Griffin2006-11-01
| | | | | | * Accidental database read of a file-based package (whoops) * Proper fetching of url-based -U or -A Removed some newlines from _alpm_log calls, to make debug output more concise
* Numerous changes:Aaron Griffin2006-10-31
| | | | | | | | | | | | * Furthered the "lazy caching" to force the pkgcache to read nothing (INFRQ_NONE) by default. Anything requiring package data should now check the infolevel of each package and attempt to update it. This could be ironed out a bit more later (by using the front-end get_info function * Switched to libfetch. Drastic changes to the download code and the callback progress bar functions. Also fixed the return value of _alpm_downloadfiles_forreal. Downloading now supports http, ftp, https, and files urls, along with 'mtime's and numerous other fancy features from libfetch.
* Minor changes:Aaron Griffin2006-10-21
| | | | | * Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
* 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
* Merged frugalware changes (too many to list). Also added some config fileAaron Griffin2006-10-15
| | | | | handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
* removed libtar support in favour of libarchiveJudd Vinet2006-09-28
|
* first stage of i18n stuff from VMiklosJudd Vinet2006-05-15
|
* code cleanupAurelien Foret2006-03-09
|
* added a FLAG_NOCONFLICTAurelien Foret2006-03-04
|
* code cleanupAurelien Foret2006-03-02
|
* added ERROR logs in case of malloc failures (patch from VMiklos ↵Aurelien Foret2006-03-01
| | | | <vmiklos@frugalware.org>)
* improved _alpm_list_free handlingAurelien Foret2006-02-22
|
* skipped conflict resolution for targets removed from transaction setAurelien Foret2006-02-22
|
* prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret2006-02-17
| | | | | | VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
* code cleanupAurelien Foret2006-02-16
|
* - db_write: add support to write both local and sync entriesAurelien Foret2006-02-16
| | | | - code cleanup
* - reworked debug messagesAurelien Foret2006-02-11
| | | | - synchro with pacman 2.9.8
* code factorization: take 2Aurelien Foret2006-02-07
|
* code factorizationAurelien Foret2006-02-07
|
* - sync_prepare: fixed a case where a conflict should be removed from the ↵Aurelien Foret2006-02-05
| | | | | | | target list - avoided possible duplicates in target list (patch from VMiklos <vmiklos@frugalware.org>) - added more debug logs
* Search through package provides if no literal matches are found when ↵Judd Vinet2006-01-28
| | | | scanning for targets with -S
* resolvedeps: return the depmiss info to the frontend in case of failureAurelien Foret2006-01-21
|
* more code cleanup yetAurelien Foret2006-01-18
|
* even more code cleanupAurelien Foret2006-01-17
|
* more code cleanupAurelien Foret2006-01-16
|
* pulled out conflict checkings from checkdeps() in its own function: ↵Aurelien Foret2006-01-15
| | | | checkconflicts()
* sync_prepare: added a missing chunk of code for dependency checks of ↵Aurelien Foret2006-01-14
| | | | packages elected for removal
* sysupgrade: skip version cmp for pkg elected for removal (patch from ↵Aurelien Foret2006-01-14
| | | | VMiklos <vmiklos@frugalware.org>)
* improved log and debug messagesAurelien Foret2006-01-13
|
* - added 2 more ORE tags (to be reviewed) in the replace/conflict sync codeAurelien Foret2006-01-11
| | | | - code cleanup
* code cleanupAurelien Foret2006-01-10
|
* added ALLDEPS transaction flag mainly to handle "makepkg -s"Aurelien Foret2006-01-10
|
* - merged pkg_new and pkg_dummy functionsAurelien Foret2006-01-09
| | | | - renamed _alpm_log_action to _alpm_logaction