about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* xlint: add option to lint from git indexGonzalo Tornaría2022-02-201-4/+17
| | | | | | | | | | | | | | This commit introduces two new uses of xlint: $ xlint :PKGNAME Lints the template corresponding to package PKGNAME as currently staged in the git index (i.e. the version that would be committed) $ xlint : Lints all templates that are changed in the git index. Useful to run from the pre-commit hook for the void-packages repo.
* xlint: check system_accounts underscore prefixPiotr Wójcik2021-10-041-0/+92
| | | | Existing accounts should keep their name.
* xlint: add nofixperms and nocheckperms variablesMichal Vasilek2021-08-261-0/+2
|
* xlint: clarify spaces were usedeater2021-07-121-1/+1
|
* xlint: add X11 to the list of vlicense-required licensesColin Booth2021-06-291-1/+1
| | | | | X11 is a derivative of the MIT license and contains the same license installation requirements.
* xlint: drop obsolete variable "only_for_archs"Leah Neukirchen2021-06-251-2/+0
|
* xnew: use $VISUAL as well as $EDITORLeah Neukirchen2021-06-071-1/+1
| | | | Closes #212.
* xlint: treat " WITH " as ", " in licenseĐoàn Trần Công Danh2021-05-291-1/+4
| | | | Closes: #211 [via git-merge-pr]
* xi: don't use sudo/doas if uid is 0Piraty2021-05-011-2/+4
| | | | Closes: #208 [via git-merge-pr]
* xi: make file executableLeah Neukirchen2021-05-011-0/+0
|
* xlint: ignore comments v0.63eater2021-02-151-0/+1
| | | | Closes: #177 [via git-merge-pr]
* xlint: allow make_check variable.Érico Rolim2021-02-121-0/+1
| | | | | | | See https://github.com/void-linux/void-packages/commit/2a748e7e6d9727a7e921d6b9a163e0eb17be98b9 Closes: #205 [via git-merge-pr]
* xlint: allow variable no_generic_pkgconfig_linkLeah Neukirchen2020-12-131-0/+1
|
* xi: refactorLeah Neukirchen2020-12-061-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | Suggestions by kerframil: - Fix the original su invocation bug. The original approach is veering very close to eval territory. Let's just not overload SUDO quite so hard and keep it coherent. - Use id -u (posix) instead of whoami (not posix). - Rather than try to make a scalar behave as if it were an array (it's not) then unsafely expand it, compose the positional parameter list as needed. Note that XBPS_BINPKGS and BRANCH are now expanded safely in the course of doing so. - Don't include improperly formed repository paths as parameters if git fails or prints nothing. - Have su pass sh as the zeroeth arg, not a dash so that, if an error in the shell context ever happens again, the resulting message will be less confusing. As an aside, if you want the environment to be as it normally would be for the root user, there should be a dash (or -l) before -c, not after --. Could help protect against issues of environmental pollution down the line. - Don't squash the exit status of the first call to xbps-install in the case that it's not zero and also not 16. - Make the fallback invocation be contingent upon -u xbps succeeding. Note that the exit status of either will be properly conveyed by the script i.e. we don't have to capture the exit value there.
* xrs: take XBPS_HOSTDIR into account v0.62Piraty2020-11-181-11/+16
|
* xq: take XBPS_HOSTDIR into accountPiraty2020-11-181-11/+16
|
* xls: take XBPS_HOSTDIR into accountPiraty2020-11-181-11/+16
|
* xdbg: take XBPS_HOSTDIR into accountPiraty2020-11-181-11/+16
|
* xcheckrestart: ignore gschemas.compiledCameron Nemo2020-11-111-0/+1
| | | | Closes: #202 [via git-merge-pr]
* xi: take XBPS_HOSTDIR into accountPiraty2020-10-271-11/+16
|
* xgensum: handle packages unavailable for host archPiraty2020-09-221-1/+8
| | | | | | | | | Detect if the package is unavailable for the host architecture and pick the first supported arch. Packages like bootloaders and kernels for arm boards obviously restrict `archs=` which might exclude the host's architecture. Therefore xbps-src couldn't fetch the distfiles without specifying `-a <arch>`.
* xlocate: error out if the database doesn't existDuncan Overbruck2020-09-131-3/+2
| | | | Closes: #199 [via git-merge-pr]
* xlint: deprecate noarch.fosslinux2020-09-091-0/+1
|
* xlint: accept ignore_elf_dirs and ignore_elf_filesĐoàn Trần Công Danh2020-08-271-0/+2
| | | | | | | They're introduced by e0979275b4 (11-pkglint-elf-in-usrshare: allow explicit setting of exceptions, 2020-07-16) Closes: #195 [via git-merge-pr]
* README: updateLeah Neukirchen2020-08-191-73/+112
|
* xlocate: fix argument passing to xbps-query --regex -RoLeah Neukirchen2020-08-161-1/+1
| | | | | | Due to ERE, this also works if the argument starts with ^!. Fixes #193.
* xlocate: add warning when using xbps-query.Érico Rolim2020-08-162-4/+5
| | | | | | | | | Also: - Fix some indentation. - Add notes about -g and -S options in manual Closes: #194 [via git-merge-pr]
* xdbg,xi,xlint,xls,xq,xrs: redirect xdistdir stderr to /dev/null. v0.61Érico Rolim2020-07-266-6/+6
| | | | | | | These commands were outputting error messages from xdistdir when outside a void-packages folder, even though the command is supposed to fail silently. Closes: #190 [via git-merge-pr]
* xlint: accept pkgname as well as path to template. v0.60Érico Rolim2020-07-252-4/+13
| | | | Makes it possible to call xlint as: `xlint 0ad`.
* xlint: remove nonfree= checkStefano Ragni2020-07-251-1/+0
| | | | | | Fixes false positive on desc_option_nonfree= The deprecated nonfree=yes was removed from all templates so this check is not needed anymore
* xtools.1: Modify to fix layout when displayed with mandoc man.cgi.Alexis2020-07-231-136/+53
| | | | Closes: #187 [via git-merge-pr]
* xrevshlib: don't strip soname versionLeah Neukirchen2020-07-031-1/+0
| | | | | It is possible this soname is provided by a different package, only show exact matches.
* xdbg,xls,xq,xrs: use ADDREPO from xi.Érico Rolim2020-06-274-24/+52
| | | | | | | This allows the user, for example, to use `xls` to get the file list of a nonfree package. Closes: #185 [via git-merge-pr]
* xi: use xdistdir to simplify ADDREPO definition.Érico Rolim2020-06-271-30/+11
|
* xtools.1: move xpcdeps and add xchroot v0.59Érico Rolim2020-05-201-4/+9
| | | | Closes: #183 [via git-merge-pr]
* xlint: preclude variables in homepagePiotr Wójcik2020-05-061-0/+1
|
* xlint: remove pycompile_version from list of acceptable variablesPiotr Wójcik2020-04-231-1/+0
| | | | Closes: #179 [via git-merge-pr]
* Revert "xlint: allow pycompile_module when pycompile_dirs is set"Piotr Wójcik2020-04-231-1/+0
| | | | This reverts commit 124b3b3ae9e42582abcd85ab30fb1a3c3f894632.
* xlint: add check for unverified python_versionAndrew J. Hesford2020-04-211-0/+1
| | | | Closes: #178 [via git-merge-pr]
* xhog: enforce C locale to fix sortingLeah Neukirchen2020-03-281-0/+1
| | | | Closes #174.
* xlint: silence correct meson variables warningshtayerc2020-03-261-0/+3
| | | | Closes: #173 [via git-merge-pr]
* xgensum: don't fore hostdir path if -H is omittedPiraty2020-03-161-6/+4
| | | | | | This way, XBPS_HOSTDIR will be used by xbps-src just like XBPS_MASTERDIR. `-H` can still overwrite it. It's kept for compatibility.
* xgensum: default to /home/user1/src/void-packages/hostdir v0.58Piraty2020-02-261-2/+2
| | | | | | to not create hostdirs in package dirs Signed-off-by: Piraty <piraty1@inbox.ru>
* xgensum: return non-zero if getting the digest failedLeah Neukirchen2020-02-181-7/+16
| | | | Fixes #167.
* xi: update xbps if neededLeah Neukirchen2020-02-131-0/+4
|
* xlint: allow pycompile_module when pycompile_dirs is setĐoàn Trần Công Danh2020-01-301-0/+1
| | | | | | | | | Some packages likes Carla shippes python script in custom location, xbps-src hasn't been taught to detect it. Allow pycompile_module for those packages. Closes: #166 [via git-merge-pr]
* xlint: support autogenerated pycompile_module v0.57Piotr Wójcik2020-01-101-0/+1
|
* xnew: append subpkgsPiotr Wójcik2019-12-153-1/+17
| | | | Closes: #164 [via git-merge-pr]
* xi: support doasPaper Mountain Studio2019-11-301-0/+2
|
* xlint: accept Public Domain as a licenseCameron Nemo2019-11-291-4/+4
| | | | Closes: #146 [via git-merge-pr]