Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 53 lines (32 sloc) 1.648 kb

Agner

Agner is a rebar-friendly Erlang package index inspired by Clojars and Homebrew.

Essentially, Agner is an index of Erlang packages with some extra capabilities such as versioning, downloads and so on.

Package names

Package name is just either a package name such as mochiweb, or (in case of github indeces, it might also take a form of account/package, for example yrashk/misultin)

Versions

Agner has two kinds of versions:

  • Release versions, normally something like 1.2.0, represented using tags in .agner repos
  • Flavour versions, normally something like @release, represented using branches in .agner repos

Commands

agner list [-d/--descriptions]

agner spec [package name] [-v/--version package_version]

agner fetch [package name] [destination directory] [-v/--version package_version]

agner versions [package name]

Rebar

Agner-compatible rebar is available at agner branch of agner/rebar. Or you can download ready-made rebar from agner itself.

Using it with rebar is fairly simple, it uses rebar's deps feature:

{deps, [
          {typespecs, "0.1", {agner, "typespecs"}},
          {getopt, "0.3.0", {agner, "getopt"}}
       ]}.

You can also specify your own indices:

{agner_indices, [{github, "yourgithubusername"},{github,"agner"}].

Contributing

Please read at the wiki.

Something went wrong with that request. Please try again.