opensuse:supportability-analysis-module.git
9 years agomake: ship manpage too v0.8rc7
David Sterba [Wed, 13 May 2009 16:31:45 +0000 (18:31 +0200)]
make: ship manpage too

9 years agospec fix path macros
David Sterba [Wed, 13 May 2009 16:27:29 +0000 (18:27 +0200)]
spec fix path macros

9 years agospec: create bindir
David Sterba [Wed, 13 May 2009 16:19:11 +0000 (18:19 +0200)]
spec: create bindir

9 years agoupdate specfiles and changelogs
David Sterba [Wed, 13 May 2009 16:11:13 +0000 (18:11 +0200)]
update specfiles and changelogs

9 years agomore documentation, update manpage
David Sterba [Wed, 13 May 2009 15:59:51 +0000 (17:59 +0200)]
more documentation, update manpage

9 years agoprint final disclaimer
David Sterba [Wed, 13 May 2009 14:53:56 +0000 (16:53 +0200)]
print final disclaimer

9 years agoremove old fixmes
David Sterba [Wed, 13 May 2009 13:49:20 +0000 (15:49 +0200)]
remove old fixmes

9 years agolist old repositories
David Sterba [Wed, 13 May 2009 13:30:38 +0000 (15:30 +0200)]
list old repositories

- move refresh check after all skipped repos
- list repos at the summary

9 years agofix displaying of mode change
David Sterba [Wed, 13 May 2009 13:10:10 +0000 (15:10 +0200)]
fix displaying of mode change

9 years agoredesign final recommendations
David Sterba [Wed, 13 May 2009 13:06:20 +0000 (15:06 +0200)]
redesign final recommendations

9 years agoupdate final package stats
David Sterba [Wed, 13 May 2009 12:04:59 +0000 (14:04 +0200)]
update final package stats

9 years agodo not show disabled --verify check results
David Sterba [Wed, 13 May 2009 10:07:05 +0000 (12:07 +0200)]
do not show disabled --verify check results

9 years agoenhance package count stats
David Sterba [Wed, 13 May 2009 10:03:11 +0000 (12:03 +0200)]
enhance package count stats

9 years agodisable check for user, group, mtime
David Sterba [Wed, 13 May 2009 09:42:21 +0000 (11:42 +0200)]
disable check for user, group, mtime

9 years agominor fixes to manpage
David Sterba [Tue, 12 May 2009 15:57:28 +0000 (17:57 +0200)]
minor fixes to manpage

9 years agolist foreign packages somewhere
David Sterba [Tue, 12 May 2009 13:44:21 +0000 (15:44 +0200)]
list foreign packages somewhere

9 years agofix warning
David Sterba [Tue, 12 May 2009 12:14:42 +0000 (14:14 +0200)]
fix warning

9 years agofinish xml output rewrite
David Sterba [Mon, 11 May 2009 14:04:47 +0000 (16:04 +0200)]
finish xml output rewrite

9 years agoMerge branch 'xmlout2'
David Sterba [Wed, 6 May 2009 16:23:02 +0000 (18:23 +0200)]
Merge branch 'xmlout2'

9 years agoxml rewrite, part one
David Sterba [Wed, 6 May 2009 16:16:24 +0000 (18:16 +0200)]
xml rewrite, part one

9 years agobetter error message for missing product directory
David Sterba [Wed, 6 May 2009 12:08:39 +0000 (14:08 +0200)]
better error message for missing product directory

9 years agomerge updates to recommendations v0.8rc6
David Sterba [Thu, 30 Apr 2009 13:39:19 +0000 (15:39 +0200)]
merge updates to recommendations

9 years agolast part of xmlization
David Sterba [Thu, 30 Apr 2009 11:08:04 +0000 (13:08 +0200)]
last part of xmlization

9 years agothird quarter of log xmlization
David Sterba [Wed, 29 Apr 2009 16:31:34 +0000 (18:31 +0200)]
third quarter of log xmlization

9 years agofirst half of xmlized log output
David Sterba [Wed, 29 Apr 2009 12:39:28 +0000 (14:39 +0200)]
first half of xmlized log output

