| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Closes: #282 [via git-merge-pr]
|
|
|
|
| |
Closes: #278 [via git-merge-pr]
|
| |
|
|
|
|
|
|
|
| |
- Only try to launch shells that are executable
- Make bind mounts slaves to avoid back-propagating unmounts
Closes: #276 [via git-merge-pr]
|
|
|
|
|
| |
previously, deprecated variables showed some spurious and confusing
messages. now they should have a better message.
|
| |
|
|
|
|
|
|
|
|
|
| |
$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.
|
| |
|
|
|
|
| |
for void-linux/void-packages#40122
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
| |
|
| |
|
|
|
|
|
| |
adds `-R` and `-a` to make it easier to handle cross, but still support
setting XBPS_TARGET_ARCH directly.
|
| |
|
|
|
|
|
|
| |
fixes #257
Closes: #258 [via git-merge-pr]
|
|
|
|
| |
Closes: #256 [via git-merge-pr]
|
| |
|
|
|
|
|
|
|
| |
18:59:51 <abby> leah2, can you revert the multiline lint for now, I'm
working on a better way but it's too buggy to stay for now
This reverts commit 16e6e3e9852c988b5bf0b416fabaeaa03588696f.
|
|
|
|
|
|
|
|
|
|
|
| |
- use awk because scan (grep) does not work over multiple lines
- finds the opening and closing of a variable definition, then checks if
it's on the first line and, if not, checks if the first characters are
not <space><:graph:>
- checks both single- and double-quoted strings, in a loop because shell
makes that hard
- detects lines in multi-line strings that end in a backslash
- `| sort -u -k2` so it does not spam, similar to the other indent lint
|
|
|
|
| |
bug introduced in 8c0e21060fd0abdb16c10d62a56ead0a4da75062
|
|
|
|
| |
Closes: #249 [via git-merge-pr]
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
a few lints used the absolute path (`$template`) as prefix instead of
`$argument`
Closes: #246 [via git-merge-pr]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
Closes: #244 [via git-merge-pr]
|
|
|
|
|
|
|
| |
also add a regex_escape filter to reduce false-positives in a couple
places
Closes: #242 [via git-merge-pr]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
```
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Closes: #237 [via git-merge-pr]
|
| |
|
| |
|
|
|
|
| |
Closes: #220 [via git-merge-pr]
|
|
|
|
| |
Closes: #110 [via git-merge-pr]
|
|
|
|
| |
Closes: #232 [via git-merge-pr]
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- do not leak $tmpfile in output from scan()
- indent using tabs
- add new options to README
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Existing accounts should keep their name.
|