1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-05 00:55:04 -05:00
Commit Graph

2030 Commits

Author SHA1 Message Date
Aurelien Foret
7775afa59b added function pkg_splitname (not used for now) 2005-04-08 20:43:13 +00:00
Aurelien Foret
70481b0ee1 reworked alpm_db_readpkg 2005-04-08 20:42:27 +00:00
Aurelien Foret
3e77af5182 more work in sync_prepare 2005-04-08 19:37:23 +00:00
Aurelien Foret
405d3c9a9f fixed a potential segfault 2005-04-08 19:22:00 +00:00
Aurelien Foret
761b21d8ae - small bugfixes
- removed 2 debug messages
2005-04-08 19:21:28 +00:00
Aurelien Foret
2decade81f removed a leftover comment 2005-04-08 17:27:03 +00:00
Aurelien Foret
36a29b6553 fixed a small memory leak 2005-04-08 16:29:55 +00:00
Aurelien Foret
3c0ea9451b synchronization with libalpm for latest sync feature work 2005-04-06 21:03:09 +00:00
Aurelien Foret
0074e9e312 more work to backport the sync features from pacman 2.9.5 2005-04-06 21:01:40 +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
48f8f521b1 reworked MSG and ERR outputs 2005-04-06 20:59:13 +00:00
Aurelien Foret
4091aa1165 package 'reason' field should default to 0 2005-04-06 18:30:50 +00:00
Aurelien Foret
3b49720e39 updated structure names (PM_SYNCPKG), and added transaction queues (install & remove) 2005-04-06 18:29:17 +00:00
Aurelien Foret
04e054f3cb replaced transaction 'packages' field by 2 queues: one for packages to be installed and the other for the ones to be removed 2005-04-06 18:25:33 +00:00
Aurelien Foret
08b34b8aef added logs for cache generation 2005-04-05 17:21:08 +00:00
Aurelien Foret
af759f11b5 fixed a typo 2005-04-03 19:58:24 +00:00
Aurelien Foret
a98c5c25b5 - added transaction flags for the removal of a package to be upgrade
- reworked some comments
2005-04-03 08:19:10 +00:00
Aurelien Foret
d9a96064ab reworked a log 2005-04-03 08:10:54 +00:00
Aurelien Foret
5ad504240d added list_is_ptrin() 2005-04-03 08:07:58 +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
80bae750cd - added 'lastupdate' field to pmdb_t
- added a new public function alpm_db_getinfo
- added a public parameter PM_PKG_DB for PM_PKG struct
2005-04-02 23:20:00 +00:00
Aurelien Foret
a94c24c406 fixed a log level 2005-04-02 23:17:44 +00:00
Aurelien Foret
ffd3a6304d - updated transaction events
- the cache is rebuilt after each package installation (to be reworked)
2005-04-02 20:37:50 +00:00
Aurelien Foret
1c28e29eb4 added support for PACKAGES field in alpm_trans_getinfo 2005-04-02 20:33:11 +00:00
Aurelien Foret
3dc36aa0e1 sync with changes in alpm.h and new RESOLVEDEPS event 2005-04-02 20:31:40 +00:00
Aurelien Foret
c5418ebfbc reworked resolvedeps:
- used the cache instead of db_scan() calls
- improved log messages
- more sanity checks
2005-04-02 20:30:09 +00:00
Aurelien Foret
2bbf118842 added RESOLVEDEPS to the list of transaction events 2005-04-02 20:28:01 +00:00
Aurelien Foret
82de25badf reworked sync_cleanup 2005-04-02 20:25:24 +00:00
Aurelien Foret
ffb54aba32 fixed a compilation warning 2005-04-02 20:24:24 +00:00
Aurelien Foret
4d21e4f721 started the work on "pacman_sync" 2005-03-30 22:32:43 +00:00
Aurelien Foret
b009c5bafa checked for db_update() archive existence 2005-03-29 22:19:11 +00:00
Aurelien Foret
73c6779067 removed an uneeded call to db_scan 2005-03-29 22:18:00 +00:00
Aurelien Foret
c1b2f48abf fixed a log mask 2005-03-29 22:17:27 +00:00
Aurelien Foret
3bbfdf4ce8 backport from pacman 2.9.5 - chdir 2005-03-29 21:15:15 +00:00
Aurelien Foret
425a6c6448 *** empty log message *** 2005-03-29 21:14:31 +00:00
Aurelien Foret
c3f53cdf12 changed alpm_db_register() prototype 2005-03-29 21:09:54 +00:00
Aurelien Foret
d30333756a put back 3 _alpm_log() calls 2005-03-29 20:58:43 +00:00
Aurelien Foret
23cd8d87cb put back 5 _alpm_log() calls 2005-03-29 20:54:47 +00:00
Aurelien Foret
cca46deb6f changed alpm_db_register() prototype 2005-03-29 20:52:22 +00:00
Aurelien Foret
d16c8be8a0 turned pmdepmissing_t into an opaque structure 2005-03-29 20:32:10 +00:00
Aurelien Foret
95ea99e197 Turned pmdepmissing_t into an opaque structure 2005-03-29 20:31:03 +00:00
Aurelien Foret
e5389ddc62 clearer string length for a strncpy call 2005-03-29 17:20:43 +00:00
Aurelien Foret
6063424c82 Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when copying strings 2005-03-29 17:18:59 +00:00
Aurelien Foret
3ac94cc719 maked use of db->path instead of handle->root+handle->dbpath+db->treename 2005-03-28 20:01:11 +00:00
Aurelien Foret
fd09a500d6 reworked dbpath handling to make it possible to use databases stored at different locations at the same time 2005-03-28 19:59:33 +00:00
Aurelien Foret
61231c9ba8 replaced occ of list_free() by FREELIST/FREELISTPTR macros 2005-03-28 08:25:33 +00:00
Aurelien Foret
56917dc304 improved logs (use _alpm_log instead of fprintf) 2005-03-28 08:21:17 +00:00
Aurelien Foret
9c17eb88f0 improved log message for alpm_db_update 2005-03-28 07:50:30 +00:00
Aurelien Foret
0ef95757d6 added a FREELISTPTR macro to free a PMList without freeing its data 2005-03-28 07:45:24 +00:00
Aurelien Foret
350a3972d1 fixed an error message 2005-03-27 07:43:13 +00:00