Commit d7cb024c authored by Seblu's avatar Seblu
Browse files

Improve README.rst

parent 890772f2
Loading
Loading
Loading
Loading
+21 −9
Original line number Diff line number Diff line
@@ -6,32 +6,44 @@ INTRODUCTION
============
*archversion* is an upstream version controller against current *Archlinux* [#]_
or *AUR* [#]_ version.
It can be used by Dev and TUs to check if new release of their package are available.
It can be used by Dev and TUs to check if new release of their packages are available.

HOW TO USE IT
=============
The first thing to do is to define a list of package to track by creating a file
~/.config/archversion.conf. This file look like an old fashioned INI file.
The first thing to do is to define a list of packages to track by creating a file
~/.config/archversion.conf. The file content looks like an old fashioned INI file.

You can find a nice example of this file in misc directory.
The following example allow to check the last version of acpid2 against archlinux
official repositories

Then you can run:
|  [acpid]
|  url = http://sourceforge.net/projects/acpid2/files/

You can find a more complete example in the misc directory.

Basically, you can run:
*archversion check -d* to only display version which differ with cache.
*archversion check -n* to only display new verions.
*archversion check -nd* to display new versions not in cache.

Of course you can add the last one in a cron job to get a daily report of which
packages need updates.
You can add the last one in a cron job to get a daily report of which packages
need updates.


HOW IT WORKS
============
As simple as possible! *archversion* retrieve the content of the provided upstream
webpage and search for well-known pattern. And then compare it to the reference.


COMPARING MODES
===============
*archversion* allow you to compare version against differents things, not only
*archversion* allow you to compare version against different references, not only
official Archlinux repository.
You can compare upstream version against:
- An Archlinux package
- An AUR package
- A stored value
- A cached value


DEPENDENCIES