Code Monkey home page Code Monkey logo

packager's Introduction

Packager Build Status

A yaml based source-code to package bundler.

Supported formats

Format Host Status
.deb Ubuntu/Debian (apt, dpkg) Active
.rpm RHEL, Yum TODO
.tar.gz, .tar.xz ArchLinux/Pacman TODO

Features

  • Create multiple package formats from your source code through a single command
  • packager log tightly integrated with git history and CHANGELOG -- Coming soon!
  • Publish your packages via CLI -- Coming soon!

Installation

Clone the repository and install using pip installer. This project requires Python 3.x.

$ pip install .

Usage

Initialize packager in your project repository.

$ packager init

This creates a .packager folder and a config.yml inside. Update the config.yml with required settings. Below is an example config.yml.

package:
    name: example-deb
    version: 1.0.0
    description: "An example packager config for a debian package"
    build: cmake
    authors:
        - Harish Navnit <[email protected]>
    targets:
        - debian

Check if the config.yml is valid.

$ packager validate .packager/config.yml

Config file at .packager/config.yml is valid

Build the package

$ packager build .packager/config.yml

dpkg-deb: building package 'example-deb' in '/tmp/deb-pkg-tools-build-5ef82tfb/example-deb_1.0.0_all.deb'.
Lintian is not installed, skipping sanity check.

packager's People

Contributors

tinvaan avatar

Stargazers

Roman avatar Philippe Ombredanne avatar

Watchers

James Cloos avatar  avatar

Forkers

pombredanne

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.