зеркало из https://github.com/mozilla/gecko-dev.git
29 строки
1.0 KiB
Markdown
29 строки
1.0 KiB
Markdown
# mozilla-version
|
|
|
|
[![Build Status](https://travis-ci.org/mozilla-releng/mozilla-version.svg?branch=master)](https://travis-ci.org/mozilla-releng/mozilla-version) [![Coverage Status](https://coveralls.io/repos/github/mozilla-releng/mozilla-version/badge.svg?branch=master)](https://coveralls.io/github/mozilla-releng/mozilla-version?branch=master)[![Documentation Status](https://readthedocs.org/projects/mozilla-version/badge/?version=latest)](https://mozilla-version.readthedocs.io/en/latest/?badge=latest)
|
|
|
|
|
|
Process Firefox versions numbers. Tell whether they are valid or not, whether they are nightlies or regular releases, whether this version precedes that other.
|
|
|
|
## Documentation
|
|
|
|
https://mozilla-version.readthedocs.io/en/latest/
|
|
|
|
## Get the code
|
|
|
|
Just install it from pip:
|
|
|
|
```sh
|
|
pip install mozilla-version
|
|
```
|
|
|
|
|
|
## Hack on the code
|
|
```sh
|
|
virtualenv venv # create the virtualenv in ./venv
|
|
. venv/bin/activate # activate it
|
|
git clone https://github.com/mozilla-releng/mozilla-version
|
|
cd mozilla-version
|
|
pip install mozilla-version
|
|
```
|