Commit Graph

67 Commits

Author SHA1 Message Date
classabbyamp
50fb2017d0 xbps-uhelper: add verbose output for cmpver/pkgmatch
I can never remember which retval means which thing. This only prints if
-v/--verbose is specified.

Examples:
```
$ ./bin/xbps-uhelper/xbps-uhelper -v cmpver 1 2 ; echo ret: $?
1 < 2
ret: 255
$ ./bin/xbps-uhelper/xbps-uhelper -v cmpver 1 1 ; echo ret: $?
1 = 1
ret: 0
$ ./bin/xbps-uhelper/xbps-uhelper -v cmpver 2 1 ; echo ret: $?
2 > 1
ret: 1
$ ./bin/xbps-uhelper/xbps-uhelper -v pkgmatch 'foo-1.0_1' 'foo>=0' ; echo ret: $?
foo-1.0_1 matches foo>=0
ret: 1
$ ./bin/xbps-uhelper/xbps-uhelper -v pkgmatch 'foo-1.0_1' 'foo<0.1_1' ; echo ret: $?
foo-1.0_1 does not match foo<0.1_1
ret: 0
```

it also seems that getting an error from pkgmatch is currently impossible
2023-06-01 20:21:57 +02:00
classabbyamp
e0317cc6d7 data/_xbps: add xbps-uhelper getname, getversion to completions 2023-02-11 19:32:44 +01:00
classabbyamp
06fbbba2e5 manpages: small formatting improvements
- use `.Os` to show "Void Linux" in the footer
- use `Aq Mt` to display email addresses
- use `.Lk` for the bug link
- remove unnecessary use of `.Nm <name>` when already defined
- add xbps-alternatives(1) to SEE ALSO where missing
- bump date
2023-02-10 21:33:51 +01:00
meator
c4ede2c732 _xbps: add --list-repolock-pkgs for xbps-query 2022-02-18 21:34:24 +01:00
Merlin Büge
24cb1709c7 docs: Improve description of keepconf option
keepconf is a boring option and is not needed in most situations. Make
this more clear in the documentation, e.g. that it only affects
*unchanged* configuration files, and that changed configuration files
are unaffected by this option.
2022-01-25 16:15:07 +01:00
Piotr Wójcik
1e39f21f51
xbps.d.5: describe ignorepkg more precisely
Closes: #370 [via git-merge-pr]
2021-02-04 22:57:50 +01:00
Alexis
15941299ff xbps.d.5: Multiple changes.
* Mention which keywords can have multiple entries.
* Mention sample configuration file.
* Fix typo.
2020-05-11 14:49:33 +02:00
Piraty
8b0d54c736 _xbps_src: update archs, add 'sort-dependencies' 2020-03-31 13:04:49 +02:00
Piraty
8aef141772 _xbps_src: correct spelling for -q 2020-03-12 12:15:03 +01:00
Đoàn Trần Công Danh
a46e179716 zsh-completion: xbps-src: complete -q
See-also: https://github.com/void-linux/void-packages/pull/19927
2020-03-08 05:58:49 +01:00
Andreas Kempe
02c9cb11c4 configuration: add keepconf option
Add configuration option keepconf that stops xbps from overwriting
unchanged configuration files. If keepconf=true, xbps will store the new
configuration as <name>.new-<version> instead of overwriting unchanged
configuration files.
2020-02-08 21:06:04 +01:00
Duncan Overbruck
6794077efd
Add noextract configuration option
Closes #208
Fixes #165
2020-01-18 15:51:13 +01:00
Leah Neukirchen
87c6653837 _xbps_src: add completions for all commands 2019-07-18 14:45:39 +02:00
Leah Neukirchen
7e2e1e3235 _xbps_src: add -Q 2019-07-16 21:41:46 +02:00
Juan RP
c4c387484a
data/xbps.conf: fix typo.
Close #24
2019-06-17 13:32:49 +02:00
Juan RP
8cea3e351b xbps-fetch(1): new utility that replaces 'xbps-uhelper fetch'.
xbps-install(1): document all libfetch env vars.

Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 18:07:24 +02:00
Juan RP
9cda7ef72a xbps-digest(1): new utility that replaces "xbps-uhelper digest".
See the manual page:

XBPS-DIGEST(1)              General Commands Manual             XBPS-DIGEST(1)

NAME
     xbps-digest - XBPS utility to generate message digests

SYNOPSIS
     xbps-digest [OPTIONS] [FILE] [FILE+N]

DESCRIPTION
     The xbps-digest utility generates message digests for specified FILE or
     stdin if unset.

OPTIONS
     -m, --mode mode
         Sets the message digest mode. Supported: sha256.  If unset, defaults
         to sha256.

     -h, --help
         Show the help message.

     -V, --version
         Show the version information.

SEE ALSO
     xbps.d(5), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1),
     xbps-fbulk(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1),
     xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1),
     xbps-uunshare(1)

AUTHORS
     Juan Romero Pardines <xtraeme@gmail.com>

