GithubHelp home page GithubHelp logo

isabella232 / repository Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luadist/repository

0.0 0.0 0.0 284 KB

Repository of LuaDist modules available for installation using the luadist-git command line tool

Home Page: www.luadist.org

Shell 31.05% CMake 41.82% Batchfile 27.13%

repository's Introduction

Primary LuaDist Repository

Build Status

This repository aggregates all the supported modules of the LuaDist project. Its primary purpose is to provide a manifest for modules. Modules are referenced using git submodules and should always point to individual module repositories in the LuaDist project. Its secondary purpose is to act as an install and bootstrap process for LuaDist based installations.

This repository contains an installation script that allows automated building of LuaDist modules. There are two modes of operation available. First mode is for bootstrapping the luadist deployment utility that offers complete package management functionality and automated dependency resolving. However this requires compilation of openssl and other utilities you may not want.

The second mode of operation directly checks out repositories using git or available submodules and installs the modules without dependency handling. Using this approach you can tailor your distribution from ground up without unneeded dependencies.

Bootstraping LuaDist deployment tool

Please make sure your system has git, CMake 2.8 and a compiler tool-chain available. On Ubuntu this requires git, cmake, build-essential. This build will take quite a while to compile, please be patient.

git clone git://github.com/LuaDist/Repository.git
cd Repository
git submodule update --init --recursive bootstrap
./install bootstrap

Once the installation finishes the LuaDist folder should contain a fully versioned LuaDist distribution.

cd _install/bin
./luadist list # lists installed modules
./luadist search # lists online repository
./luadist install luaexpat # installs luaexpat

Using the install script to generate distribution without versioning.

To make a distribution containing luajit, luasocket and luafilesystem you can use the install utility directly:

./install luajit luasocket luafilesystem

Note that this mode of installation installs most recent versions of modules and does not handle dependencies automatically. If you checked out any of the modules using submodules the utility will use the local files, otherwise it will access remote git repositories. However, the installation script is able to install specific tags of modules. It is up to you to install correct dependencies, otherwise the distribution may be unusable.

./install lua-5.1.4 md5-1.1.2 
./_install/bin/lua
> require "md5"

Cloning

To clone the full repository:

git clone git://github.com/LuaDist/Repository.git
cd Repository
git submodule update --init --recursive

To clone individual modules you can specify the module name as follows:

git submodule update --init --recursive lua

Note that submodules do not point to latest versions of modules but rather to stable versions. To update to latest version do:

cd module
git checkout master
git pull

By default all submodules are accessed using the git:// protocol. Developers can update all remotes to support push through ssl as reqired by GitHub using the following command:

git submodule foreach 'git remote set-url --push origin [email protected]:LuaDist/$path.git'

We also recommend switching all submodules to the master branch using the following command:

git submodule foreach 'git checkout master && git pull'

Contributing

  1. Submit a issue with a link to your git repository of the module.
  2. A maintainer will fork the module into LuaDist grant you the rights to push changes into it.
  3. The maintainer will add a submodule referencing the forked module into this LuaDist/Repository.

Call for Maintainers

If you would like to help us maintain the repository and update modules without maintainers you are more than welcome. Please contact us at our development list

repository's People

Contributors

davidm avatar drahosp avatar fperrad avatar kapecp avatar mkottman avatar mnicky 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.