Giter VIP home page Giter VIP logo

simple-builder's Introduction

Simple Builder

A simple package builder. It leverages docker(1) for builds. It leverages rsync(1) for file transfers.

simple-builder -repository /local/path/to/package/repository/alpine/v3.17/aarch64

It autodetects architecture based on the repository, although an option for explicit architecture is also available.

simple-builder -repository user:/var/pkgs -architecture amd64

Note: Only supports ARM64 (a.k.a. AArch64 or ARM64v8) and AMD64 (a.k.a. x86_64) currently.

It scans a package source directory for packages that could be built. This defaults to ./src but can be configured

simple-builder -repository rsync://[email protected]:8888 -architecture arm64 -source /usr/local/src

Note: The package source directory should be structured like $src/$package/*.

It parses package source files (i.e. APKBUILDs, etc.) for versioned packages that should exist. If a versioned package does not exist, it queues those package to be built.

It also understands dependencies. It will return an error if there is a circular dependency. If a package has been built, it asserts that any other packages which depend on the first one should be updated as well. It will similarly return an error if a breaking build might be queued.

Packages are built into a local folder. This defaults to ./pkg and but can be configured.

simple-builder -repository host:/var/alpine/v3.17/x86_64 -destination /var/alpine/v3.17/x86_64

On success, both the package and APKINDEX files are pushed to the repository immediately.

It offers a simple command line interface. Calling the binary without a command option will cause the program to print summary information and exit. Calling with the -build option will begin running through the build queue. Use the -verbose flag to get diagnostic information. Try -help for more information about all of this.

License

I license this work under the BSD 3-clause license.

simple-builder's People

Contributors

dricottone 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.