BUGS
     Probably, but I try to make this not happen. Use it under your own
     responsibility and enjoy your life.

     Report bugs at https://github.com/void-linux/xbps/issues

                                 June 12, 2019

Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 16:15:18 +02:00
Johannes Brechtmann
f4f88705d6 data: update repo urls to voidlinux.org
remove alternative debug mirrors
2019-06-06 13:11:24 +02:00
Aleksej Lebedev
6f4731ca75 Fixed install location of xbps.d.5 manpage. 2019-05-14 20:49:41 +02:00
q66
9f10ee6f03 data/_xbps,_xbps_src: add ppc64+ppc(-musl) completions 2019-05-01 15:20:49 +02:00
Duncaen
d1667fd931 Add the ability to ignore packages
The previous idea was to use virtual packages in the users configuration
to satisfy dependencies by mapping them to existing installed packages.
Using virtual packages for it doesn't work as expected and trying to make
it work would break other functionalities of virtual packages, like the
version satisfaction checks for `provides` and the ability to replace
virtual packages with real packages. The virtual package functionality
should be used exclusively for virtual packages.

This allows users to specify packages packages that should be ignored.
Ignored packages in dependencies are always satisfied without installing
the package, while updating or installing a package that depends on an
ignored package.

This does NOT ignore the shlib checks, ignoring a package that provides
required shared libraries will abort the transaction as if there was no
package that provides the required shared library.
2019-04-19 23:07:59 +02:00
human
c430d8ceb6 xbps.d.5: fix referenced sections
Closes: #45 [via git-merge-pr]
2019-03-22 21:36:31 +01:00
q66
75dc5c6b06 _xbps, _xbps-src: add ppc64 completion
Closes: #42 [via git-merge-pr]
2019-03-22 21:36:08 +01:00
Ingo Blechschmidt
a12f22de86 Use https instead of http where possible 2019-03-22 21:35:08 +01:00
Johannes Brechtmann
950945034b zsh: add completion for new patch phase in xbps-src 2019-03-19 15:38:26 +01:00
Frank Steinborn
f366d6cb11 manpages: change URL for bug reporting to new GitHub repo 2018-09-23 17:51:07 +02:00
Michael Gehring
cdb5bcdd0c xbps.d.5: fix invalid escape 2017-07-11 04:01:38 +02:00
Christian Neukirchen
c255ede2ca _xbps: add run_depends to _xbps_properties. 2016-11-22 17:04:24 +01:00
Christian Neukirchen
392d686f07 _xbps: add alternatives and build-date to _xbps_properties. 2016-11-22 16:58:02 +01:00
Christian Neukirchen
7d06fb0e71 _xbps, _xbps-src: add aarch64 completion. 2016-09-17 17:37:04 +02:00
Enno Boland
c9c3bf6d52 data/xbps.d.5: document in the manpage that remote repositories must be signed. #141 2015-12-24 13:48:30 +01:00
Steve Prybylski
5d9562237f _xbps: add --unpack-only/-U support for xbps-install. 2015-11-12 20:45:32 -05:00
Steve Prybylski
69c3f3b7ce _xbps: update zsh completion 2015-10-31 21:23:14 -04:00
Bheesham Persaud
0a0cd42682 Minor changes to the documentation. 2015-10-30 02:01:29 -04:00
Enno Boland
2a6b14ae74 Merge pull request #111 from Gottox/no-build-date
xbps-create: do not add a build-date property to packages.
2015-09-03 09:26:53 +02:00
Steve Prybylski
23d2dfccde _xbps: add argument to xbps-rindex zsh completion 2015-08-19 20:04:08 -04:00
Enno Boland
9de0d8a60d xbps-create: do not add a build-date property to packages. 2015-08-19 16:05:51 +02:00
Christian Neukirchen
916f8bea26 _xbps_src: update zsh completion. 2015-03-07 14:05:36 +01:00
Christian Neukirchen
1ac25a53c4 _xbps: update zsh completion. 2015-03-07 14:00:10 +01:00
Juan RP
eee895c6d8 Fixed a regression in vpkgs and improve xbps.d(5) virtualpkg declarations.
See the NEWS file for more information.
2014-12-31 08:51:45 +01:00
Juan RP
7baf7fe4cd xbps.d.5: typo fix by @dominikh. 2014-12-23 18:10:45 +01:00
Juan RP
16d2640df8 Files in the configuration directory have preference. 2014-12-09 12:05:18 +01:00
Juan RP
395e147c6c xbps.d(5) - XBPS configuration directory 2014-12-09 11:41:35 +01:00
Christian Neukirchen
e1bdeb83a1 _xbps_src: add completion for update-check. 2014-11-13 15:33:26 +01:00
Juan RP
53f13d579e Added the "bestmatching" configuration keyword to enable pkg best matching.
See the NEWS file for more information.
2014-11-07 10:07:51 +01:00
Juan RP
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
Enno Boland
2fe65dccec rename xbps-packages to void-packages 2014-09-26 14:24:06 +02:00
Eivind Uggedal
487b7296c6 data/xbps.bash: use installed packages in non-repo query completion. 2014-09-18 19:45:58 +00:00
Eivind Uggedal
0f73158ed8 data/xbps.bash: shorten argument comparisons 2014-09-18 19:44:31 +00:00
Christian Neukirchen
21a4473f7a _xbps: drop use of sed 2014-09-17 18:56:17 +02:00