Skip to content

pkgctl aur drop-from-repos

Christian Heusel requested to merge gromit/devtools:pkgctl-repo-drop2aur into master

This subommand allows to drop packages from the official repos to the Arch User Repository with one command.

If the .SRCINFO file is missing it is generated on the fly.

Current functionality does something like this:

$ pkgctl aur drop-from-repos nsxiv
==> Dropping to the AUR:
  ->   package: nsxiv
  ->   repo:    extra
==> Generating and committing .SRCINFO...done
Enumerating objects: 12, done.
Counting objects: 100% (12/12), done.
Delta compression using up to 4 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (12/12), 3.25 KiB | 3.25 MiB/s, done.
Total 12 (delta 2), reused 9 (delta 2), pack-reused 0
remote: warning: package already provided by [extra]: nsxiv
To ssh://aur.local/nsxiv.git
 * [new branch]      master -> master
==> disowning nsxiv on the AUR
==> deleting nsxiv from the official repos

requires a release from aurweb which includes aurweb@e9cc2fb4

related to #143


ToDo's:

  • man pages & documentation
  • shell completion
  • handle archiving the upstream repo (see gluebuddy#12)
  • handle the case where there already is history on the aur
Edited by Christian Heusel

Merge request reports