Code Monkey home page Code Monkey logo

ddb's Introduction

#Dumb .deb builder

Current version: 0.2.0

Project website: http://sitnin.github.com/ddb/

This is a python script which reads package description from a single JSON-file and creates binary package.

Rationale is very simple: this script doesn't compile or build anything. It just packs bunch of files (like your python or node.js website project) into a package.

##Installation

$ echo "deb http://deb.sitnin.com/ ddb/" >> /etc/apt/sources.list
$ apt-get update
$ apt-get install ddb

Building of the ddb package

I build ddb .deb package with ddb itself since the very first package. It's simple:

$ ddb -r deb/deb.json -s ./ -o ./out -t ./tmp -u3 -f

And this is how is the output looks like:

Dumb .deb builder version 0.1.0 (c) Gregory Sitnin, 2012.

Source: /home/builder/ddb
Output: /home/builder/ddb/out
Temp: /home/builder/ddb/tmp
Rules file /home/builder/ddb/deb/deb.json

Copying files...
Generating DEBIAN directory contents...
Building package...
dpkg-deb: building package `ddb' in `ddb_0.1.0-0ubuntu3_all.deb'.
Building package...
Deleting temporary directory...

Package built: /home/builder/ddb/out/ddb_0.1.0-0ubuntu3_all.deb

TODO

  • Python Virtualenv support (planned for 0.3)

Contact information

Feel free to contact me about bugs, features and suggestions via:

ddb's People

Contributors

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