Juan RP
78cd625c28
xbps-pkgdb: fixed symlinks check; this now detects modified symlinks correctly.
2012-11-19 21:12:04 +01:00
Juan RP
ca26c20dd5
xbps-query: show usage() when called with no args.
2012-11-19 21:06:37 +01:00
Juan RP
5de4fb1f0a
xbps-install: -f will also overwrite pkg files.
2012-11-19 20:50:58 +01:00
Juan RP
01e67d1394
xbps-install: do not print anything for XBPS_STATE_INSTALL.
2012-11-19 12:29:47 +01:00
Juan RP
edc9853904
xbps-reconfigure: printf typo fix.
2012-11-18 13:23:24 +01:00
Juan RP
55982c7a3c
xbps-query: process modes and arguments correctly.
2012-11-18 12:57:38 +01:00
Juan RP
ace91b17e0
xbps-pkgdb: add changes in reqby back to our pkgdb pkg dictionary.
2012-11-18 12:04:57 +01:00
Juan RP
66bb87d053
xbps-rindex: fixes to remove old binpkg when arch not matched and entry from index-files.
2012-11-17 19:22:58 +01:00
Juan RP
c899572bd4
xbps-pkgdb: don't forget to update pkgdb; some printf fixes.
2012-11-17 18:25:18 +01:00
Juan RP
e763f154a0
xbps-pkgdb: simplify the check code; make the reqby check work again.
2012-11-17 17:43:54 +01:00
Juan RP
b0fab7a3ee
Implemented a cache to get pkg dicts from metadir.
...
This improves xbps-pkgdb -a marginally, but still seems to be a bit slow.
2012-11-16 21:50:52 +01:00
Juan RP
34bd49f85a
New pkg metadata structure for 0.18. See the NEWS file for info.
2012-11-16 16:55:35 +01:00
Juan RP
a77727887d
Improvements for xbps_fetch_file and xbps_repository_sync_index.
...
xbps_fetch_file:
- A temp file is created with .part extension to improve resuming.
- Files are downloaded in cwd.
- Switch to futimens(2) and fsync(2).
xbps_repository_sync_index:
- Do not create local repodir in metadir if it already exists.
- Simplify the code thanks to new xbps_fetch_file().
2012-11-11 11:29:49 +01:00
Juan RP
d6735d5685
xbps_xasprintf: do not return NULL anymore; remove checks for this.
2012-11-11 09:37:27 +01:00
Juan RP
2a1e4fe137
xbps-query: sync XBPS_PKGINDEX_FILES with ownedby in repository mode.
2012-11-07 10:45:10 +01:00
Juan RP
d3f5223c1b
xbps-install: only sync XBPS_PKGINDEX from remote repos.
2012-11-07 10:38:37 +01:00
Juan RP
ca095df52f
libxbps: some tweaks for struct xbps_state_cb_data.
...
- Renamed args pkgname/version to arg0/arg1 to make them generic.
- Update bins with this and make some tweaks in state_cb.
Bumped API version.
2012-11-07 10:11:06 +01:00
Juan RP
89d892d98f
xbps-install/fetch_cb.c: some printf tweaks.
2012-11-07 10:09:50 +01:00
Juan RP
fcb565cfa1
xbps-remove: dont error out if no orphans were found.
2012-11-06 14:46:43 +01:00
Juan RP
5830f154d5
xbps-query.8: improve -R, --repository description.
2012-11-06 11:41:33 +01:00
Juan RP
e21cdc68df
Remove obsolete xbps-{bin,repo} utils.
2012-11-06 11:07:31 +01:00
Juan RP
e57e6669fb
xbps-query: added a manual page.
2012-11-06 11:05:27 +01:00
Juan RP
11149f058c
man: use the same width.
2012-11-06 10:33:29 +01:00
Juan RP
0c6a4f08ff
xbps-install: added a manual page.
2012-11-06 10:23:07 +01:00
Juan RP
a41f8f2d92
man: s/Void GNU\/Linux/Void Linux/g
2012-11-06 09:55:56 +01:00
Juan RP
737727999b
xbps-pkgdb: added a manual page.
2012-11-06 09:54:43 +01:00
Juan RP
310e619ea3
Remove unnecessary variable assignments reported by cppcheck.
2012-11-06 09:28:34 +01:00
Juan RP
c7402a9176
xbps-query/search.c: fix a memleak found by cppcheck.
2012-11-06 09:13:05 +01:00
Juan RP
ef6ed7d8c7
xbps-query: fallback to repos on ENOENT for show modes.
2012-11-05 13:17:15 +01:00
Juan RP
2e649f9315
xbps-query: show usage if no args are set for search or ownedby modes.
2012-11-05 12:12:34 +01:00
Juan RP
1948978dec
xbps-create.8: add Xrefs.
2012-11-05 09:57:52 +01:00
Juan RP
f6a4ab353a
xbps-install/transaction: remove extra \n in a printf.
2012-11-05 09:53:35 +01:00
Juan RP
caaf885229
xbps-remove: constify longopts; exec trans correctly.
2012-11-05 09:51:34 +01:00
Juan RP
0a7e917d49
manpages: tweaks.
2012-11-05 09:39:10 +01:00
Juan RP
603b0249f1
xbps-remove.8: minor fix.
2012-11-03 11:37:12 +01:00
Juan RP
306273ce7b
xbps-remove.8: minor tweaks.
2012-11-03 11:33:55 +01:00
Juan RP
2734ad6d5e
xbps-remove.8: extend DESCRIPTION.
2012-11-03 11:29:45 +01:00
Juan RP
b35ae55028
xbps-reconfigure.8: Xr xbps-rindex(8).
2012-11-03 11:21:39 +01:00
Juan RP
35f468fa55
xbps-reconfigure: added a manual page.
2012-11-03 11:18:10 +01:00
Juan RP
611d529cb0
xbps-remove: added a manual page.
2012-11-03 10:47:03 +01:00
Juan RP
b11d18a54f
xbps-rindex: added a manual page.
2012-11-03 10:30:26 +01:00
Juan RP
4bc718b91b
xbps-install: state_cb.c: s/xbps-bin/xbps-install/g.
2012-11-03 09:48:16 +01:00
Juan RP
714bacb0e4
xbps-remove: avoid xbps-install/state_cb.c dependency.
2012-11-03 09:47:28 +01:00
Juan RP
d61e12d75e
xbps-reconfigure: avoid xbps-install/state_cb.c dependency.
2012-11-03 09:43:28 +01:00
Juan RP
a0d4a21a1d
xbps-install: fixed some issues; remove unused headers.
2012-11-02 15:24:48 +01:00
Juan RP
b05ce9fe57
New utilities: xbps-{install,pkgdb,query,reconfigure,rindex} (WIP).
2012-11-02 15:04:25 +01:00
Juan RP
7fa8207cf3
xbps-create: be consistent with options, minor fixes.
2012-11-02 15:03:33 +01:00
Juan RP
9e11ea950a
Do not inherit unneeded objs from trans dictionary onto pkg's pkgdb dictionary.
2012-10-25 09:29:56 +02:00
Juan RP
56d704f733
xbps-bin/check: do not warn if pkg's meta files plist is empty, it is valid.
2012-10-24 07:31:59 +02:00
Juan RP
f8450f9bd7
xbps-create: use mmap(2).
2012-10-04 17:13:33 +02:00