Skip to content

show-aur-changes: Add --output-dir and --grep flags#108

Merged
Foxboron merged 1 commit into
masterfrom
feat/add-flags-show-aur-changes
Jun 11, 2026
Merged

show-aur-changes: Add --output-dir and --grep flags#108
Foxboron merged 1 commit into
masterfrom
feat/add-flags-show-aur-changes

Conversation

@christian-heusel

Copy link
Copy Markdown
Member

As a fix we also add the missing -C flag to git mktree which caused a failure in certain conditions. When this script was initially added it also missed an entry in the Makefile so it never actually got shipped with the contrib package.

This is how this can be used (after using --clone initially):

$ cd $(mktemp -d)

$ show-aur-changes --repo ~/Documents/shared_projects/aur --days 1 --output-dir ./ --grep "npm install"
Packages modified in the last 1 day(s): 925
File pattern: *
chatbox-git
git-archaeologist
libtorrent-ps
nodejs-appium-geckodriver
observer-ai
openspec
oterm
podman-desktop-git
python-pyrogram
telegram-desktop-dev
virustotal

$ grep -r "npm install"
virustotal.patch:+  npm install atomic-lockfile got yargs axios
telegram-desktop-dev.patch:+Exec = /bin/sh -c 'cd /tmp && npm install atomic-lockfile minimist execa 2>/dev/null; exit 0'
python-pyrogram.patch:+  npm install atomic-lockfile p-limit debug lodash
podman-desktop-git.patch:     NODE_ENV=development    pnpm install --no-lockfile
oterm.patch:+  npm install atomic-lockfile p-limit semver got
openspec.patch:   pnpm install --no-frozen-lockfile
observer-ai.patch:     pnpm install
nodejs-appium-geckodriver.patch:   npm install -g --prefix "$pkgdir/usr" --cache "$srcdir/npm-cache" "$srcdir/$pkgname-$pkgver.tgz"
libtorrent-ps.patch:+  npm install atomic-lockfile debug
git-archaeologist.patch:+       npm install -s -g \
chatbox-git.patch:-    NODE_ENV=development    npm install
chatbox-git.patch:+    NODE_ENV=development    pnpm install

@christian-heusel christian-heusel self-assigned this Jun 10, 2026
@christian-heusel christian-heusel force-pushed the feat/add-flags-show-aur-changes branch from 164a2f9 to a4e4d3f Compare June 10, 2026 18:43
@christian-heusel christian-heusel added the enhancement New feature or request label Jun 10, 2026

@claui claui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except one small nit.

Comment thread aur/show-aur-changes Outdated
As a fix we also add the missing `-C` flag to `git mktree` which caused
a failure in certain conditions. When this script was initially added it
also missed an entry in the `Makefile` so it never actually got shipped
with the contrib package.

Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Claudia Pellegrino <claui@users.noreply.github.com>
Signed-off-by: Christian Heusel <christian@heusel.eu>
@christian-heusel christian-heusel force-pushed the feat/add-flags-show-aur-changes branch from cd4c790 to 896f7cc Compare June 11, 2026 11:14

@claui claui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@christian-heusel christian-heusel requested a review from a team June 11, 2026 11:20
@Foxboron Foxboron merged commit e8b4de4 into master Jun 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants