Skip to content

davidhrbac/cnucnu

Repository files navigation

Cnucnu fork

This is my fork of original cnucnu. I use it to check upstream releases for my repo/repoforge packaging.

Package definition

Package definitions comes with format like this:

How to test package definition - common

root@specs2:1451:449:~/cnucnu.new$ ./cnucnu.py --shell
 None None  URL:> http://www.cacti.net/downloads/
 None http://www.cacti.net/downloads/  Regex:> DEFAULT
Upstream Versions: ['0.8.1', '0.8.1', '0.8.1', '0.8.1', '0.8.2', '0.8.2', '0.8.2', '0.8.2', '0.8.2a', '0.8.2a', '0.8.2a', '0.8.2a', '0.8.3', '0.8.3', '0.8.3', '0.8.3', '0.8.3a', '0.8.3a', '0.8.3a', '0.8.3a', '0.8.4', '0.8.4', '0.8.4', '0.8.4', '0.8.5', '0.8.5', '0.8.5', '0.8.5', '0.8.5a', '0.8.5a', '0.8.5a', '0.8.5a', '0.8.6', '0.8.6', '0.8.6', '0.8.6', '0.8.6a', '0.8.6a', '0.8.6a', '0.8.6a', '0.8.6b', '0.8.6b', '0.8.6b', '0.8.6b', '0.8.6c', '0.8.6c', '0.8.6c', '0.8.6c', '0.8.6d', '0.8.6d', '0.8.6d', '0.8.6d', '0.8.6e', '0.8.6e', '0.8.6e', '0.8.6e', '0.8.6f', '0.8.6f', '0.8.6f', '0.8.6f', '0.8.6g', '0.8.6g', '0.8.6g', '0.8.6g', '0.8.6h', '0.8.6h', '0.8.6h', '0.8.6h', '0.8.6i', '0.8.6i', '0.8.6i', '0.8.6i', '0.8.6j', '0.8.6j', '0.8.6j', '0.8.6j', '0.8.6k', '0.8.6k', '0.8.6k', '0.8.6k', '0.8.7', '0.8.7', '0.8.7', '0.8.7', '0.8.7a', '0.8.7a', '0.8.7a', '0.8.7a', '0.8.7b', '0.8.7b', '0.8.7b', '0.8.7b', '0.8.7c', '0.8.7c', '0.8.7c', '0.8.7c', '0.8.7d', '0.8.7d', '0.8.7d', '0.8.7d', '0.8.7e', '0.8.7e', '0.8.7e', '0.8.7e', '0.8.7f', '0.8.7f', '0.8.7f', '0.8.7f', '0.8.7g', '0.8.7g', '0.8.7g', '0.8.7g', '0.8.7h', '0.8.7h', '0.8.7h', '0.8.7h', '3.1', '3.1', '3.1', '3.1', '0.8.7i', '0.8.7i', '0.8.7i', '0.8.7i', '0.8.8', '0.8.8', '0.8.8', '0.8.8', '0.8', '0.8', '0.8', '0.8']
Latest: 3.1
 \b[-_](?i)(?:(?:src|source)[-_])?([^-/_\s]*?\d[^-/_\s]*?)(?:[-_.](?:src|source|orig))?\.(?:tar|t[bglx]z|tbz2|zip)\b http://www.cacti.net/downloads/  Regex:>

How to test package definition - SourceForge

root@specs2:1450:448:~/cnucnu.new$ ./cnucnu.py --shell
 None None  URL:> SF-DEFAULT:awstats
 None http://sourceforge.net/api/file/index/project-name/awstats/mtime/desc/limit/40/rss  Regex:> DEFAULT
Upstream Versions: ['7.0', '7.0', '7.0', '7.0', '7.0', '7.0', '7.0', '7.0', '7.0', '7.0', '2.9', '2.9', '2.9', '2.9', '2.9', '6.95', '6.95', '6.95', '6.95', '6.95', '6.95', '6.95', '6.95', '6.95', '6.95', '6.9', '6.9', '6.9', '6.9', '6.9', '6.9', '6.9', '6.9', '6.9', '6.9', '6.8', '6.8', '6.8', '6.8', '6.8', '6.8', '6.8', '6.8', '6.8', '6.8', '6.7', '6.7', '6.7', '6.7', '6.7', '6.7', '6.7', '6.7', '6.7', '6.7', '6.6', '6.6', '6.6', '6.6', '6.6']
Latest: 7.0
 \b[-_](?i)(?:(?:src|source)[-_])?([^-/_\s]*?\d[^-/_\s]*?)(?:[-_.](?:src|source|orig))?\.(?:tar|t[bglx]z|tbz2|zip)\b http://sourceforge.net/api/file/index/project-name/awstats/mtime/desc/limit/40/rss  Regex:>

