about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* xlint: actually check ${version} in distfiles HEAD masterPiotr Wójcik2024-03-041-2/+1
| | | | | | | | \Q...\E already handles special characters partially reverts 2e0da76fef5f6659e0e98d7166e4497d23565831 Closes: #324 [via git-merge-pr]
* xls: show tree(1)-style output if called as xtreeclassabbyamp2024-02-075-3/+28
| | | | Closes: #321 [via git-merge-pr]
* xlint: improve missing/multiply defined messages v0.66classabbyamp2024-01-251-2/+5
| | | | | | | | | | | these are the only messages that don't have a line number associated with them, adding complexity when parsing the output of xlint. - `'$var' missing!` only really makes sense with line number 1, as there is not really any other place to put it - `'$var' defined more than once` I decided to put on the *last* instance of the variable, and add a hint to where the previous definition(s) are
* xbump: use fgrep on spkpatternLeah Neukirchen2023-12-021-3/+3
| | | | Fixes #318.
* xchangelog: refactor to support multiple mimetype detectionclassabbyamp2023-11-061-21/+33
| | | | also ensure less is available for rst
* fish/completions/xgensum: complete multiple packagesclassabbyamp2023-11-021-1/+1
|
* _xtools: fix xgensum completionclassabbyamp2023-11-021-1/+1
| | | | `_path_files` does not seem to generate any completion options
* xgensum: allow gensumming multiple templatesclassabbyamp2023-11-023-113/+127
| | | | | | | this should allow xgensum to checksum multiple templates at once, hopefully keeping everything isolated between template sources too exit code now counts the number of templates with errors
* completions: add fish completions.triallax2023-10-2249-0/+144
|
* xpkg: document -r optionMohammed Anas2023-10-161-11/+12
|
* xnew: document -a option in script summaryMohammed Anas2023-10-161-1/+1
|
* xcheckmypkgs: minor whitespace cleanupMohammed Anas2023-10-161-1/+1
|
* xpkgdiff: add bootstrap repoclassabbyamp2023-10-141-0/+3
|
* xlocate: error when no pattern is givenLeah Neukirchen2023-10-041-2/+3
|
* xlocate: error when no pattern is givenLeah Neukirchen2023-10-041-0/+3
|
* xlocate: pass -e flag to git grepPiraty2023-10-041-2/+3
| | | | | | | | | | | | | | | | 5edebea ("xlocate: don't mark anything starting with a hyphen as ...") added `--` so passing useful options like `--ignore-case` became impossible. 429db43 ("xlocate: add ability to pass certain flags to git grep") made an attempt to fix this by using a whitelist, but didn't fix the leading-dash usecase. If searching for pattern starting with dash, use xlocate -e '-foo' This reverts commit 5edebea0a738117dde41077cd23756e79f4417e7
* xlint: fix short_desc max chars lint warning on 72 charstriallax2023-08-061-1/+1
| | | | | https://github.com/void-linux/void-packages/blob/master/Manual.md states that the description can have a maximum of 72 chars.
* xlocate: add ability to pass certain flags to git grepclassabbyamp2023-08-053-13/+33
| | | | | | | | | | | | | | implemented what I thought would be useful and made sense, namely: - `-E, --extended-regexp` - `-F, --fixed-strings` - `-G, --basic-regexp` - `-P, --perl-regexp` - `-i, --ignore-case` - `-w, --word-regexp` This will also allow for someone with `grep.patternType` or `grep.extendedRegexp` set in git's config to change the pattern type.
* new tool: xnewsclassabbyamp2023-07-313-0/+19
| | | | | | | | | | employs a mechanism similar to xilog to get packages in installed order, then gets the install message for each in that order. can be filtered by a pattern in the same method as xilog. maybe there's a bit more efficient way to do this than a subshell + loop + file i/o, but I don't see it
* Fix scan message substitution with bash as shPiotr Wójcik2023-07-091-3/+3
| | | | | | | | | | | before: srcpkgs/nawk/template:2: custom variables should use _ prefix: 2 srcpkgs/nawk/template:2: variable set to empty string: 2 after: srcpkgs/nawk/template:2: custom variables should use _ prefix: xxx= srcpkgs/nawk/template:2: variable set to empty string: xxx= Closes: #306 [via git-merge-pr]
* xetcchanges: skip symlinksLeah Neukirchen2023-06-261-1/+2
| | | | Fixes #248.
* Clean up shell redirectstriallax2023-06-2612-19/+19
| | | | | | | Some of these are outright wrong (e.g. `echo foo 2>&1`), others are just more verbose than they need to be. Closes: #304 [via git-merge-pr]
* xcheckrestart: only scan private mapsLeah Neukirchen2023-06-081-1/+1
| | | | Fixes #252.
* xchangelog: view ReST with rst2ansi if availableclassabbyamp2023-05-031-0/+2
| | | | rs2ansi is from python3-rst2ansi
* xlint: lint crates.io distfile urlsclassabbyamp2023-04-271-0/+1
| | | | | | | | | | | | | | | this is painful: ``` distfiles="https://crates.io/api/v1/crates/pkgname/${version}/download>pkgname-${version}.tar.gz" ``` this is better, and xbps-src already supports extracting them: ``` distfiles="https://static.crates.io/crates/pkgname/pkgname-${version}.crate" ``` this replaces void-linux/void-packages#43417 as it adding new `_SITE` variables has been discouraged
* xmypkgs: use git -C $XDISTDIRclassabbyamp2023-04-111-3/+3
| | | | | xmypkgs would get the wrong email for me if run from outside void-packages
* xchangelog: use -L for curl to follow redirectsclassabbyamp2023-03-281-6/+6
|
* _xtools: fix xchangelog completionsclassabbyamp2023-03-281-1/+1
| | | | was missing from the compdef header
* xchangelog: view with mdcat if no PAGER and file is markdownclassabbyamp2023-03-281-0/+2
| | | | assuming mdcat is installed
* xdiff : make sure $DIR is validJustin2023-03-261-0/+5
| | | if user run `xdiff --help` , `--help` gets passed to find as an arg, it will cause infinite vimdiff instance coming out, has to kill xdiff's pid to stop it.
* xchangelog: silence grep outputmhmdanas2023-03-231-1/+1
|
* Add xchangelog commandmhmdanas2023-03-184-0/+52
| | | | | I didn't make the other changes to the README myself, they were simply done when I ran `make README`.
* Update xmksv: change vlogger arg -f to -pJustin2023-03-141-1/+1
|
* xlint: anchor revision must not be zero patternDuncan Overbruck2023-02-151-1/+1
|
* xchroot: propagate chroot(1)'s exit codeStefan Kreutz2023-02-081-2/+5
| | | | Changes xchroot to exit with chroot(1)'s exit code on error.
* xmksv: add ability to create log services v0.65classabbyamp2023-02-073-5/+26
|
* xtools.1: fix lintLeah Neukirchen2023-01-312-4/+5
|
* Isolate optional arguments in docsFreddy List2023-01-312-39/+88
| | | | Closes: #282 [via git-merge-pr]
* completions: fix typomhmdanas2023-01-251-1/+1
| | | | Closes: #278 [via git-merge-pr]
* xtools.1: tweaksLeah Neukirchen2023-01-251-6/+1
|
* xchroot: mount and shell fixesAndrew J. Hesford2023-01-071-6/+8
| | | | | | | - Only try to launch shells that are executable - Make bind mounts slaves to avoid back-propagating unmounts Closes: #276 [via git-merge-pr]
* xlint: improve scanning of deprecated variablesclassabbyamp2022-11-241-3/+9
| | | | | previously, deprecated variables showed some spurious and confusing messages. now they should have a better message.
* xlint: detect trailing space in short_descBenjamín Albiñana2022-11-121-0/+1
|
* xnew: don't use $pkgname in $distfilesMichal Vasilek2022-11-111-1/+1
| | | | | | | | | $pkgname is not constant, it can change when the package is renamed downstream while we would expect it to still build from the correct sources. It also often doesn't save any characters and not using the variable makes prettier, simpler URLs that can often be copied from the template without manually replacing variables to get to the page with sources.
* xnew: remove wrksrc and create_wrksrc from created templateclassabbyamp2022-11-081-2/+1
|
* xlint: don't allow wrksrcclassabbyamp2022-11-081-4/+1
| | | | for void-linux/void-packages#40122
* xchroot: do not require absolute pathMichal Vasilek2022-11-081-4/+1
|
* xlocate: handle lack of column(1) gracefullyclassabbyamp2022-11-021-1/+7
|
* xrevbump: various improvementsclassabbyamp2022-10-232-19/+36
| | | | | | | | | | | | - commit all tracked files in srcpkgs/$pkgname/ instead of just template - don't increment revision if the user has already done it - this also handles cases where committing fails, which now prints a message (two failure modes I have encountered: commit signing fails, pre-commit hook fails (I run `xlint` in one)) - allow addition of flags to the `git commit` invocation with `xrevbump MESSAGE TEMPLATES... -- COMMIT_ARGS` - use more bashisms to make things a bit neater - update manpage/usage
* xlocate: output aligned, don't show "git grep" columnMartin Tournoij2022-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable the column number for "git grep" too, and pipe through column for nicer aligned output. Before: % ./xlocate /lib/libEGL MesaLib-devel-22.1.7_1 5:/usr/lib/libEGL_mesa.so -> /usr/lib/libEGL_mesa.so.0 jetbrains-jdk-bin-11.0.15b2043.56_1 20:/usr/lib/jvm/jbrsdk/lib/libEGL.so libglvnd-1.4.0_1 5:/usr/lib/libEGL.so.1 -> /usr/lib/libEGL.so.1.1.0 libglvnd-1.4.0_1 5:/usr/lib/libEGL.so.1.1.0 libglvnd-devel-1.4.0_1 5:/usr/lib/libEGL.so -> /usr/lib/libEGL.so.1 mesa-22.1.7_1 5:/usr/lib/libEGL_mesa.so.0 -> /usr/lib/libEGL_mesa.so.0.0.0 mesa-22.1.7_1 5:/usr/lib/libEGL_mesa.so.0.0.0 nvidia-libs-515.65.01_1 5:/usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.515.65.01 nvidia-libs-515.65.01_1 5:/usr/lib/libEGL_nvidia.so.515.65.01 nvidia390-libs-390.154_1 5:/usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.390.154 nvidia390-libs-390.154_1 5:/usr/lib/libEGL_nvidia.so.390.154 nvidia470-libs-470.141.03_1 5:/usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.470.141.03 nvidia470-libs-470.141.03_1 5:/usr/lib/libEGL_nvidia.so.470.141.03 After: % ./xlocate /lib/libEGL MesaLib-devel-22.1.7_1 /usr/lib/libEGL_mesa.so -> /usr/lib/libEGL_mesa.so.0 jetbrains-jdk-bin-11.0.15b2043.56_1 /usr/lib/jvm/jbrsdk/lib/libEGL.so libglvnd-1.4.0_1 /usr/lib/libEGL.so.1 -> /usr/lib/libEGL.so.1.1.0 libglvnd-1.4.0_1 /usr/lib/libEGL.so.1.1.0 libglvnd-devel-1.4.0_1 /usr/lib/libEGL.so -> /usr/lib/libEGL.so.1 mesa-22.1.7_1 /usr/lib/libEGL_mesa.so.0 -> /usr/lib/libEGL_mesa.so.0.0.0 mesa-22.1.7_1 /usr/lib/libEGL_mesa.so.0.0.0 nvidia-libs-515.65.01_1 /usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.515.65.01 nvidia-libs-515.65.01_1 /usr/lib/libEGL_nvidia.so.515.65.01 nvidia390-libs-390.154_1 /usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.390.154 nvidia390-libs-390.154_1 /usr/lib/libEGL_nvidia.so.390.154 nvidia470-libs-470.141.03_1 /usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.470.141.03 nvidia470-libs-470.141.03_1 /usr/lib/libEGL_nvidia.so.470.141.03 Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> Closes: #265 [via git-merge-pr]