opensuse:supportability-analysis-module.git
8 years agoclose stdin of gpg by shell builtin
David Sterba [Tue, 2 Jun 2009 13:30:47 +0000 (15:30 +0200)]
close stdin of gpg by shell builtin

- /dev/null may not exist in the chroot environment

8 years agofix warning when baseproduct is not defined
David Sterba [Tue, 2 Jun 2009 13:24:09 +0000 (15:24 +0200)]
fix warning when baseproduct is not defined

8 years agoprint baseproduct only if defined
David Sterba [Tue, 2 Jun 2009 12:46:39 +0000 (14:46 +0200)]
print baseproduct only if defined

8 years agofix missing tag names in xml
David Sterba [Tue, 2 Jun 2009 12:45:41 +0000 (14:45 +0200)]
fix missing tag names in xml

8 years agoreturn nonzero errorcodes on Die
David Sterba [Wed, 20 May 2009 13:54:18 +0000 (15:54 +0200)]
return nonzero errorcodes on Die

8 years agoclean xml tag names
David Sterba [Wed, 20 May 2009 10:02:29 +0000 (12:02 +0200)]
clean xml tag names

8 years agofix malformed xml tag naming
David Sterba [Mon, 18 May 2009 12:39:55 +0000 (14:39 +0200)]
fix malformed xml tag naming

8 years agolighten modification results v0.8
David Sterba [Thu, 14 May 2009 13:52:57 +0000 (15:52 +0200)]
lighten modification results

- make non-critical problems tolerable, at least have them in log

8 years agoMinor changes in output
Uwe Drechsel [Thu, 14 May 2009 12:11:37 +0000 (14:11 +0200)]
Minor changes in output

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

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

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

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

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

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

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

8 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

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

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

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

8 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

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

8 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

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

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

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

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

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

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

8 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

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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

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

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

8 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

8 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

8 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

8 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)

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

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

8 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

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

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

8 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

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

8 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

8 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

8 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%

8 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

8 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

8 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

8 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

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

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

8 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

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

8 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)

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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?

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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