How to test package definition - perl

root@specs2:1449:447:~/cnucnu.new$ ./cnucnu.py --shell
 None None  URL:> CPAN-DEFAULT:Plack
 None http://search.cpan.org/dist/Plack/  Regex:> DEFAULT:Plack
Upstream Versions: ['0.9986']
Latest: 0.9986
 \bPlack[-_](?i)(?:(?:src|source)[-_])?([^-/_\s]*?\d[^-/_\s]*?)(?:[-_.](?:src|source|orig))?\.(?:tar|t[bglx]z|tbz2|zip)\b http://search.cpan.org/dist/Plack/  Regex:>

Typical output

root@specs2:1005:6:~/cnucnu.new$ ./cnucnu.py --create-bugs
2/118 * amavisd-new: repo=2.6.6 upstream=2.7.0
12/118 * chkrootkit Missing URL
19/118 * fdupes: repo=1.40 upstream=1.50-PR2
        Bug already filed:https://bugzilla.redhat.com/show_bug.cgi?id=630694 NEW
None
22/118 * ganglia: repo=3.1.7 upstream=3.3.5
26/118 * iftop: repo=0.17 upstream=1.0pre2
        Bug already filed:https://bugzilla.redhat.com/show_bug.cgi?id=743535 CLOSED
None
28/118 * lha Missing URL
34/118 * mirmon: repo=2.4 upstream=2.5
36/118 * nagios: repo=3.2.3 upstream=3.3.1
37/118 * netperf: repo=2.4.5 upstream=2.5.0
        Upstream Version found in SCM, skipping bug report: netperf U:2.5.0 R:2.4.5
None
40/118 * nmon Missing URL
46/118 * perl-BerkeleyDB: repo=0.43 upstream=0.51
47/118 * perl-Class-Accessor-Grouped: repo=0.10003 upstream=0.10006
48/118 * perl-Compress-Raw-Bzip2: repo=2.037 upstream=2.049
49/118 * perl-Compress-Raw-Zlib: repo=2.037 upstream=2.051
        Bug already filed:https://bugzilla.redhat.com/show_bug.cgi?id=796643 CLOSED
None
51/118 * perl-Config-Any: repo=0.21 upstream=0.23
57/118 * perl-DB_File: repo=1.822 upstream=1.826
58/118 * perl-Dancer: repo=1.3091 upstream=1.3095
        Upstream Version found in SCM, skipping bug report: perl-Dancer U:1.3095 R:1.3091
None
59/118 * perl-Data-Dumper-Concise: repo=1.100 upstream=2.020
60/118 * perl-Digest-MD5: repo=2.39 upstream=2.51
61/118 * perl-Digest-SHA: repo=5.50 upstream=5.71
        Bug already filed:https://bugzilla.redhat.com/show_bug.cgi?id=802987 CLOSED
None
69/118 * perl-IO-Compress: repo=2.037 upstream=2.049
70/118 * perl-IO-Socket-SSL: repo=1.44 upstream=1.64
80/118 * perl-Math-BigInt-FastCalc: repo=0.19 upstream=0.30
84/118 * perl-Net-SPF Missing URL
85/118 * perl-Net-SSLeay: repo=1.36 upstream=1.47
88/118 * perl-Plack: repo=0.9979 upstream=0.9986
        Upstream Version found in SCM, skipping bug report: perl-Plack U:0.9986 R:0.9979
None
93/118 * phpmyadmin Missing URL
98/118 * python-webpy: repo=0.35 upstream=0.36
114/118 * unarj: repo=2.63 upstream=2.63a
116/118 * unhide: repo=0.0.20110113 upstream=20110113
        Upstream Version found in SCM, skipping bug report: unhide U:20110113 R:0.0.20110113
None
118/118 * zoo Missing URL
==================== Results ====================
     Total                        118 (100%)
     Outdated                      25 ( 21%)
     Unresolved                    17 ( 14%)
          Upstream URL              6 (  5%)
          Missing RPM               7 (  5%)
          Other                     4 (  3%)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages