EtK2000 / Alb-no-Repo

A Github repo template for Albÿno OS

Home Page:https://github.com/EtK2000/Alb-no-OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Albÿno Repo

This is an example template to setup a Github repo for Albÿno OS.

Setup

Just fork/clone this repo add your files and change base.repo to your needs

To add the repo to a computer running Albÿno OS run (replace <repo> with the repo url)

add-apt-repository <repo>

The repo url should look something like "https://raw.githubusercontent.com/EtK2000/Alb-no-Repo/master/base.repo"

base.repo format

Any line starting with '#' will be ignored.

[basepath] is the url to hit for installing modules, it can contains any of 2 variables:
$name - name of the module file (string) [required]
$ver - version of the module (number)
An example would be:
[basepath]=http://cc.etk2000.com/albÿno/src/modules/$name

Format of lines, available variables are:
$alone - is the module standalone? (0/1) [defaults to 1]
$dep - modules the module depends on (string) [format: <dep 1>;<dep 2>;<dep 3>]
$disp - display name of the module (string) [defaults to $name]
$name - name of the module file (string)
$max - the maximum Albÿno version (number >= $min) [normally build version, defaults to infinity]
$min - the minimum Albÿno version required (number >= 0) [defaults to 0]
$req - is the module required by the source? (0/1) [defaults to 0]
$run - the url of the init file for this module, relative to basepath [defaults to nil]
$ver - version of the module (number > 0)

Not all vars have to be filled in, but $name and $ver are required
Here is an example:
[format]=$name,$ver,$req,$dep,$min,$max
apt-get,0.2,1

See this example in action.

About

A Github repo template for Albÿno OS

https://github.com/EtK2000/Alb-no-OS