1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-02 08:35:06 -04:00
Commit Graph

73 Commits

Author SHA1 Message Date
Aurelien Foret
9d4713e2a3 checkmd5sums enhancements 2006-02-20 20:55:53 +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
58a7e85534 - db_write: add support to write both local and sync entries
- code cleanup
2006-02-16 21:02:39 +00:00
Aurelien Foret
dc0bacf18c removed a leftover comment 2006-02-15 22:55:54 +00:00
Aurelien Foret
6e76fd8af3 - merged db_open and db_create into one single function
- moved the .lastupdate support to the frontend
2006-02-15 22:51:28 +00:00
Aurelien Foret
5aa5142815 error codes cleanup 2006-02-07 22:01:50 +00:00
Aurelien Foret
298c1a8e97 added alpm_pkg_checkmd5sum() to check md5sums for package from the cache 2006-02-05 09:57:29 +00:00
Aurelien Foret
325e3b6b98 added a pmconflict_t structure to handle file conflicts 2006-02-05 09:27:26 +00:00
Aurelien Foret
54de80b1ea doxygen support: added @brief field (patch from VMiklos <vmiklos@frugalware.org>) 2006-02-01 17:58:02 +00:00
Aurelien Foret
173d18f3f8 Added a missing trans_release call upon lib shutdown (patch from VMiklos <vmiklos@frugalware.org>) 2006-02-01 06:40:53 +00:00
Aurelien Foret
1042f1e7ce removed unlock code from alpm_release() 2006-01-29 16:53:16 +00:00
Aurelien Foret
831ff882ae reworked lock handling (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-26 22:16:57 +00:00
Aurelien Foret
7818e6f745 doxygen comments update (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-26 19:52:47 +00:00
Aurelien Foret
a10584aec4 document package, group, sync and transaction functions (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-21 19:29:10 +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
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
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
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
4819d21c74 terminated .lastupdate implementation for HTTP protocol 2006-01-05 19:37:54 +00:00
Aurelien Foret
5839652c41 code cleanup 2006-01-02 20:28:46 +00:00
Aurelien Foret
656a887d35 more sanity checks: do not add or remove databases while a trasaction is running 2006-01-02 16:20:50 +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
326c66f0ca patch from VMiklos: regarding the documentation, groups have to be renamed from foo to alpm_foo 2005-12-19 23:32:16 +00:00
Aurelien Foret
bf865c2da5 cleanup 2005-11-07 13:01:10 +00:00
Aurelien Foret
5d5d7d6339 do not free the cache right before using it! 2005-10-22 08:29:12 +00:00
Aurelien Foret
6b7b9787d5 - more sanity checks
- alpm_pkg_free can now return an error code
2005-10-10 15:03:35 +00:00
Judd Vinet
586370b744 started some doxygen comment blocks 2005-10-09 07:42:06 +00:00
Judd Vinet
a36ded25eb added conversation callback support for transactions 2005-10-09 06:09:57 +00:00
Judd Vinet
6f75de92b5 added more error messages, enabled the db permission check in trans_commit 2005-10-08 23:40:49 +00:00
Aurelien Foret
8ffb82a691 Code update to make use of PKG_FULLNAME_LEN 2005-10-08 21:36:47 +00:00
Aurelien Foret
05ab859eab Reworked the cache handling to only load DEPENDS info by default 2005-10-08 21:32:14 +00:00
Aurelien Foret
0d6a2edaa8 Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entry 2005-10-08 20:43:25 +00:00
Judd Vinet
79031ccd1a patch from vmiklos -- properly remove each db entry instead of rmrf'ing the whole thing 2005-10-07 16:38:17 +00:00
Aurelien Foret
af15744967 Applied reworked patch from VMiklos (vmiklos@frugalware.org)
Close the lock file descriptor upon handle release
2005-10-05 21:50:58 +00:00
Judd Vinet
a2192570fb changed license package field to a list 2005-07-22 01:59:11 +00:00
Aurelien Foret
a26095f8fc event transaction callback rework to prepare the introduction of a conversation callback 2005-05-04 19:55:23 +00:00
Aurelien Foret
f3975acf90 code cleanup 2005-05-03 17:44:53 +00:00
Aurelien Foret
54f6a1cb12 make use of the new list_remove implementation 2005-05-03 17:43:02 +00:00
Aurelien Foret
a93521aca3 do not register an already registered db 2005-05-02 17:54:44 +00:00
Aurelien Foret
7c04fe95ac added support for the package reason field 2005-04-24 20:11:10 +00:00
Aurelien Foret
abbb2cfcf0 code cleanup 2005-04-24 18:58:34 +00:00
Aurelien Foret
348cb923c7 renamed list_is_ptrin() in list_is_in() 2005-04-23 08:28:13 +00:00
Aurelien Foret
447885fdc3 code beautifying 2005-04-20 20:50:17 +00:00
Aurelien Foret
49d2cdc2f9 fixed args order in list_is_ptrin() 2005-04-20 19:41:33 +00:00
Aurelien Foret
6e5bbdb544 - general cleanup
- added alpm_trans_sysupgrade() function
- relocated some defines
2005-04-16 22:23:28 +00:00
Aurelien Foret
2669dfeb60 replaced a call to list_free by the macro FREELIST 2005-04-13 20:00:05 +00:00
Aurelien Foret
70481b0ee1 reworked alpm_db_readpkg 2005-04-08 20:42:27 +00:00
Aurelien Foret
e59e963f1f reverted back to trans->packages instead of install and remove queues 2005-04-06 21:00:57 +00:00
Aurelien Foret
3b49720e39 updated structure names (PM_SYNCPKG), and added transaction queues (install & remove) 2005-04-06 18:29:17 +00:00