Aurelien Foret
|
95fac9cdb2
|
code cleanup
|
2005-04-24 11:15:37 +00:00 |
|
Aurelien Foret
|
2f5060e439
|
logs cleanup
|
2005-04-24 11:15:27 +00:00 |
|
Aurelien Foret
|
bcd41a4a3d
|
removed deprecated comments in add_commit()
|
2005-04-24 11:14:50 +00:00 |
|
Aurelien Foret
|
e1c7d79ecb
|
added transaction events for sync_commit operations
|
2005-04-24 11:14:15 +00:00 |
|
Aurelien Foret
|
45247b4e35
|
fixed some potential resource leaks
|
2005-04-24 09:14:25 +00:00 |
|
Aurelien Foret
|
e2b474b130
|
rework the cache handling to avoid as much as possible calls to db_scan()
|
2005-04-23 17:18:31 +00:00 |
|
Aurelien Foret
|
348cb923c7
|
renamed list_is_ptrin() in list_is_in()
|
2005-04-23 08:28:13 +00:00 |
|
Aurelien Foret
|
4fcec8f03f
|
first steps to support REPLACES feature
|
2005-04-20 20:50:49 +00:00 |
|
Aurelien Foret
|
447885fdc3
|
code beautifying
|
2005-04-20 20:50:17 +00:00 |
|
Aurelien Foret
|
406f383192
|
avoided two calls to db_scan() in checkdeps()
|
2005-04-20 19:46:53 +00:00 |
|
Aurelien Foret
|
b7d584feb6
|
- fixed args order in list_is_ptrin()
- fixed several memory leaks
|
2005-04-20 19:41:54 +00:00 |
|
Aurelien Foret
|
49d2cdc2f9
|
fixed args order in list_is_ptrin()
|
2005-04-20 19:41:33 +00:00 |
|
Aurelien Foret
|
170dd807f5
|
- fixed args order in list_is_ptrin()
|
2005-04-20 19:41:22 +00:00 |
|
Aurelien Foret
|
77520f9d43
|
avoided a call to db_scan()
|
2005-04-20 19:40:33 +00:00 |
|
Aurelien Foret
|
3ad6393baf
|
bypass trans_prepare() if there is no target
|
2005-04-20 19:39:41 +00:00 |
|
Aurelien Foret
|
a215d1ebe0
|
more work for sync_commit()
|
2005-04-17 20:09:06 +00:00 |
|
Aurelien Foret
|
cd26093b06
|
add_loadtarget: load package info only when needed
|
2005-04-17 10:02:47 +00:00 |
|
Aurelien Foret
|
6dfa3ef6af
|
improved logs for package removal
|
2005-04-17 10:01:47 +00:00 |
|
Aurelien Foret
|
cb0182160d
|
renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAME
|
2005-04-17 10:01:22 +00:00 |
|
Aurelien Foret
|
9b64e31286
|
more sanity checks for pkg_load()
|
2005-04-17 10:00:49 +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
|
36087bb392
|
- reworked pmsyncpkg_t structure
- got ride of uneeded handle external references
|
2005-04-16 22:15:50 +00:00 |
|
Aurelien Foret
|
29a712e393
|
- reworked transaction prototypes
- added a trans_sysupgrade function
|
2005-04-16 22:14:34 +00:00 |
|
Aurelien Foret
|
43ea74cce6
|
reworked handle structure initialization
|
2005-04-16 16:43:55 +00:00 |
|
Aurelien Foret
|
89f0ccc3cc
|
reworked transaction prototypes
|
2005-04-16 16:42:43 +00:00 |
|
Aurelien Foret
|
31da982deb
|
more work for sync_commit()
|
2005-04-14 21:07:38 +00:00 |
|
Aurelien Foret
|
c78bcae401
|
-fixed 2 logs
- some sync_commit() rework
|
2005-04-13 21:01: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
|
e115a5829e
|
- updated sync feature
- added 2 new transaction events
|
2005-04-13 19:59:04 +00:00 |
|
Aurelien Foret
|
45c7e10afc
|
updated a log
|
2005-04-13 19:57:23 +00:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|