Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • D devtools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 28
    • Merge requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • devtools
  • Merge requests
  • !166
You need to sign in or sign up before continuing.

pkgctl repo drop2aur

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Christian Heusel requested to merge gromit/devtools:pkgctl-repo-drop2aur into master Jun 08, 2023
  • Overview 9
  • Commits 1
  • Pipelines 3
  • Changes 7

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 repo drop2aur nsxiv
==> Dropping to the AUR:
  ->   package: nsxiv
  ->   repo:    extra
==> Generating and committing .SRCINFO...done
[master f0bebaa] adding .SRCINFO
 1 file changed, 18 insertions(+)
 create mode 100644 .SRCINFO
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 Jun 15, 2023 by Christian Heusel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pkgctl-repo-drop2aur