9 years agoenhance command line options
David Sterba [Tue, 28 Apr 2009 12:03:35 +0000 (14:03 +0200)]
enhance command line options

- enable --no-... for more options, namely 'orphan-search'
- reorder and rename option variables and group default settings

9 years agocleanup path handling
David Sterba [Thu, 9 Apr 2009 16:10:35 +0000 (18:10 +0200)]
cleanup path handling

- use lib functions for path cleaning
- use absolute path for rpm root dir
- other: report used and skipped repos for version checking

9 years agocleanups and updates
David Sterba [Thu, 9 Apr 2009 13:49:26 +0000 (15:49 +0200)]
cleanups and updates

- remove obsolete fixmes
- if not codestreams found in product, write '(none)' rather than
  nothing
- die if product does not have valid architecture
- be verbose when skipping 3rd party product

9 years agoallow more update channel codestreams
David Sterba [Thu, 9 Apr 2009 12:46:16 +0000 (14:46 +0200)]
allow more update channel codestreams

- currently, there is Update:Test channel used but is not listed in
  product and thus rejected though valid

9 years agoimprove html output
David Sterba [Tue, 7 Apr 2009 15:09:50 +0000 (17:09 +0200)]
improve html output

- add some show/hide buttons
- fix reporting of foreign codestream and vendor

9 years agodisable verification of foreign packages
David Sterba [Mon, 6 Apr 2009 12:47:47 +0000 (14:47 +0200)]
disable verification of foreign packages

- the 'verify foreign' step is not performed, the packages are
  unsupported by default, the results were not printed anywhere

9 years agoadjust verbosity levels a bit
David Sterba [Fri, 3 Apr 2009 12:43:08 +0000 (14:43 +0200)]
adjust verbosity levels a bit

9 years agoupdate changelog
David Sterba [Fri, 3 Apr 2009 12:39:41 +0000 (14:39 +0200)]
update changelog

9 years agoearly print of version problems
David Sterba [Fri, 3 Apr 2009 11:22:16 +0000 (13:22 +0200)]
early print of version problems

- try to print version and rpm --verify problems early to improve
  interactivity
- group package version information

9 years agominor cleanups
David Sterba [Thu, 2 Apr 2009 14:13:28 +0000 (16:13 +0200)]
minor cleanups

9 years agominor cleanups v0.8rc5
David Sterba [Mon, 30 Mar 2009 14:58:50 +0000 (16:58 +0200)]
minor cleanups

9 years agopretty print file result fallback
David Sterba [Mon, 30 Mar 2009 14:53:23 +0000 (16:53 +0200)]
pretty print file result fallback

- when cache is out of date, pretty print of file result
  may get lost in output, now print it as a debug msg

9 years agoupdate solv timestamp code checks
David Sterba [Mon, 30 Mar 2009 14:36:46 +0000 (16:36 +0200)]
update solv timestamp code checks

- new satsolver will provide access to repository tags
  now we fallback to dumpsolv and grep
- timestamp value usage needs to be clarified

9 years agoalways create report and log files
David Sterba [Mon, 30 Mar 2009 10:53:00 +0000 (12:53 +0200)]
always create report and log files

- log/html/report are always created
- remove -w/--write option and update documentation

9 years agoprint only base of reference repository url
David Sterba [Mon, 30 Mar 2009 08:55:18 +0000 (10:55 +0200)]
print only base of reference repository url

- do not show the file part (.rpm)
- the link contains release notes and installation instruction
  (ie. better than a rpm)

9 years agomanpage updates
David Sterba [Fri, 27 Mar 2009 17:06:50 +0000 (18:06 +0100)]
manpage updates

9 years agofix evr vs version for package names
David Sterba [Fri, 27 Mar 2009 13:14:40 +0000 (14:14 +0100)]
fix evr vs version for package names

- evr is used inside solver, package names are referenced without epoch
  this caused mismatch and crash

9 years agoupdate manpage
David Sterba [Fri, 27 Mar 2009 10:54:18 +0000 (11:54 +0100)]
update manpage

