Commit Graph

548 Commits

Author SHA1 Message Date
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 cb9d23baf8 checkdeps:
- merged missing chunks of code from pacman 2.9.7
- more debug logs
2006-01-14 15:05:59 +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 9bf647c82b code cleanup 2006-01-13 21:51:05 +00:00
Aurelien Foret 08bf45aceb maked verbose group listing enabled by -Sgg instead of -Sgv 2006-01-13 21:27:25 +00:00
Aurelien Foret b014cdbe8b code cleanup 2006-01-13 21:16:49 +00:00
Aurelien Foret e3cc4150f6 added a missing commentary from pacman 2.9.x code 2006-01-13 21:02:33 +00:00
Aurelien Foret 4232cd9cca fixed a possible memory corruption 2006-01-13 20:59:57 +00:00
Aurelien Foret d42c6bdc49 removed unuseful error codes 2006-01-13 20:55:39 +00:00
Aurelien Foret 365e440e80 code cleanup 2006-01-13 20:54:36 +00:00
Aurelien Foret ca67579656 code cleanup 2006-01-13 20:47:13 +00:00
Aurelien Foret 851dd3d16b improved log and debug messages 2006-01-13 20:46:01 +00:00
Aurelien Foret 9b5b86a14e removed "^M" symbols at end of lines 2006-01-13 20:14:48 +00:00
Aurelien Foret 1c9041814b added more doxygen comments (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-11 21:44:11 +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 0938d37b30 fixed an awfull typo 2006-01-11 09:43:40 +00:00
Aurelien Foret c305bf670b updated README and download comments about mtimes support 2006-01-10 22:09:47 +00:00
Aurelien Foret 540d3d49b2 code cleanup 2006-01-10 22:08:53 +00:00
Aurelien Foret 1704a00404 fixed a memory leak in the transaction cleanup code 2006-01-10 20:28:27 +00:00
Aurelien Foret 325d297739 made use of the new ALLDEPS transaction flag to handle "makepkg -s" 2006-01-10 18:45:32 +00:00
Aurelien Foret 668e58626d added ALLDEPS transaction flag mainly to handle "makepkg -s" 2006-01-10 18:19:06 +00:00
Aurelien Foret ec305c1443 code cleanup 2006-01-10 17:55:17 +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
Judd Vinet 45a7e57f6c cleanup 2006-01-08 22:07:31 +00:00
Judd Vinet 6866b8ce6f removed old/disable provides-conflict checking code 2006-01-08 22:06:19 +00:00
Judd Vinet 38180d5231 In the database-against-targets conflict checks, scan db packages' provides
fields and look for packages that want to exclusively provide a provisio that
the target package also provides.
2006-01-08 21:58:27 +00:00
Judd Vinet caf64da579 typo fix 2006-01-07 21:14:50 +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 fce68beaaf code cleanup 2006-01-07 18:11:37 +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 59edbdd4cf code cleanup 2006-01-07 17:50:20 +00:00
Aurelien Foret 74b3e0dcae removed handle/uid checks (CYGWIN) 2006-01-07 10:03:18 +00:00
Aurelien Foret 52346fc121 - removed uid checks (CYGWIN)
- fixed indentation in parseargs
2006-01-07 10:01:19 +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 7dfe0ca0ae pacman_sync: handle trans_prepare error cases (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-06 23:14:21 +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 c2b27b5880 removed ORE tags (after tests, no real performance increase by implementing them) 2006-01-06 22:35:26 +00:00
Aurelien Foret 11b6a69266 moved pacman_deptest function in its own file 2006-01-06 22:19:14 +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 2c22045ba8 - fixed a regression with pacman 2.x (reworked patch from VMiklos <vmiklos@frugalware.org>):
if pacman is desiganted as a target in a sysupgrade operation, it should be able to upgrade itself first upon user request.
- removed uneeded sanity checks in alpm interface calls
- replaced printf by MSG in pacman
2006-01-06 14:00:03 +00:00
Aurelien Foret 4585060a5a code cleanup 2006-01-06 12:29:51 +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 ef8bbd2ac4 various code cleanup 2006-01-05 21:29:36 +00:00
Aurelien Foret 13cb20aeab added a missing cachedir registration 2006-01-05 21:02:08 +00:00
Aurelien Foret 522b407687 tweaked a log (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-05 20:56:12 +00:00