Commit Graph

55 Commits

Author SHA1 Message Date
Aurelien Foret ca67579656 code cleanup 2006-01-13 20:47:13 +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 59edbdd4cf code cleanup 2006-01-07 17:50:20 +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 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 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 4819d21c74 terminated .lastupdate implementation for HTTP protocol 2006-01-05 19:37:54 +00:00
Aurelien Foret 9d55476c9c added .lastudate support for HTTP protocol
known limitation: do not work when connected to some web servers (lighttpd)
2006-01-04 23:52:26 +00:00
Aurelien Foret 5eb29e2127 fixed a corrupted argument 2006-01-02 20:48:40 +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 7ff3ad054b - reworked verbose levels
- fixed the handling of command line errors when no operation is specified
2006-01-01 15:12:20 +00:00
Aurelien Foret bfa0853acb fixed a segfault and added more verbose outputs in group handling (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-31 17:59:28 +00:00
Aurelien Foret 0c696200ae don't complain on PM_ERR_DB_UPTODATE errors (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-31 17:36:45 +00:00
Aurelien Foret 146ec957a7 do not consider duplicated targets as an error (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-31 17:07:32 +00:00
Aurelien Foret 44fc71396f renamed pmconfig_t to config_t 2005-10-29 07:00:56 +00:00
Aurelien Foret 98df67cd18 added pmconfig_t structure to hold all the configuration
(patch from VMiklos <vmiklos@frugalware.org>)
2005-10-28 12:20:40 +00:00
Aurelien Foret 83fca950bc added a missing line feed in a MSG call 2005-10-22 08:31:12 +00:00
Judd Vinet 86ec3a2ad7 removed debug comment 2005-10-20 20:35:16 +00:00
Judd Vinet 958f7ee860 remove dupes from group lists in sync 2005-10-20 20:34:31 +00:00
Aurelien Foret 3929450d62 removed an uneeded variable declaration 2005-10-20 20:28:25 +00:00
Aurelien Foret b817883cdd pacman update to cope with the CACHEDIR option from the library 2005-10-10 16:03:17 +00:00
Judd Vinet a36ded25eb added conversation callback support for transactions 2005-10-09 06:09:57 +00:00
Judd Vinet 995057bcda correct a trans_commit protocol 2005-10-08 23:42:15 +00:00
Judd Vinet 5ef51b3e26 Merging in recent fixes/additions from 2.9.7 2005-10-07 23:29:49 +00:00
Aurelien Foret 4ee51bdf46 Added a CYGWIN define to include header files required to build in a Cygwin environment 2005-10-06 07:28:30 +00:00
Aurelien Foret 2b0c91cff8 - indented properly sync_cleancache()
- reworked sync_list()
- added a log
2005-05-09 09:14:10 +00:00
Aurelien Foret a53bf50189 get ride of ORE tags 2005-05-02 08:05:47 +00:00
Aurelien Foret a73427fc0b removed an uneeded check 2005-05-01 17:19:31 +00:00
Aurelien Foret e8382cca7c outputs cleanup 2005-04-24 11:13:26 +00:00
Aurelien Foret e56980597b code cleanup 2005-04-23 17:16:50 +00:00
Aurelien Foret 2a3968b8bc display the list of targets to be removed before trans_commit() call 2005-04-20 20:49:39 +00:00
Aurelien Foret f5cbbb2483 fixed a segfault 2005-04-19 20:03:28 +00:00
Aurelien Foret 2e8fc45a12 cleanup to keep in sync with alpm changes 2005-04-16 22:24:13 +00:00
Aurelien Foret 35762528df added packages integrity checking 2005-04-13 21:05:08 +00:00
Aurelien Foret e115a5829e - updated sync feature
- added 2 new transaction events
2005-04-13 19:59:04 +00:00
Aurelien Foret 761b21d8ae - small bugfixes
- removed 2 debug messages
2005-04-08 19:21:28 +00:00
Aurelien Foret 3c0ea9451b synchronization with libalpm for latest sync feature work 2005-04-06 21:03:09 +00:00
Aurelien Foret af759f11b5 fixed a typo 2005-04-03 19:58:24 +00:00
Aurelien Foret 686e8eaeb5 more work to backport pacman_sync from pacman 2.9.5 2005-04-02 23:21:10 +00:00
Aurelien Foret 82de25badf reworked sync_cleanup 2005-04-02 20:25:24 +00:00
Aurelien Foret 4d21e4f721 started the work on "pacman_sync" 2005-03-30 22:32:43 +00:00
Aurelien Foret c3f53cdf12 changed alpm_db_register() prototype 2005-03-29 21:09:54 +00:00
Aurelien Foret d16c8be8a0 turned pmdepmissing_t into an opaque structure 2005-03-29 20:32:10 +00:00
Aurelien Foret 0550ba151f Backport from pacman 2.9.5 (code cleanup) 2005-03-25 22:37:13 +00:00
Aurelien Foret e010e1bba6 replaced hardcoded references to the cache by CACHEDIR 2005-03-25 20:29:35 +00:00
Aurelien Foret 3ed2795295 uncommented a call to alpm_logaction 2005-03-23 20:07:45 +00:00
Aurelien Foret 8179f7cbaa - added db_setlastupdate to db.c
- moved db_update from db.c to alpm.c
2005-03-22 20:14:49 +00:00
Aurelien Foret 621e241279 Let the C preprocessor concatenates CACHEDIR string 2005-03-20 22:04:20 +00:00
Aurelien Foret 72c2439576 Added support for .lastupdate files (from pacman 2.9.1) 2005-03-20 09:22:03 +00:00