9 years agoverify only files from rpm list
David Sterba [Thu, 26 Mar 2009 18:07:56 +0000 (19:07 +0100)]
verify only files from rpm list

- does not --verify files not included in -ql list
  eg when package was installed with --excludepath option
  and may show false positives
- cache results of -ql commands if wanted

9 years agoadd empty repo scheme
David Sterba [Wed, 25 Mar 2009 16:42:25 +0000 (17:42 +0100)]
add empty repo scheme

- just use refdata, no local repos will be found

9 years agofix matching gpg keys
David Sterba [Wed, 25 Mar 2009 16:11:07 +0000 (17:11 +0100)]
fix matching gpg keys

- do pub key comment matching properly
- list pub comments of all used keys

9 years agoclean up repo config code
David Sterba [Wed, 25 Mar 2009 14:34:12 +0000 (15:34 +0100)]
clean up repo config code

- metadata dir was not used
- keys dir used instead
- default zypper subdir names passed directly

9 years agorefdata structure fixes
David Sterba [Wed, 25 Mar 2009 14:04:20 +0000 (15:04 +0100)]
refdata structure fixes

- accept 'keys' dir too
- do not move keys out of metadata

9 years agoenhanced parsing of reference repositories
David Sterba [Tue, 24 Mar 2009 15:08:09 +0000 (16:08 +0100)]
enhanced parsing of reference repositories

- accept solv, metadata or tar (in that order) as reference repos

9 years agoadd manpage file
David Sterba [Mon, 23 Mar 2009 16:25:41 +0000 (17:25 +0100)]
add manpage file

9 years agoself contained manpage
David Sterba [Mon, 23 Mar 2009 16:00:31 +0000 (17:00 +0100)]
self contained manpage

- print as help too
- other: rename NO -> no in html output

9 years agoexit if no repos found
David Sterba [Mon, 23 Mar 2009 13:50:21 +0000 (14:50 +0100)]
exit if no repos found

9 years agocleanups and fixes
David Sterba [Mon, 23 Mar 2009 13:43:16 +0000 (14:43 +0100)]
cleanups and fixes

- take sysarch from baseproduct or from system (fallback)
- check other installed prods for compatibility
- report baseproduct
- fix some fixmes
- remove unused code

9 years agoupdate changes to rc4 v0.8rc4
David Sterba [Fri, 20 Mar 2009 15:27:59 +0000 (16:27 +0100)]
update changes to rc4

9 years agominor fix to help text
David Sterba [Fri, 20 Mar 2009 15:20:47 +0000 (16:20 +0100)]
minor fix to help text

9 years agoverbosity level for more details
David Sterba [Fri, 20 Mar 2009 13:47:14 +0000 (14:47 +0100)]
verbosity level for more details

- useful for source version/origin list (like SPident did)
- for high levels it prints the boring duplicate file/dir messages

9 years agohtml formating fixes
David Sterba [Fri, 20 Mar 2009 13:01:15 +0000 (14:01 +0100)]
html formating fixes

9 years agoenhance html output
David Sterba [Fri, 20 Mar 2009 12:36:15 +0000 (13:36 +0100)]
enhance html output

split package list into 3 tables:
- our supported
- our unsupported with description
- foreign

prepend sam.report

9 years agorename sam cache directory
David Sterba [Fri, 20 Mar 2009 10:13:47 +0000 (11:13 +0100)]
rename sam cache directory

give it more descriptive name

9 years agooption to skip md5 checks
David Sterba [Fri, 20 Mar 2009 10:11:34 +0000 (11:11 +0100)]
option to skip md5 checks

speeds up run time by about 70%

9 years agoprint per package summary to log always
David Sterba [Fri, 20 Mar 2009 09:51:06 +0000 (10:51 +0100)]
print per package summary to log always

- and make it optional to screen

9 years agoalways create log file
David Sterba [Fri, 20 Mar 2009 09:45:40 +0000 (10:45 +0100)]
always create log file

- non optional creation
- update help string

9 years agocheck freshness of repos
David Sterba [Fri, 20 Mar 2009 09:39:30 +0000 (10:39 +0100)]
check freshness of repos

