Giter VIP home page Giter VIP logo

anitya's Introduction

Anitya

Anitya is a release monitoring project.

Its goal is to regularly check if a project has made a new release. Originally developed within Fedora, the project created tickets on the Fedora bugzilla when a new release is available. Now this service has been split into two parts:

  • anitya: find and announce new releases
  • the new hotness: listens to the fedmsg bus, opens a ticket on bugzilla for packages allowing for it and triggers a scratch-build of the new version

Anitya provides a user-friendly interface to add or edit projects. New releases are announced on fedmsg and notifications can then be sent via FMN (the FedMsg Notifications service).

Github page:https://github.com/fedora-infra/anitya

Hacking

Anitya is built using python2.x. The following steps all are setup using virtualenv having python2.x.

Note: The project will not work with python3 (yet.)

virtualenv

Here are some preliminary instructions about how to stand up your own instance of anitya. We'll use a virtualenv and a sqlite database and we'll install our dependencies from the Python Package Index (PyPI). None of these are best practices for a production instance, but they will do for development.

First, set up a virtualenv:

$ sudo yum install python-virtualenv
$ virtualenv anitya-env --system-site-packages
$ source anitya-env/bin/activate

Issuing that last command should change your prompt to indicate that you are operating in an active virtualenv.

Next, install your dependencies:

(anitya-env)$ pip install -r requirements.txt

Create the database, by default it will be a sqlite database located at /var/tmp/anitya-dev.sqlite:

(anitya-env)$ python createdb.py

If all goes well, you can start a development instance of the server by running:

(anitya-env)$ python runserver.py

Open your browser and visit http://localhost:5000 to check it out.

docker

You can use dockerfile provided in root of this repository. Build it:

$ cd anitya/
$ docker build --tag=anitya .

And run:

$ docker run --net=host anitya

--net=host will use network stack from your host system. Application will be then available on localhost at http://localhost:5000.

If you inspect the dockerfile you can see that installation method is almost identical to the described in section virtualenv.

anitya's People

Contributors

aayush-kasurde avatar arielb2 avatar cydrobolt avatar daveol avatar farhaanbukhsh avatar glensc avatar jinankjain avatar juhp avatar msimacek avatar piotr1212 avatar prashant-surya avatar praveenkumar avatar puiterwijk avatar pypingou avatar ralphbean avatar shaguftamethwani avatar sudheesh001 avatar tomastomecek avatar tomspur avatar tyll avatar vivekanand1101 avatar voxik avatar

Watchers

 avatar  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.