build(aur): add PKGBUILD for installing taskdog via pacman/yay#957
Draft
Kohei-Wada wants to merge 1 commit into
Draft
build(aur): add PKGBUILD for installing taskdog via pacman/yay#957Kohei-Wada wants to merge 1 commit into
Kohei-Wada wants to merge 1 commit into
Conversation
Adds contrib/aur/ with a venv-bundled PKGBUILD as an alternative to
`make install`. It builds a relocatable virtualenv on the system Python,
ships it under /usr/lib/taskdog, exposes taskdog/taskdog-server/
taskdog-mcp in /usr/bin, installs the systemd user service, and
precompiles bytecode so the read-only /usr install starts fast.
Uses the `-venv` naming + provides/conflicts=('taskdog') convention from
aider-chat-venv / paperless-ngx-venv. Build artifacts are gitignored.
Not published to the AUR yet (separate manual step).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
The PKGBUILD implementation follows Arch Linux packaging conventions correctly. The venv-bundled approach is well-documented with appropriate caveats. The build and package functions properly handle virtualenv creation, bytecode precompilation, and systemd service installation. The .gitignore appropriately excludes build artifacts. No blocking defects found.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
contrib/aur/with aPKGBUILDso taskdog can be installed on Arch Linux viapacman/yay, as an alternative tomake install(which usesuv tool installinto~/.local).Approach (venv-bundled,
-venvsuffix)Surveyed how comparable Python apps ship on the AUR. Two routes exist:
depends=('python-*')): idiomatic but several deps (python-uvicorn+uvicorn[standard]extras) aren't in the official repos/AUR, so you'd have to package and maintain them too.aider-chat-venvandpaperless-ngx-venvdo.Followed the AUR convention: package name
taskdog-venvwithprovides/conflicts=('taskdog'), reserving the plaintaskdogname for a possible future native package.What the PKGBUILD does
uv venv --relocatable), installs taskdog's 5 packages from the release tarball (non-editable), third-party deps from PyPI./usr/lib/taskdog, symlinkstaskdog/taskdog-server/taskdog-mcpinto/usr/bin./usr/lib/systemd/user/.UV_NO_INSTALLER_METADATA=1(nodirect_url.json/ no$srcdirrefs) +compileall --invalidation-mode unchecked-hashso the read-only/usrinstall never recompiles at runtime.Verified locally
makepkgbuilds cleanly;pacman -Uinstalls;pacman -Q taskdog-venvregistered.taskdog tablereads the existing per-user DB end-to-end.uv toolinstall (--version~0.25s) thanks to shipped bytecode — without it, the read-only/usrvenv recompiled every run (~1.3s).$XDG_DATA_HOME/taskdog/is never touched by the package.Caveats (documented in
contrib/aur/README.md)arch=('x86_64')(bundled wheels likepydantic-coreare platform-specific).makepkg's source control) — fine for personal/AUR use, not official-repo quality.Build artifacts (
src/,pkg/,*.tar.gz,*.pkg.tar.zst) are gitignored.🤖 Generated with Claude Code