check timestamps of solv files and repository:timestamp data.
reccommend refresh and print number of old repos

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/supportability-analysis-module
David Sterba [Fri, 20 Mar 2009 09:36:52 +0000 (10:36 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/supportability-analysis-module

9 years agoupdate reference repos
David Sterba [Fri, 20 Mar 2009 08:40:42 +0000 (09:40 +0100)]
update reference repos

9 years agounify names of config variables
David Sterba [Fri, 20 Mar 2009 08:26:56 +0000 (09:26 +0100)]
unify names of config variables

9 years agooptional skip of repos not matching installed products
David Sterba [Fri, 20 Mar 2009 08:18:46 +0000 (09:18 +0100)]
optional skip of repos not matching installed products

drop experimental status, do not skip by default

9 years agoprint fatal error to screen
David Sterba [Fri, 20 Mar 2009 08:08:30 +0000 (09:08 +0100)]
print fatal error to screen

9 years agominor fixes
David Sterba [Thu, 19 Mar 2009 16:56:44 +0000 (17:56 +0100)]
minor fixes

- do not pass root_dir, it's global
- show satsolver-tools version (repo2solv.sh)
- add --noscript(s) to rpm --verify when not running as root (chroot
  is needed)

9 years agoprebare base infrastructure for studio-based configs
David Sterba [Thu, 19 Mar 2009 15:14:49 +0000 (16:14 +0100)]
prebare base infrastructure for studio-based configs

- extend repo_conf structures
- get_conf is simple, you must specify the dirs directly by --dir ...
- XML::Simple dependency refactored

9 years agoupdate help message
David Sterba [Thu, 19 Mar 2009 00:10:46 +0000 (01:10 +0100)]
update help message

9 years agoselectable repository config schema
David Sterba [Thu, 19 Mar 2009 00:00:36 +0000 (01:00 +0100)]
selectable repository config schema

- put defaults to a hash and let user select by option
zypper is default, "studio" is not yet implemented

9 years agooptional test for: skip repos for not installed products
David Sterba [Wed, 18 Mar 2009 22:57:17 +0000 (23:57 +0100)]
optional test for: skip repos for not installed products

9 years agoskip mismatched arch only for product repos
David Sterba [Wed, 18 Mar 2009 22:53:25 +0000 (23:53 +0100)]
skip mismatched arch only for product repos

- mainly to skip reference data

9 years agomake harmless duplictate files messages optional
David Sterba [Wed, 18 Mar 2009 22:04:22 +0000 (23:04 +0100)]
make harmless duplictate files messages optional

- add an experimental option for that
- and fix one boring bug when checking other root_dir

9 years agoput back listing of verified packages
David Sterba [Wed, 18 Mar 2009 17:10:54 +0000 (18:10 +0100)]
put back listing of verified packages

9 years agoupdate specfiles
David Sterba [Wed, 18 Mar 2009 16:38:56 +0000 (17:38 +0100)]
update specfiles

- add perl-satsolver requirement
- increase release version

9 years agoalways use satsolver
David Sterba [Wed, 18 Mar 2009 16:35:27 +0000 (17:35 +0100)]
always use satsolver

- 'use satsolver;'
- update code accordingly

9 years agocommand line options enhancements
David Sterba [Wed, 18 Mar 2009 09:56:37 +0000 (10:56 +0100)]
command line options enhancements

- new option: directory for log file output
- refactor option parsing
- add --dir key:value general option (unused right now)
- unify report of skipped repos

9 years agoincrease spec version to 4
David Sterba [Mon, 16 Mar 2009 17:08:28 +0000 (18:08 +0100)]
increase spec version to 4

9 years agoskip repos for not installed products
David Sterba [Mon, 16 Mar 2009 17:04:00 +0000 (18:04 +0100)]
skip repos for not installed products

9 years agoattempt to polish package sources output
David Sterba [Mon, 16 Mar 2009 16:32:18 +0000 (17:32 +0100)]
attempt to polish package sources output

- do not check foreign packages
- do not print everything, just serious problems
  eg. update output is shown elsewhere
  is it needed to print that the exact version is available in repo?

9 years agoshake the package version output a bit
David Sterba [Mon, 16 Mar 2009 14:19:35 +0000 (15:19 +0100)]
shake the package version output a bit

9 years agoenhance signature/vendor output
David Sterba [Mon, 16 Mar 2009 10:34:01 +0000 (11:34 +0100)]
enhance signature/vendor output

9 years agooption to specify system arch
David Sterba [Mon, 16 Mar 2009 10:23:08 +0000 (11:23 +0100)]
option to specify system arch

- add option to force sysarch; useful for non-host checks eg. iso images
- match products' sysarch
- updated help string too

9 years agochange output wording, fix number of vendor matched packages
David Sterba [Mon, 16 Mar 2009 09:41:34 +0000 (10:41 +0100)]
change output wording, fix number of vendor matched packages

- broken -> unsatisfied
- if sig checking is off, match only by vendor string and do not
  forget to count

9 years agoupdate output formatting
David Sterba [Mon, 16 Mar 2009 09:24:26 +0000 (10:24 +0100)]
update output formatting

- html: be more specific about file problems
- remove 'rpm: ' from some strings
- print foreign vendor on next line [experimental, may be removed if
  confusing]
- print duplicity verification result only if problem found
- ohter minor fixes

9 years agohtml: show details about problematic packages
David Sterba [Mon, 16 Mar 2009 00:17:06 +0000 (01:17 +0100)]
html: show details about problematic packages

9 years agoimprove html output
David Sterba [Sat, 14 Mar 2009 22:31:14 +0000 (23:31 +0100)]
improve html output

- enhance previous output with details about problems
- other minor fixes

9 years agoremove json completely
David Sterba [Sat, 14 Mar 2009 20:56:10 +0000 (21:56 +0100)]
remove json completely

9 years agocleanups
David Sterba [Sat, 14 Mar 2009 20:54:00 +0000 (21:54 +0100)]
cleanups

- move dependency checker into func
- print cmd output via %s

9 years agoupdate changelogs
David Sterba [Fri, 13 Mar 2009 17:55:42 +0000 (18:55 +0100)]
update changelogs

9 years agoadd SLED and SDK product refdata
David Sterba [Fri, 13 Mar 2009 17:53:08 +0000 (18:53 +0100)]
add SLED and SDK product refdata

9 years agocheck full dependency tree for for foreign packages
David Sterba [Fri, 13 Mar 2009 17:45:34 +0000 (18:45 +0100)]
check full dependency tree for for foreign packages

it's needed to read full dependency tree, even for our packages to test
indirect dependencies.

dep on foreign is counted into unsupportable packages

9 years agominor output polish
David Sterba [Fri, 13 Mar 2009 16:19:13 +0000 (17:19 +0100)]
minor output polish

9 years agodont print 'duplicate directory: harmless'
David Sterba [Fri, 13 Mar 2009 13:23:10 +0000 (14:23 +0100)]
dont print 'duplicate directory: harmless'

it's very common and not really useful to report

9 years agoskip repos with incompatible arch v0.8rc3
David Sterba [Thu, 12 Mar 2009 14:41:17 +0000 (15:41 +0100)]
skip repos with incompatible arch

read arch compatibility table from /usr/lib/rpm/rpmrc

9 years agotimestamp log file names
David Sterba [Thu, 12 Mar 2009 11:02:30 +0000 (12:02 +0100)]
timestamp log file names

create timestamped logfiles by default, add option to disable it

9 years agooption to print per-package summary
David Sterba [Thu, 12 Mar 2009 10:44:16 +0000 (11:44 +0100)]
option to print per-package summary

9 years agobugfixes and cleanups
David Sterba [Wed, 11 Mar 2009 19:32:54 +0000 (20:32 +0100)]
bugfixes and cleanups

bugfixes:
- foreign dependencies were broken. rpm's output was thrown away and
  then hapily parsed -> no foreign deps at all!
- modified duplicate files from foreign packages were wrongly calculated
  as our

cleanups:
- style
- useless comments
- debugging unification