a7f2080367
Merge pull request #198 from roman-neuhauser/package-modes
...
xbps-pkgdb(1), xbps-install(1), xbps-remove(1): extend discussion of package modes
2017-02-19 02:45:58 +01:00
2984d6a5ec
bin/xbps-install/fetch_cb.c: flush stdout when printing progress
2016-10-05 20:18:43 +02:00
d0b4089e6e
xbps-install(1), xbps-remove(1) point to xbps-pkgdb(1)
...
... from descriptions of -A and -u (xbps-install) and -o (xbps-remove).
2016-09-21 14:56:17 +02:00
7967efc1e0
xbps-install: do not fail on update if any of the provided packages are up to date.
...
addresses #194
2016-09-14 18:12:54 +02:00
4e2823ffa5
Change free space message to avoid ambiguity.
...
`xbps-install` will report free space available on disk wording:
> Free space on disk: ...
'free' above is supposed to be an adjective.
But 'free' can also be a verb,
thus the above message can be interpreted as free some space on disk.
'Free' is now changed to 'Available' to avoid ambiguity.
2016-08-11 21:04:28 +08:00
447a2f43ad
xbps-install/util.c: do not check errno for isatty().
...
Fixes line truncation in musl. As @chneukirchen pointed out, POSIX
does not need to set errno. Just use its return value.
2016-04-24 14:02:52 +02:00
b759ca4b07
xbps-install(1): do not exit if pkg is up-to-date in dry-run mode.
...
Close #145
2016-02-05 11:27:40 +01:00
93df7953f5
bin/xbps-install: document in the manpage that remote repositories must be signed. #141
2015-12-24 13:48:21 +01:00
c274363b0e
xbps-install/state_cb: do not treat unknown states as error if desc is not NULL.
2015-10-30 14:47:25 +01:00
0a0cd42682
Minor changes to the documentation.
2015-10-30 02:01:29 -04:00
637c087173
xbps-*: do not log to console with syslog enabled. Close #123
2015-10-29 07:16:49 +01:00
fa7d8bdfc5
xbps-xxx.1: responsability -> responsibility.
2015-10-28 10:03:41 +01:00
4211f5cd09
New manual page for xbps-fbulk(1).
2015-10-28 09:37:09 +01:00
5eac1e929a
xbps-install.1: document -n/--dry-run output.
2015-10-20 09:15:47 +02:00
24af8cde9b
xbps-install(1): implement #109 .
...
-n/--dry-run mode now prints "installed_size" obj as 5th argument,
and "filename-size" as 6th argument (if available).
Close #109
2015-10-19 19:02:26 +02:00
8081751f86
libxbps: print in verbose mode what pkgs are added to the transaction.
...
Useful to know why a transaction cannot be completed when there are
unresolved reverse dependencies.
Requested by @chris2.
2015-09-02 18:56:20 +02:00
e90ed618e8
xbps-install/transaction: minor resource leak (CID #98690 ).
2015-07-26 08:18:49 +02:00
07e8330936
xbps-install(1): added -U --unpack-only to only unpack pkgs, skips configuration.
2015-06-03 11:15:11 +02:00
b2dd18faba
configure: added --enable-fulldebug
to enable extra/expensive debug code.
...
This is mostly to avoid the allocation required by the externalization of the
transaction dictionary, which in some cases is huge.
This should reduce the massive memory usage required to inspect the externalized
dictionary.
2015-05-28 11:02:40 +02:00
fcdd71aac4
Move xbps utils manpages to the section 1 (user commands).
2015-05-16 09:46:10 +02:00
2c0e27a001
xbps-install: print required size and free size on ENOSPC.
2015-05-09 07:02:21 +02:00
bc97851fdb
xbps-query(8): do not truncate output if stdout is not a tty.
2015-04-15 18:40:34 +02:00
62b21a4f93
xbps-install/question.c: char is not enough for fgetc, use int (HI GOTTOX)
2015-03-21 09:45:29 +01:00
1eeaa99438
utils: test for EOF on error, not for \0.
2015-03-14 00:41:39 +01:00
507a9e338f
utils: small code cleanup.
2015-03-14 00:38:33 +01:00
1d0a8649da
bin/xbps-install/util.c: properly report pkgs to be removed.
2015-02-02 09:49:16 +01:00
20276fc068
xbps-install: add additional actions to the column output.
...
- downgrade if new version in repos is less than installed one.
- reinstall if both versions are equal.
and additionally always print installed pkg version, irrespectively of
the transaction mode.
Close #72
2015-01-29 09:58:32 +01:00
e95300e952
xbps-install/util: print installed version in pkgs on hold mode.
2015-01-28 18:06:58 +01:00
9bc3275515
xbps-install/state_cb: log XBPS_STATE_UPDATE via syslog too.
...
This way the updates are also recorded via syslog.
2015-01-28 09:48:20 +01:00
8f1e7d9e55
question: accept enter key as default preset value.
2015-01-12 10:22:30 +01:00
f7142412c9
utils: implement issue #73 (only pay attention to the first char).
...
The answer can now just be 'y/Y' to accept it or 'n/N' to deny it.
Close #73
2015-01-11 16:52:04 +01:00
ee175a2a68
Improve xbps_end() and use it before exit(3)ing.
...
- Simplify xbps_repo_open::repo_get_dict().
- Use xbps_end() in the utils where necessary.
- Make xbps_end() call xbps_pkgdb_unlock() if necessary.
- Make xbps_end() release rpool resources.
- Make xbps_end() release resources from xbps_handle.
- Fixed 90% of reported leaks (still reachable at exit) from valgrind.
That was to silence valgrind's memcheck with --leak-check=full.
2015-01-10 19:11:31 +01:00
d98442d84e
xbps-{install,query}.8: absolute path in --repository is not a requirement now.
2015-01-10 12:02:20 +01:00
b09faadebc
xbps-{install,query}: --repository now accepts relative paths in local repos.
2015-01-10 11:59:31 +01:00
59096a866b
bin/*/*.8: mention system configuration directory.
2014-12-15 09:24:55 +01:00
b4ce0f1d0f
Fix #71 (Tiny display bug in the column output mode)
2014-12-09 12:33:58 +01:00
395e147c6c
xbps.d(5) - XBPS configuration directory
2014-12-09 11:41:35 +01:00
70d5cea79c
xbps-{install,query}.8: document -R and --repository independently.
2014-12-06 11:21:30 +01:00
4d5eb2b18e
xbps-{install,query}.8: --repository opt expects abs paths for local repos.
2014-12-06 11:10:33 +01:00
fe9a795995
xbps-{install,query}: added -M --memory-sync option.
...
This explicitly enables the in memory fetch/store of remote repository
data archives mode, ignoring existing on-disk repodata archives.
This changes the previous behaviour of falling back to this mode if no
on-disk repodata archives were found.
Thanks to @Gottox and @dominikh for comments.
2014-11-27 10:42:05 +01:00
89d11e871f
xbps-{install,query}: added -i to ignore repos defined in xbps.d.
...
See the NEWS file for more information.
2014-11-21 10:56:41 +01:00
fcaf18c494
bin/xbps-install/util.c: add a newline before the header (requested by chris2).
2014-11-13 15:25:35 +01:00
5b522109f7
Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
...
See the NEWS file for more information.
2014-11-06 09:58:04 +01:00
42bbc60154
xbps-install: fix cnt stats and align issues in the column output mode.
...
- The counter stats were not taken into account.
- Align version/new version with pkgs that have long versions (chromium).
2014-11-05 10:16:57 +01:00
59781f4e91
bin/xbps-install/fetch_cb.c: use STDOUT_FILENO.
2014-10-30 11:25:37 +01:00
b179c16fc0
xbps-{install,remove}: implemented column/wide output mode.
...
See https://github.com/voidlinux/xbps/issues/63 for info.
Close #63
2014-10-30 11:23:10 +01:00
12e18ae579
bin/xbps-install/util.c: use STDOUT_FILENO.
2014-10-30 10:59:42 +01:00
8f25116d54
bin/xbps-install/main.c: rename a var to make gcc-4.6 happy.
2014-10-04 22:05:33 +02:00
966718bb7d
bin/*/*.8: fixed mdoc errors/warnings reported by mandoc -Wall.
2014-09-30 11:36:08 +02:00
f52eea34d4
xbps-install: abort transaction if there's insufficient disk space on rootdir.
...
The free disk space wasn't computed correctly and xbps-install(8) wasn't
handling ENOSPC rval in xbps_transaction_prepare().
2014-09-18 12:11:02 +02:00