Aurelien Foret
b014cdbe8b
code cleanup
2006-01-13 21:16:49 +00:00
Aurelien Foret
e3cc4150f6
added a missing commentary from pacman 2.9.x code
2006-01-13 21:02:33 +00:00
Aurelien Foret
4232cd9cca
fixed a possible memory corruption
2006-01-13 20:59:57 +00:00
Aurelien Foret
365e440e80
code cleanup
2006-01-13 20:54:36 +00:00
Aurelien Foret
ca67579656
code cleanup
2006-01-13 20:47:13 +00:00
Aurelien Foret
c305bf670b
updated README and download comments about mtimes support
2006-01-10 22:09:47 +00:00
Aurelien Foret
325d297739
made use of the new ALLDEPS transaction flag to handle "makepkg -s"
2006-01-10 18:45:32 +00:00
Aurelien Foret
ec305c1443
code cleanup
2006-01-10 17:55:17 +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
fce68beaaf
code cleanup
2006-01-07 18:11:37 +00:00
Aurelien Foret
59edbdd4cf
code cleanup
2006-01-07 17:50:20 +00:00
Aurelien Foret
52346fc121
- removed uid checks (CYGWIN)
...
- fixed indentation in parseargs
2006-01-07 10:01:19 +00:00
Aurelien Foret
f3a4197e34
code cleanup (mainly removed line spaces at the beginning of lines by tabulations)
2006-01-07 09:42:48 +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
11b6a69266
moved pacman_deptest function in its own file
2006-01-06 22:19:14 +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
4585060a5a
code cleanup
2006-01-06 12:29:51 +00:00
Aurelien Foret
5fc2e009dc
- started to rename list_XXX calls to _alpm_list_XXX
...
- fixed 2 compilation warnings
2006-01-05 21:49:42 +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
a6923f9aae
fixed a regression
2006-01-05 19:49: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
db0df44598
code cleanup
2006-01-02 13:26:30 +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
d28415a3b7
renamed error titles from XXX to xxx
2006-01-01 10:18:22 +00:00
Aurelien Foret
5a0565cf24
*** empty log message ***
2006-01-01 10:06:28 +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
2c0530e634
added a missing code chunk of the ignore command line option (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:58:22 +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
289b75d576
used defines from alpm.h instead of local ones (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:03:48 +00:00
Aurelien Foret
0fe69d030b
removed an uneeded call to strtrim
2005-12-31 16:57:53 +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
58c9d5d663
applied first try at sync conflict handling (VMiklos) plus a couple changes
2005-12-26 06:40:29 +00:00
Judd Vinet
a074ddb85b
VMiklos: add STRNCPY macro from alpm to pacman
2005-12-20 23:59:56 +00:00
Judd Vinet
953e7e5d3e
VMiklos: --noconfirm fix
2005-12-20 23:58:27 +00:00
Judd Vinet
9a7190dfff
verbosity fix from VMiklos
2005-12-20 23:37:22 +00:00
Judd Vinet
15689bddbf
added Frugalware patch: -Q --foreign to display packages not found in sync repos
2005-12-14 02:23:14 +00:00
Aurelien Foret
2ab57b6022
fixed compilation warnings
2005-11-07 13:14:19 +00:00
Aurelien Foret
096e531236
removed the declaration of an unused variable
2005-11-07 09:21:42 +00:00
Aurelien Foret
bbfe57b95a
fixed parseconfig usage
2005-10-29 07:18:40 +00:00
Aurelien Foret
617263a605
fixed a compilation warning
2005-10-29 07:18:11 +00:00
Aurelien Foret
36da65c468
fixed some compilation warnings
2005-10-29 07:17:43 +00:00
Aurelien Foret
48c6090098
added PACCONF, PACDB and PACROOT defines
2005-10-29 07:09:48 +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
ff50305a02
improved the Replace question format a bit
2005-10-20 23:31:14 +00:00
Judd Vinet
feb152d78c
added a default cachedir
2005-10-20 20:44:14 +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
339bc1de65
removed useless getenv() calls
2005-10-18 07:40:04 +00:00
Judd Vinet
a1526a3e7d
added first part of the autoconf stuff - patch from Christian Hamar <krics@linuxforum.hu>
2005-10-17 18:52:43 +00:00
Aurelien Foret
8f191f3b33
added a missing header file declaration
2005-10-10 20:42:48 +00:00
Aurelien Foret
b817883cdd
pacman update to cope with the CACHEDIR option from the library
2005-10-10 16:03:17 +00:00
Aurelien Foret
6c7f521298
improved query_fileowner() function
2005-10-10 15:05:12 +00:00
Aurelien Foret
75800d4ec2
pacman should work without its configuration file!
2005-10-10 15:04:25 +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
Aurelien Foret
2a2659e2a1
Fixed an text formatting issue
2005-10-08 21:37:37 +00:00
Judd Vinet
5ef51b3e26
Merging in recent fixes/additions from 2.9.7
2005-10-07 23:29:49 +00:00
Aurelien Foret
5267004884
Applied patch from Christian Hamar (krics@linuxforum.hu)
2005-10-06 19:02:14 +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
65bfbb0bf3
changed license package field to a list
2005-08-20 06:03:49 +00:00
Aurelien Foret
da79a41054
fixed cb_trans() prototype
2005-05-09 09:14:45 +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
8b48763b5d
fixed some small memory leaks
2005-05-04 20:52:41 +00:00
Aurelien Foret
d5bfc60734
fixed a small memory leak during the cleanup of config data
2005-05-03 17:29:00 +00:00
Aurelien Foret
a53bf50189
get ride of ORE tags
2005-05-02 08:05:47 +00:00
Aurelien Foret
9e7dfed18b
added a --debug option to externally set the library log level
2005-05-02 07:37:55 +00:00
Aurelien Foret
1942c74489
fixed targets display for cascade or recurse commands
2005-05-02 07:37:14 +00:00
Aurelien Foret
1e522d5baa
removed unused function list_is_ptrin()
2005-05-01 20:51:01 +00:00
Aurelien Foret
cda9c6671c
reworked pacman_deptest()
2005-05-01 20:47:22 +00:00
Aurelien Foret
4df9278328
reimplemented list_free() a safer way
2005-05-01 20:45:07 +00:00
Aurelien Foret
a73427fc0b
removed an uneeded check
2005-05-01 17:19:31 +00:00
Aurelien Foret
62d9957739
added a new ORE tag
2005-04-24 21:28:02 +00:00
Aurelien Foret
ca61a89987
slighlty improved efficiency for dump_pkg_full()
2005-04-24 19:42:51 +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
6511f1949e
some remork for pacman_deptest()
2005-04-23 17:16:02 +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
5a035d0b40
fixed a log message
2005-04-17 20:07:48 +00:00
Aurelien Foret
0c0a50caf5
fixed a user message
2005-04-17 10:00:03 +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
3fa2b0e3bd
backported support for print-uris from pacman 2.9.x
2005-04-13 19:16:32 +00:00
Aurelien Foret
54593f515a
added option -p in pacman usage screen
2005-04-13 19:11:29 +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
48f8f521b1
reworked MSG and ERR outputs
2005-04-06 20:59:13 +00:00
Aurelien Foret
af759f11b5
fixed a typo
2005-04-03 19:58:24 +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
3dc36aa0e1
sync with changes in alpm.h and new RESOLVEDEPS event
2005-04-02 20:31:40 +00:00