项目作者: binarybabel

项目描述 :
Dependency monitoring web-application
高级语言: Ruby
项目地址: git://github.com/binarybabel/latestver.git
创建时间: 2016-11-21T07:18:59Z
项目社区:https://github.com/binarybabel/latestver

开源协议:Other

下载


Latestver

Dependency monitoring web-application featuring webhooks, JSON API, and project-level tracking.

Hosted edition available at: lv.binarybabel.org

Join the chat at https://gitter.im/binarybabel/Latestver Support

Docker Automated build Dependency Status Code Climate Inline docs GPL

Supports tracking the latest versions of your favorite software via:

  • Git repository tags
  • RubyGems
  • NPM Packages
  • Web-page scraping

Deploying Latestver Privately

Latestver is available as a Docker Image: hub.docker.com/r/binarybabel/latestver

By default the application will be available from http://localhost:3333

Running Directly

  1. docker run -p 3333:3333 -v $(pwd):/app/data --name latestver binarybabel/latestver

Using docker-compose.yml

  1. version: '2'
  2. services:
  3. app:
  4. image: binarybabel/latestver
  5. volumes:
  6. - .:/app/data
  7. ports:
  8. - "3333:3333"

Customizing

Environment variables and defaults

Catalog Settings

  • REFRESH_ENABLED
    • default: true - catalog versions refreshed automatically (at startup and set interval)
  • REFRESH_INTERVAL
    • default: 1h - how often catalog is refreshed, ex: (7d, 1h, 15m, 60s)
  • CACHE_CONTROL_MAX_AGE
    • default: 0 - how many seconds browsers or proxies may cache catalog results
  • GA_TRACKING_ID
    • default: none - Enable Google Analytics, ex: UA-00000000-1

Security Settings

  • ADMIN_PASS
    • no default - if set admin pages are password protected
  • ADMIN_USER
    • default: admin

Custom Catalog Entries

You can create custom catalog models for advanced version checking.

Here are some code references:

Your model should be namespaced module Catalog and reside within your data volume in a lib/catalog/ subdirectory.

Contributing

  1. Fork this repo on github.com and clone it to your workstation
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push the branch (git push origin my-new-feature)
  5. Submit new Pull Request from GitHub

Author and License

  1. This program is free software: you can redistribute it and/or modify
  2. it under the terms of the GNU General Public License as published by
  3. the Free Software Foundation, either version 3 of the License, or
  4. (at your option) any later version.
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License
  10. along with this program. If not, see <http://www.gnu.org/licenses></http:>.

Project Includes

Latestver utilizes the following open-source projects…

Other dependencies are enumerated in Dockerfile and Gemfile.