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

386 Commits

Author SHA1 Message Date
Judd Vinet
318e233cb3 spelling fix 2006-07-14 23:11:53 +00:00
Judd Vinet
ef7cbbb771 bugfix: when looking at provides, defer to the new, to-be-installed package's provisios instead of the the existing package's 2006-07-04 17:48:15 +00:00
Judd Vinet
7236dd3287 i18n stuff 2006-06-28 05:37:15 +00:00
Judd Vinet
bb787e26ee first stage of i18n stuff from VMiklos 2006-05-15 02:19:57 +00:00
Aurelien Foret
3d3a29a808 added .cvsignore files 2006-03-27 17:17:35 +00:00
Aurelien Foret
839a64df41 fixed a regression (patch from VMiklos <vmiklos@frugalware.org>) 2006-03-21 19:38:00 +00:00
Aurelien Foret
ad2c7463c9 put back treename in db->path 2006-03-14 22:53:42 +00:00
Aurelien Foret
a08a9896c9 code cleanup 2006-03-09 19:12:09 +00:00
Aurelien Foret
25571830d6 build be_files.c as a additional object 2006-03-08 20:59:43 +00:00
Aurelien Foret
ddcfaa1f5a removed an uneeded error code (DB_UPTODATE) 2006-03-08 20:57:03 +00:00
Aurelien Foret
d6eeae2716 code cleanup 2006-03-08 18:21:17 +00:00
Aurelien Foret
4f42a0accb all _alpm_XXX_cmp functions are now public 2006-03-08 18:07:58 +00:00
Aurelien Foret
230d9d7ae3 db_write: fixed md5sum field 2006-03-07 22:37:01 +00:00
Aurelien Foret
3a08d20b37 removed db_scan calls - take 2 2006-03-07 21:09:16 +00:00
Aurelien Foret
5d7dcdd22c removed db_scan calls 2006-03-07 21:01:02 +00:00
Aurelien Foret
021bf7b0d0 fixed a commentary 2006-03-07 20:58:09 +00:00
Aurelien Foret
9a6bb4e826 removed an unexpected log 2006-03-07 20:53:24 +00:00
Aurelien Foret
f0151aa587 code cleanup 2006-03-07 20:52:45 +00:00
Aurelien Foret
fa5e6cef75 prepare code for cache loaded with only DEPENDS 2006-03-07 20:45:38 +00:00
Aurelien Foret
8f12ce618c fixed reason loading if the pkg cache is loaded with DEPENDS only 2006-03-07 18:44:50 +00:00
Aurelien Foret
27be34c09b added a NOSCRIPLET flag to transactions (patch from VMiklos <vmiklos@frugalware.org>) 2006-03-07 18:17:03 +00:00
Aurelien Foret
1bd8f57a18 - changed flags type from char to int
- downloadonly implies FLAG_NOCONFLICTS
2006-03-04 15:33:44 +00:00
Aurelien Foret
297c5284b6 fixed alpm_db_update extraction path 2006-03-04 14:58:28 +00:00
Aurelien Foret
7e9b70a208 added a FLAG_NOCONFLICT 2006-03-04 10:16:36 +00:00
Aurelien Foret
fdc0433d32 added more debug logs 2006-03-04 10:16:12 +00:00
Aurelien Foret
a21b1100e9 make cache works when loading it with DEPENDS info only 2006-03-04 09:42:13 +00:00
Aurelien Foret
dfa1a2a13a removed HoldPkg option (frontend only feature) 2006-03-02 20:12:11 +00:00
Aurelien Foret
e2faeb46e1 reworked the db object to prepare future integration with different backends 2006-03-02 19:06:52 +00:00
Aurelien Foret
5261c7fafb code cleanup 2006-03-02 19:04:40 +00:00
Aurelien Foret
3eebe8fc2b code cleanup 2006-03-02 19:02:35 +00:00
Aurelien Foret
79f4b5acf4 added a debug log 2006-03-02 19:00:57 +00:00
Aurelien Foret
0b4ab2c0a8 added ERROR logs in case of malloc failures (patch from VMiklos <vmiklos@frugalware.org>) 2006-03-01 07:51:00 +00:00
Aurelien Foret
16ff7cfa8e improved _alpm_list_free handling 2006-02-22 20:49:33 +00:00
Aurelien Foret
3f9ddf262d skipped conflict resolution for targets removed from transaction set 2006-02-22 19:49:06 +00:00
Judd Vinet
7706188979 conflict checks: when doing db-vs-target checks, opt to use the NEWER, to-be-installed package instead of the local db version if there's one available 2006-02-21 23:55:59 +00:00
Aurelien Foret
910fd6a687 the library must provide default values for main options 2006-02-20 20:59:35 +00:00
Aurelien Foret
9d4713e2a3 checkmd5sums enhancements 2006-02-20 20:55:53 +00:00
Aurelien Foret
590f610d6b dropped the MALLOC macro 2006-02-20 20:41:40 +00:00
Judd Vinet
ef04c832f7 FW: spaces -> tabs cosmetic fix 2006-02-20 18:45:26 +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
48cc9f3beb doxygen support for autotools (patch from Christian Hamar <krics@linuxforum.hu> 2006-02-17 20:48:45 +00:00
Aurelien Foret
a2d1b58210 code cleanup 2006-02-16 23:05:52 +00:00
Aurelien Foret
fbea96fd72 code cleanup 2006-02-16 21:07:59 +00:00
Aurelien Foret
eefe29d99a fixed directory roots when running scriplets 2006-02-16 21:07:34 +00:00
Aurelien Foret
181efcdeaa - grep is now a static function
- code cleanup
2006-02-16 21:05:49 +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
9cc5e60e6d reworked logs 2006-02-12 09:43:38 +00:00
Aurelien Foret
2e94c34b05 added a add_faketarget function
reworked logs
2006-02-12 09:43:10 +00:00
Aurelien Foret
3997c31ff1 reworked debug messages 2006-02-11 19:06:40 +00:00
Aurelien Foret
8061874991 - reworked debug messages
- synchro with pacman 2.9.8
2006-02-11 19:01:56 +00:00
Aurelien Foret
b824ee9608 added more logs 2006-02-11 09:42:52 +00:00
Aurelien Foret
3a82992b59 db_write: only write non-empty fields to database 2006-02-11 07:53:36 +00:00
Aurelien Foret
5aa5142815 error codes cleanup 2006-02-07 22:01:50 +00:00
Aurelien Foret
c5aca9529f code factorization: take 2 2006-02-07 21:33:09 +00:00
Aurelien Foret
bbb48a85f0 code factorization 2006-02-07 19:08:02 +00:00
Aurelien Foret
f34d895dc5 code cleanup 2006-02-07 18:30:02 +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
c432d52506 copyright update 2006-02-05 09:24:28 +00:00
Aurelien Foret
35e23b9554 code cleanup 2006-02-05 09:23:28 +00:00
Aurelien Foret
ad3baca0f4 - sync_prepare: fixed a case where a conflict should be removed from the target list
- avoided possible duplicates in target list (patch from VMiklos <vmiklos@frugalware.org>)
- added more debug logs
2006-02-05 09:15:20 +00:00
Aurelien Foret
a167cdb47e fixed typos in 2 debug logs 2006-02-01 21:59:02 +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
Judd Vinet
f3c5f9b4d1 Search through package provides if no literal matches are found when scanning for targets with -S 2006-01-28 04:48:51 +00:00
Aurelien Foret
cb96945180 improved log messages for add_commit 2006-01-27 19:21:00 +00:00
Aurelien Foret
c3ffe4367a cleaned up db_write error cases handling 2006-01-27 19:12:15 +00:00
Aurelien Foret
299d708b0d fixed potential file descriptor leaks 2006-01-27 19:08:35 +00:00
Aurelien Foret
819c265cdb fixed a compilation warning 2006-01-26 22:18:07 +00:00
Aurelien Foret
831ff882ae reworked lock handling (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-26 22:16:57 +00:00
Aurelien Foret
18986b1805 reworked lock handling (patch from VMiklos <vmiklos@frugalware.fr>) 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
Judd Vinet
26ec9573ef changed behaviour with original=X,current=Y,new=Z backup scenario -- install new file as .pacnew and keep old one in place 2006-01-22 02:30:15 +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
fc8be93314 resolvedeps: return the depmiss info to the frontend in case of failure 2006-01-21 18:28:38 +00:00
Aurelien Foret
2d08e902ef added a FAKEROOT define allowing to use pacman in a fakeroot enivronment (for tests purpose) 2006-01-21 16:50:01 +00:00
Aurelien Foret
cf94007aed more code cleanup yet 2006-01-18 22:37:16 +00:00
Aurelien Foret
c7bcaeb7e8 fixed detection for duplicate entries in list of deps/conflicts 2006-01-17 22:01:57 +00:00
Aurelien Foret
510d57b577 even more code cleanup 2006-01-17 21:18:33 +00:00
Aurelien Foret
719ff509c4 reworked log messages 2006-01-17 21:18:12 +00:00
Aurelien Foret
39b6d552c6 - code cleanup
- log improvements
2006-01-17 18:38:31 +00:00
Aurelien Foret
6e5a62dd12 more code cleanup 2006-01-16 22:27:09 +00:00
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
d42c6bdc49 removed unuseful error codes 2006-01-13 20:55:39 +00:00
Aurelien Foret
851dd3d16b improved log and debug messages 2006-01-13 20:46:01 +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
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
668e58626d added ALLDEPS transaction flag mainly to handle "makepkg -s" 2006-01-10 18:19:06 +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