-
36c79fc167
xbps_handle_alloc: use calloc to avoid using unitilizated value.
Juan RP
2011-12-22 21:47:32 +01:00
-
ca0905925f
xbps_end: don't continue if we don't have a valid xbps_handle pointer.
Juan RP
2011-12-22 16:55:35 +01:00
-
3d81d497bd
Redo xbps_repository_pool internals, it's a bit faster now.
Juan RP
2011-12-22 16:38:05 +01:00
-
32597d85c1
Use xbps_regpkgdb_foreach_pkg_cb() where needed.
Juan RP
2011-12-22 14:41:40 +01:00
-
7bfcdee791
Introduce xbps_regpkgdb_foreach_pkg_cb() and use it in xbps-bin check.
Juan RP
2011-12-22 14:25:27 +01:00
-
b232ca1815
libxbps: cache regpkgdb just when it's needed not via xbps_init().
Juan RP
2011-12-22 12:56:56 +01:00
-
8fd5253e31
xbps_repository_pool_init: check repo arch before plist access(2), faster.
Juan RP
2011-12-22 12:56:49 +01:00
-
939e2c2417
xbps-bin(8): fix 'find-files' syntax in manpage.
Juan RP
2011-12-22 11:07:54 +01:00
-
47237846ae
xbps-repo(8): the 'find-files' target now accepts multiple patterns.
Juan RP
2011-12-22 11:01:28 +01:00
-
d4278be914
xbps-bin(8): the 'find-files' target now accepts multiple patterns.
Juan RP
2011-12-22 10:45:13 +01:00
-
13331f801c
xbps-repo: the 'search' target now accepts multiple patterns as arguments.
Juan RP
2011-12-22 09:33:54 +01:00
-
5a892023f4
Be a bit more paranoid by checking allocs and expected types.
Juan RP
2011-12-22 08:23:11 +01:00
-
1c6794a4e4
NEWS: be ready to release 0.11.
Juan RP
2011-12-20 16:26:26 +01:00
-
a5d9eb9853
xbps-bin: it's possible to reinstall any pkg with '-f' option.
Juan RP
2011-12-20 16:08:23 +01:00
-
6ad7289d68
Detect clock_gettime(2) and use (if available) for the fetch cb.
Juan RP
2011-12-19 16:41:57 +01:00
-
866c395d12
Simplify xbps_repository_pool_find_xxx.
Juan RP
2011-12-19 14:22:19 +01:00
-
c40c40e08e
Always preserve current conffiles while installing new packages.
Juan RP
2011-12-19 11:20:27 +01:00
-
79fd316f8e
xbps-bin: formatting fixes for transaction printfs.
Juan RP
2011-12-18 01:10:24 +01:00
-
a1f39a0a82
xbps-repo(8): rewriten manpage to mdoc(7) macro format.
Juan RP
2011-12-17 18:30:13 +01:00
-
99f0b02e03
xbps-bin(8): fix typo.
Juan RP
2011-12-17 18:29:48 +01:00
-
fa80e01404
xbps-bin(8): rewritten manpage to mdoc(7) macro format.
Juan RP
2011-12-17 17:40:23 +01:00
-
53fd5fa10b
xbps_transaction_update_packages: handle ENODEV case (package removed but not purged).
Juan RP
2011-12-16 11:03:40 +01:00
-
1a4c13e1bf
xbps_remove_pkg: fix path to REMOVE script.
Juan RP
2011-12-16 10:34:05 +01:00
-
450bf2713d
Also purge packages to replaced in transaction.
Juan RP
2011-12-16 10:21:51 +01:00
-
2bc9890eb6
xbps_purge_pkg: fix a memleak.
Juan RP
2011-12-16 09:28:37 +01:00
-
1698bde3a4
xbps_pkg_index_plist: fix path to repository's index.plist.
Juan RP
2011-12-15 15:34:51 +01:00
-
c60ab726a3
xbps_configure_pkg: fix path to INSTALL script.
Juan RP
2011-12-15 14:46:59 +01:00
-
32fdb35c56
libxbps: make xh->cachedir to always use a full path after xbps_init().
Juan RP
2011-12-15 14:24:10 +01:00
-
70e95786dc
libxbps: pass xhp->conffile as last argument when execing INSTALL/REMOVE scripts.
Juan RP
2011-12-15 12:24:59 +01:00
-
a8f2f04d9f
xbps.conf: add xbps.nopcode.org repos by default.
Juan RP
2011-12-15 11:35:27 +01:00
-
93e3603dcc
xbps_init: use __UNCONST to shut up gcc's -Wcast-qual warnings.
Juan RP
2011-12-15 11:30:17 +01:00
-
b0ceeaa58e
New configuration file via confuse: xbps.conf.
Juan RP
2011-12-15 11:19:20 +01:00
-
3f45f563be
xbps-bin: syslog support, enabled by default.
Juan RP
2011-12-06 13:02:49 +01:00
-
afde2a6653
xbps-repo: move list/search code into its own file: list.c.
Juan RP
2011-12-03 10:46:57 +01:00
-
43d85c76b3
xbps-repo: implement new target 'pkg-list' to list pkgs from target repo.
Juan RP
2011-12-03 10:37:31 +01:00
-
cb2e941b48
xbps-{bin,repo}: sync manpages.
Juan RP
2011-12-03 09:00:08 +01:00
-
4002356ef8
configure: don't check for -std=c99, it's redundant anyway.
Juan RP
2011-12-03 08:41:47 +01:00
-
8be527cbdf
xbps_fetch_file: set bytes downloaded correctly for the fetch client cb.
Juan RP
2011-12-01 12:21:13 +01:00
-
e7562fa72d
libxbps: make xbps_find_*pkg_dict_installed only accept {INSTALL,UNPACK}ED states as valid ones.
Juan RP
2011-11-30 11:11:15 +01:00
-
8f119a4076
xbps-bin: make symlinks check to report an error msg on failure.
Juan RP
2011-11-27 10:05:23 +01:00
-
3ffb44f6fe
xbps-bin: move remove code into transaction.c::remove_pkg().
Juan RP
2011-11-27 09:59:39 +01:00
-
6229e06a67
xbps-bin: fix a broken condition.
Juan RP
2011-11-27 09:29:13 +01:00
-
9d731ffe09
Introduce xbps_transaction_remove_pkg() and use it for xbps-bin(8).
Juan RP
2011-11-27 09:05:18 +01:00
-
dcac4ec153
xbps_remove_pkg: only issue XBPS_STATE_REMOVE in no update case.
Juan RP
2011-11-25 15:08:33 +01:00
-
0ff0aee226
libxbps: added xbps_transaction_autoremove_pkgs(bool purge).
Juan RP
2011-11-25 11:20:03 +01:00
-
bbfd2813b2
libxbps: renamed xbps_repository_{install,update}_xxx to xbps_transaction_xxx.
Juan RP
2011-11-25 10:12:03 +01:00
-
f3099fa2c6
Added success states for state_cb, move some descriptions to the client cb.
Juan RP
2011-11-25 09:44:49 +01:00
-
196b26035a
Zero out cb structs completely.
Juan RP
2011-11-25 08:22:20 +01:00
-
ab17573692
Split XBPS_FLAG_FORCE into CONFIGURE and REMOVE_FILES, bump XBPS_API_VERSION.
Juan RP
2011-11-24 11:50:53 +01:00
-
ab36420439
xbps-bin: process XBPS_STATE_TRANS cases too.
Juan RP
2011-11-24 11:33:04 +01:00
-
3ccfec7054
Improved callback/states support to make libxbps std{err,out} printf free.
Juan RP
2011-11-24 11:23:08 +01:00
-
4ed6b5ed2c
NEWS: sync with reality for 0.11.0.
Juan RP
2011-11-21 11:44:27 +01:00
-
c0ecb93410
libxbps: always force pkgpattern match in virtualpkgs from conf.
Juan RP
2011-11-17 12:59:36 +01:00
-
19664f624a
libxbps: return success when requiredby entry already exists.
Juan RP
2011-11-17 12:57:43 +01:00
-
435aa84fb0
xbps-{bin,repo}: unbreak the 'show' target, sigh.
Juan RP
2011-11-15 10:21:12 +01:00
-
9157f7d148
xbps-bin: split main.c into new files: list.c show-orphans.c and unpack_cb.c.
Juan RP
2011-11-11 10:18:52 +01:00
-
029fd96690
xbps-bin: state_cb.c: initialize var to silence a warning.
Juan RP
2011-11-11 09:45:03 +01:00
-
86f1f18571
libxbps: revamped trans states/cb to be more generic, not just for transactions.
Juan RP
2011-11-11 09:41:48 +01:00
-
dc4f7af890
xbps-bin: remove useless printf in autoupdate target.
Juan RP
2011-11-11 00:39:47 +01:00
-
a470e6a1af
libxbps: xbps_repository_pool_sync: show proper error on dbg printf.
Juan RP
2011-11-11 00:31:56 +01:00
-
bcaaf60966
libxbps: xbps_repository_sync_pkg_index: set correct error in err cb.
Juan RP
2011-11-11 00:31:09 +01:00
-
756234e9c3
libxbps: xbps_fetch_error_string: return NULL on libfetch success.
Juan RP
2011-11-11 00:30:01 +01:00
-
bbd83767c6
libxbps: missing arg in printf format for xbps_pkg_index_plist.
Juan RP
2011-11-11 00:10:35 +01:00
-
94b6458415
libxbps: skip unfetched repos in xbps_repository_pool_init and simplify.
Juan RP
2011-11-11 00:07:26 +01:00
-
45d55698d8
libxbps: strip redundant dir separators returned by xbps_pkg_index_plist().
Juan RP
2011-11-11 00:05:56 +01:00
-
ced906ff3f
xbps-repo: renamed repository.c to show.c.
Juan RP
2011-11-10 23:31:46 +01:00
-
c2eed68471
libxbps: add xbps_repository_pool_sync, to sync repoidx from all remotes.
Juan RP
2011-11-10 23:14:50 +01:00
-
de4504c248
Update refs to pkg-index, which aren't true anymore.
Juan RP
2011-11-10 09:21:17 +01:00
-
e46dd09127
Faster binary package unpacking, see the NEWS file for info.
Juan RP
2011-11-09 21:01:25 +01:00
-
bffff1a00d
libxbps: xbps_set_pkg_state_installed: create metadir with 0755 perms.
Juan RP
2011-11-09 16:36:11 +01:00
-
a426bad11d
libxbps: xbps_mkpath: create intermediate dirs with 0755 permissions.
Juan RP
2011-11-09 11:17:42 +01:00
-
59dc65b907
Move prog.mk to the bin directory.
Juan RP
2011-11-08 17:45:14 +01:00
-
327527e304
NEWS: typo fix.
Juan RP
2011-11-07 20:32:05 +01:00
-
662b5acc08
Implemented "New repository scheme and configuration file" from issue 16.
Juan RP
2011-11-07 20:28:35 +01:00
-
27c5138324
xbps-bin: use xbps_fetch_error_string in reposync err cb.
Juan RP
2011-11-07 19:56:30 +01:00
-
1bca0f7a65
configure: remove -Wunused-macros and -fpic tests, clang does not like them.
Juan RP
2011-11-06 09:59:25 +01:00
-
fe3353a2b2
xbps-uhelper: optimize some targets where xbps_init() is not necessary.
Juan RP
2011-11-05 08:41:29 +01:00
-
7b251477e5
Bump XBPS_API_VERSION for recent changes.
Juan RP
2011-10-31 21:30:08 +01:00
-
e472fc1334
xbps_repository_pool_find_pkg: return ENODEV in bestpkg case if pkg not installed.
Juan RP
2011-10-31 21:29:37 +01:00
-
5aca09b5f5
xbps_repository_update_pkg: return ENODEV if pkg is not installed.
Juan RP
2011-10-31 21:29:00 +01:00
-
1031ea0141
xbps-bin: return proper error value if update target fails.
Juan RP
2011-10-31 21:28:21 +01:00
-
cf1b893995
libxbps: there's no need to look for vpkgs in xbps_repository_update_*().
Juan RP
2011-10-31 21:01:53 +01:00
-
b8c804e891
Check for obj validity with prop_object_type(), use xbps_pkg_has_rundeps().
Juan RP
2011-10-31 09:48:46 +01:00
-
f35e1eff42
libxbps: improve debugging messages while looking for pkgs in repos.
Juan RP
2011-10-30 16:41:39 +01:00
-
c5d6ccde46
libxbps: make check_is_installed_pkg_* use only find_virtualpkg_dict_installed.
Juan RP
2011-10-30 16:24:56 +01:00
-
b09bd9740d
TODO: new entry for xbps-repo(8).
Juan RP
2011-10-30 11:49:10 +01:00
-
eb7ba3dd18
TODO: sync with reality.
Juan RP
2011-10-30 11:47:35 +01:00
-
2a8b74484e
libxbps: improve xbps_purge_pkg() in case that metadata dir doesn't exist.
Juan RP
2011-10-30 11:12:03 +01:00
-
858e616f41
libxbps: preserve config file if they exist for replaced pkgs.
Juan RP
2011-10-30 10:32:56 +01:00
-
07d47ab09a
libxbps: xbps_dictionary_from_metadata_plist: respect pkgname arg.
Juan RP
2011-10-30 08:01:25 +01:00
-
39e8ada644
xbps-repo: simplify code in repository.c.
Juan RP
2011-10-29 11:24:02 +02:00
-
5731b7d070
xbps-bin: XBPS_TRANS_STATE_REPOSYNC printf tweak.
Juan RP
2011-10-29 10:21:31 +02:00
-
70dd86e2df
libxbps: more dbg printf love.
Juan RP
2011-10-29 09:55:09 +02:00
-
85c58e77c2
libxbps: rpool printf tweaks.
Juan RP
2011-10-29 09:45:51 +02:00
-
1c4d486396
xbps-{bin,repo}: new -o flag for the 'show' target, to print specific objs value.
Juan RP
2011-10-29 08:17:54 +02:00
-
549b5e2e36
xbps-{bin,repo}: dynamically print all objs in the 'show-files' target.
Juan RP
2011-10-28 23:02:07 +02:00
-
c5fcaa294d
xbps-{bin,repo}: dynamically print all objs in the 'show' target.
Juan RP
2011-10-28 18:17:19 +02:00
-
238c9d9926
xbps-bin: (check) initialize vars to avoid a gcc warning.
Juan RP
2011-10-28 09:35:34 +02:00
-
dbd5e05280
Make sure that downloaded pkg-index.plist is really a plist file.
Juan RP
2011-10-28 09:29:37 +02:00
-
8bc705ea63
xbps-bin(8): (check) new test to fix missing requiredby entries in regpkgdb.
Juan RP
2011-10-28 00:57:16 +02:00