Giter Club home page Giter Club logo

aurpublish's Introduction

PKGBUILD management framework for the Arch User Repository

Install

The standard make && sudo make install routine is used. The following additional variables are supported:

  • DESTDIR -- staged installs for distro packaging
  • PREFIX -- where to install generated script, defaults to /usr/local
  • HOOKSDIR -- where to install githooks, defaults to <PREFIX>/share/aurpublish

How it works

Commit PKGBUILDs in named subdirectories. Export them to the AUR with the aurpublish command, using the subtree push stratagem. This preserves an independent history for third-party hosting, pull requests... ;)

Commands

  • aurpublish setup

Initialize a new repository with githooks.

  • aurpublish PACKAGE

Push PACKAGE to the AUR. With "--speedup", merges the split history back in.

  • aurpublish -p PACKAGE

Pull package from the AUR (if you adopted an existing package, or have a co-maintainer).

  • aurpublish log PACKAGE

View the git log of a package subtree.

  • import-from-aur3.sh PACKAGE

Experimental. Download the history of a non-migrated AUR3 package, and commit it to a new subtree.

Hooks

  • pre-commit

Warn about whitespace errors, fail if checksums don't match, and auto-generate .SRCINFO for all changed PKGBUILDs.

  • prepare-commit-msg

Prefill the commit message with a list of added/updated/deleted packages + versions (if any).

Copyright

This repository is licensed under the GPLv2 or (at your option) any later version.

aurpublish's People

Contributors

alyptik avatar archangegabriel avatar eli-schwartz avatar rafasc avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.