about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* xvoidstrap: replace alpha.de with repo-defaultclassabbyamp2022-06-141-2/+2
|
* xuname: replace alpha.de with repo-defaultclassabbyamp2022-06-141-4/+4
|
* xrecent: replace alpha.de with repo-defaultclassabbyamp2022-06-141-6/+6
|
* xlocate: replace alpha.de with repo-defaultclassabbyamp2022-06-141-1/+1
|
* xlint: make output prefix consistentclassabbyamp2022-05-171-5/+6
| | | | | | | a few lints used the absolute path (`$template`) as prefix instead of `$argument` Closes: #246 [via git-merge-pr]
* xlint: remove print in explain_make_checkclassabbyamp2022-05-171-1/+1
| | | | | | | | | | | | | | | | | before (prints line before make_check): ``` $ xlint R shlib_provides="libR.so" /home/abi/void-packages/srcpkgs/R/template:28: explain why the tests fail ``` after: ``` $ xlint R /home/abi/void-packages/srcpkgs/R/template:28: explain why the tests fail ``` Closes: #245 [via git-merge-pr]
* xlint: escape slashes in scan() msg to prevent sed errorsclassabbyamp2022-05-171-1/+1
| | | | Closes: #244 [via git-merge-pr]
* xlint: check if manually defined wrksrc is defaultclassabbyamp2022-05-171-1/+8
| | | | | | | also add a regex_escape filter to reduce false-positives in a couple places Closes: #242 [via git-merge-pr]
* xlint: detect space before tabsLeah Neukirchen2022-05-161-0/+1
|
* xlint: deduplicate $pkgname and $versionclassabbyamp2022-05-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a slightly naïve solution that does not check if $pkgname matches the template's directory. That would not be very trivial to do to work with the git index functionality or subpackages, and I'm not quite sure how to handle that. Tested by putting two $pkgname and $version in a template. Before: ``` $ xlint chezmoi grep: the -P option only supports a single pattern chezmoi' chezmoi: 'pkgname' defined more than once chezmoi: 'version' defined more than once chezmoi: Place license= after pkgname= chezmoi: Place maintainer= after version= chezmoi:1: Header should be: # Template file for 'chezmoi chezmoi:4: revision does not appear immediately after version ``` After: ``` $ xlint chezmoi chezmoi: 'pkgname' defined more than once chezmoi: 'version' defined more than once chezmoi: Place license= after pkgname= chezmoi: Place maintainer= after version= chezmoi:4: revision does not appear immediately after version ```
* xpkgdiff: run an in-memory sync to allow use of XBPS_TARGET_ARCHclassabbyamp2022-05-051-2/+2
| | | | | | If the user would like to run a diff for a package on a certain arch, XBPS_TARGET_ARCH=other-arch xpkgdiff -f foo will now work properly, even if the user does not have a local repodata for that arch already.
* xlint: show line number of wrongly ordered linePiotr Wójcik2022-05-051-1/+5
|
* xlocate: allow chroot-gitPiotr Wójcik2022-04-261-7/+16
| | | | Closes: #237 [via git-merge-pr]
* xpkgdiff: fix check for package existenceclassabbyamp2022-03-311-1/+1
|
* xlint: fix regexp for explain_make_checkLeah Neukirchen2022-03-281-1/+1
|
* xlint: check make_check comment v0.64Piotr Wójcik2022-03-261-0/+8
| | | | Closes: #220 [via git-merge-pr]
* xlint: reject underscore in versionPiotr Wójcik2022-03-261-1/+1
| | | | Closes: #110 [via git-merge-pr]
* New tool: xpkgdiffclassabbyamp2022-03-253-1/+122
| | | | Closes: #232 [via git-merge-pr]
* xnew: propose adding a changelogtibequadorian2022-02-211-0/+1
|
* xlint: fix bug in previous commitGonzalo Tornaría2022-02-211-3/+6
| | | | | | | | In scan() I was using $argument in the sed script, but oftentimes $arguments is a path including slashes which breaks havoc. Different way now, hopefully this is correct now. Note that $msg has to go through sed since some messages use `\2` to show the matching line.
* xlint: improvements to lint from git indexGonzalo Tornaría2022-02-203-9/+22
| | | | | | - do not leak $tmpfile in output from scan() - indent using tabs - add new options to README
* 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`.