Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

COPR-STATUS


License Gitter


About


This app was built to support the development of Portal do Software Público Brasileiro. It shows versions for published packages in EPEL7 Fedora Copr repositories. Note that this app consists of a package (CoprStatus), a PSGI script, a script to update information on .spec files, a template file and Bootstrap.


Development

In order to use this app you will need perl 5 and the following perl modules installed:

  • Plack
  • LWP::UserAgent
  • JSON
  • YAML:XS
  • Text::Template
  • LWP::Protocol::https
  • RPM::VersionCompare

Run tests:

prove -Ilib t

How to use

plackup [--port PORT_NUMBER] -Ilib

For example, try:

plackup -Ilib

There is a subroutine in util/start.pl file that must be running in order to update spec files. The util/start.pl script is called by the systemd unit file provided in order to serve the app and run the subroutine that updates the spec files.


Configuration

The file config.yaml sets all the needed parameters:

  • User: Copr user, the owner of the repository to be watched
  • UpdateRate: Rate in witch information on Git and Copr are updated
  • GitDomain: Forge system used to host git repositories, like github or gitlab.
  • GitSpecPath: Path to spec files in the git repository: use instead of the branch name and instead of package names.
  • Repositories: name of Copr repositories for User.
  • Branches: name of git branches to be watched.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.