Skip to main content

A meta package-manager to deploy projects on UNIX Systemes.

Project description

Introduction

  • minitage is a meta-package manager. It’s a package manager which install packages with the help of other build systems.

  • Its goal is to help you to deploy projects in a standardised layout and to build things quickly and in a simple manner by putting in environment all configurations.

  • The main documentation is not there but on http://www.minitage.org, please go there for further instructions.

QuickStart with minitage

The whole doc is not there

but on http://www.minitage.org

Check your Python

You need a python with setuptools, zlib, bz2 and ssl support.

Try that in your interpretery:

>>> import tarfile
>>> import zipfile
>>> import bz2
>>> import _ssl
>>> import zlib
>>> import setuptools
>>>

If you do not have that, you can give a try to my pyboostrapper that bootstrap a python somewhere:

wget http://git.minitage.org/git/minitage/shell/plain/PyBootstrapper.sh
chmod +x PyBootstrapper.sh
bash ./PyBootstrapper.sh /path/to/pythonPrefix

Using virtualenv

You ‘d better to use virtualenv , minitage fits well with it.

virtualenv is a tool that allow you to create isolated Python environments.

Here is how to set up an environment with it:

  • Install virtualenv:

    easy_install virtualenv #(maybe use sudo ;))
  • Install minitage prefix:

    virtualenv --no-site-packages  ~/minitage
  • activate it:

    source ~/minitage/bin/activate

KEEP IN MIND THAT YOU MUST ACTIVATE VIRTUALENV AT ANY TIME YOU USE IT.

minitage installation

The whole doc is not there but on http://www.minitage.org/installation.html.

Minitage is a classical python egg, you can get it throught easy_install.

To install minitage in a stable version, follow those steps:

  • Install minitage:

    easy_install -U mercurial minitage.core
  • Sync its packages (all its minilays in minitage terminology).:

    minimerge -s

Syncing packages

To sync all your minilays

If you need to, fire your virtualenv:

source ~/minitage/bin/activate

Sync:

minimerge -s

Changes

1.0.4
  • make conditionnal weither we are offline or not the download in the get_from_cache function.

1.0.0 -> 1.0.3
  • x64 enlightments

  • add optionnal force switch to the download cache function

1.0
  • some API adds like ‘search_latest’ and ‘which’

  • bugfix in interfaces for configuration handling

  • buildout maker can be given an optionnal config to build

  • code stabilization and sync with other minitage components

  • official documentation on http://www.minitage.org

0.32
  • Fetch by default over http

0.4.30
  • Bind buildout newest mode with -u option

0.4.30
  • do not delete directories but overwrite when the package src uri change.

0.4.29
  • Make minitage lives on git

0.4.28
  • Make minitage git aware both in recipes and in core.

0.4.27
  • force setuptools version

0.4.26
  • bugfix on common functions (API)

0.4.21
  • quiet mode is now optionnal are there are numerous bugs with it.

0.4.8
  • Maintenance release

    • testruner

    • buildoutified

    • some refactor and code cleanings

    • logging is now better handled and your minimerge sessions will be as quiet as possible.

0.4.5
  • Bug in fetchers (not critical …)

0.4.4
  • Add an option (-f)
    • when set : fetch all before build

    • when not set : fetch and build each package one after another

0.4.2
  • Remove the category check

0.4.2
  • Remove the backtrace from the launcher when minimerge fails

0.4.1
  • Release version

0.4_alpha12
  • Fix scm type validator

0.4_alpha11
  • bzr DVCS integration

0.4_alpha10
  • Add support for variables in minibuilds setted in minitage configuration file. Use $name in minibuilds and set it in the [minitage.variables] section.

0.4_alpha9
  • reinforce buildout code

0.4_alpha8
  • restore previous version scheme

a0.4_alpha5
  • add mercurial explicit dependency

0.4_alpha4
  • remove old minilay

0.4_alpha1

This is a pre release, minitage is working. But it is not empty from bugs. Feel free to give your feedback :)

  • Minimerge totally rewritten in python

  • Support for conditionnal dependencies toward python version

  • Support for eggs in addition of site-packages added to the PYTHONPATH

  • Support for conditionnal (OS) dependencies

  • Lot of improvments on error handling

  • Logging mode

  • Configuration via a file is now possible

up to 0.3
  • not public, nothing to see there.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page