Commit Graph

76 Commits

Author SHA1 Message Date
Aaron Griffin 1568fd98d8 Minor changes:
* Moved the pmhandle_t extern decl around
    * Fixed a doxygen complaint
2006-10-21 01:27:35 +00:00
Aaron Griffin 7131b7ac87 A handful of minor changes:
* 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
2006-10-20 06:26:55 +00:00
Aaron Griffin d37ad04873 Merged frugalware changes (too many to list). Also added some config file
handling changes (support [sections] to carry over to included files - this
helps with backwards compatibility with existing pacman config files)
2006-10-15 19:31:03 +00:00
Judd Vinet cf6da173f6 removed libtar support in favour of libarchive 2006-09-28 20:51:33 +00:00
Judd Vinet bb787e26ee first stage of i18n stuff from VMiklos 2006-05-15 02:19:57 +00:00
Aurelien Foret a08a9896c9 code cleanup 2006-03-09 19:12:09 +00:00
Aurelien Foret 7e9b70a208 added a FLAG_NOCONFLICT 2006-03-04 10:16:36 +00:00
Aurelien Foret 5261c7fafb code cleanup 2006-03-02 19:04:40 +00:00
Aurelien Foret 0b4ab2c0a8 added ERROR logs in case of malloc failures (patch from VMiklos <vmiklos@frugalware.org>) 2006-03-01 07:51:00 +00:00
Aurelien Foret 16ff7cfa8e improved _alpm_list_free handling 2006-02-22 20:49:33 +00:00
Aurelien Foret 3f9ddf262d skipped conflict resolution for targets removed from transaction set 2006-02-22 19:49:06 +00:00
Aurelien Foret be39f49a54 prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
2006-02-17 22:35:26 +00:00
Aurelien Foret a2d1b58210 code cleanup 2006-02-16 23:05:52 +00:00
Aurelien Foret 58a7e85534 - db_write: add support to write both local and sync entries
- code cleanup
2006-02-16 21:02:39 +00:00
Aurelien Foret 8061874991 - reworked debug messages
- synchro with pacman 2.9.8
2006-02-11 19:01:56 +00:00
Aurelien Foret c5aca9529f code factorization: take 2 2006-02-07 21:33:09 +00:00
Aurelien Foret bbb48a85f0 code factorization 2006-02-07 19:08:02 +00:00
Aurelien Foret ad3baca0f4 - sync_prepare: fixed a case where a conflict should be removed from the target list
- avoided possible duplicates in target list (patch from VMiklos <vmiklos@frugalware.org>)
- added more debug logs
2006-02-05 09:15:20 +00:00
Judd Vinet f3c5f9b4d1 Search through package provides if no literal matches are found when scanning for targets with -S 2006-01-28 04:48:51 +00:00
Aurelien Foret fc8be93314 resolvedeps: return the depmiss info to the frontend in case of failure 2006-01-21 18:28:38 +00:00
Aurelien Foret cf94007aed more code cleanup yet 2006-01-18 22:37:16 +00:00
Aurelien Foret 510d57b577 even more code cleanup 2006-01-17 21:18:33 +00:00
Aurelien Foret 6e5a62dd12 more code cleanup 2006-01-16 22:27:09 +00:00
Aurelien Foret 6dd2ecf4fa pulled out conflict checkings from checkdeps() in its own function: checkconflicts() 2006-01-15 15:55:16 +00:00
Aurelien Foret 83839f9513 sync_prepare: added a missing chunk of code for dependency checks of packages elected for removal 2006-01-14 15:08:01 +00:00
Aurelien Foret aeb0133974 sysupgrade: skip version cmp for pkg elected for removal (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-14 08:14:55 +00:00
Aurelien Foret 851dd3d16b improved log and debug messages 2006-01-13 20:46:01 +00:00
Aurelien Foret 36730a711b - added 2 more ORE tags (to be reviewed) in the replace/conflict sync code
- code cleanup
2006-01-11 12:56:38 +00:00
Aurelien Foret 540d3d49b2 code cleanup 2006-01-10 22:08:53 +00:00
Aurelien Foret 668e58626d added ALLDEPS transaction flag mainly to handle "makepkg -s" 2006-01-10 18:19:06 +00:00
Aurelien Foret fd6ce1f4cb - merged pkg_new and pkg_dummy functions
- renamed _alpm_log_action to _alpm_logaction
2006-01-09 20:16:00 +00:00
Aurelien Foret 77be3f53e9 removed all code related to PM_SYNC_TYPE_DEPEND 2006-01-07 20:05:10 +00:00
Aurelien Foret 86e5c8bc06 sync_commit can now return conflicting files with a trans_prepare like data structure (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-07 18:42:44 +00:00
Aurelien Foret e405204915 removed a restriction: the data parameter of XXX_prepare functions can be NULL 2006-01-07 18:25:28 +00:00
Aurelien Foret 02694534be Fixed a regression in the conflict handling code 2006-01-07 18:01:26 +00:00
Aurelien Foret bde9d69636 added more debug logs in the sync conflict/replace code 2006-01-07 17:59:26 +00:00
Aurelien Foret f3a4197e34 code cleanup (mainly removed line spaces at the beginning of lines by tabulations) 2006-01-07 09:42:48 +00:00
Aurelien Foret 6c3657b702 removed a misleading PM_ERR_XXX occurrence 2006-01-06 23:26:02 +00:00
Aurelien Foret db8a5e3586 - sync: populates *data when a conflict can't be resolved
- add: code cleanup
2006-01-06 22:58:01 +00:00
Aurelien Foret 45720f32e9 fixed the usage of 4 list_is_in calls (should have been list_is_strin) 2006-01-06 20:47:26 +00:00
Aurelien Foret 5fc2e009dc - started to rename list_XXX calls to _alpm_list_XXX
- fixed 2 compilation warnings
2006-01-05 21:49:42 +00:00
Aurelien Foret 7858f4c9b4 - fix for sync conflicts (patch from VMiklos <vmiklos@frugalware.org>)
- sync code cleanup
- added the deps check for targets to be removed in sync_prepare()
2006-01-05 20:53:41 +00:00
Aurelien Foret f48aced5b2 code cleanup 2006-01-02 21:33:58 +00:00
Aurelien Foret 5839652c41 code cleanup 2006-01-02 20:28:46 +00:00
Judd Vinet 96de3501ab patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSION 2006-01-02 19:55:35 +00:00
Aurelien Foret 15bc6e5508 removed some overlapping pm_errno assignments 2006-01-01 12:42:33 +00:00
Judd Vinet 6bd15469b1 renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz 2005-12-26 16:48:37 +00:00
Judd Vinet 58c9d5d663 applied first try at sync conflict handling (VMiklos) plus a couple changes 2005-12-26 06:40:29 +00:00
Judd Vinet f762464630 added Doxyfile 2005-11-21 22:14:32 +00:00
Aurelien Foret fffe7a8ef4 fixed wrong prototype usage for trans_new() 2005-11-07 13:00:22 +00:00