Commit Graph

323 Commits

Author SHA256 Message Date
Dominique Leuenberger
b398050e71 Accepting request 1000215 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1000215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=122
2022-09-02 19:56:04 +00:00
Olaf Hering
cd42f5af6c - handle more setuid/setgid ELF variants (#54)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=296
2022-08-23 10:01:37 +00:00
Dominique Leuenberger
01b0480af4 Accepting request 984012 from openSUSE:Tools
- fix objdump parsing for non-executable sections (#53)

- fix objdump parsing (#52)

- Remove warning about python mtime mismatch, a republish will not help (bsc#915948)

OBS-URL: https://build.opensuse.org/request/show/984012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=121
2022-06-23 08:22:05 +00:00
Olaf Hering
597e7f2fd4 - fix objdump parsing for non-executable sections (#53)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=294
2022-06-20 15:06:40 +00:00
Olaf Hering
6bd89b2a55 - fix objdump parsing (#52)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=293
2022-06-13 14:00:02 +00:00
Dominique Leuenberger
6c858eeea4 Accepting request 959841 from openSUSE:Tools
- handle -a also in same-build-result.sh
- Find rpmlint.log in more places
- fix logic error in appstream comparison
- rework exit handling in same-build-result.sh
- Fix result in case no rpmlint.log exist
- remove count of checks and packages from rpmlint.log
- remove Check time report from rpmlint.log
- ELF diffing performance improvements
- unpack packages in parallel
- Add zstd handling
- Add extra handling for KMP versions

OBS-URL: https://build.opensuse.org/request/show/959841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=120
2022-03-09 17:46:26 +00:00
Olaf Hering
3645d843bb - handle -a also in same-build-result.sh
- Find rpmlint.log in more places
- fix logic error in appstream comparison
- rework exit handling in same-build-result.sh
- Fix result in case no rpmlint.log exist

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=291
2022-03-07 10:57:31 +00:00
Olaf Hering
f7c0d407ba - remove count of checks and packages from rpmlint.log
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=290
2022-03-06 22:02:46 +00:00
Olaf Hering
107f5e6e1c fix ELF comparision to really show disasm output
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=289
2022-03-06 11:17:34 +00:00
Olaf Hering
714195e1eb baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=288
2022-03-04 23:16:27 +00:00
Dominique Leuenberger
452e9a3a01 Accepting request 920691 from openSUSE:Tools
- Fix build-compare for shadow package
- Properly drop another duration from rpmlint.log
- Drop another duration from rpmlint.log

OBS-URL: https://build.opensuse.org/request/show/920691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=119
2021-09-25 20:51:17 +00:00
Olaf Hering
1bc9801b2d - Fix build-compare for shadow package
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=286
2021-09-21 19:44:56 +00:00
Olaf Hering
e57ee3eb61 - Properly drop another duration from rpmlint.log
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=285
2021-09-20 11:03:29 +00:00
Dominique Leuenberger
6855de7c23 rebase
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=284
2021-09-06 08:44:23 +00:00
Dominique Leuenberger
9b4e783a99 Accepting request 912957 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/912957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=118
2021-08-25 18:55:58 +00:00
Olaf Hering
12dacfd2b5 - Handle another Date: variant in DocBook generated man pages
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=282
2021-08-11 20:45:14 +00:00
Dominique Leuenberger
d72228f6d7 Accepting request 823017 from openSUSE:Tools
- Make output more diffable and readable
- Fix regression in compare_archive
- Fix unit tests

OBS-URL: https://build.opensuse.org/request/show/823017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=117
2020-08-02 10:27:36 +00:00
Olaf Hering
f505b94234 - Make output more diffable and readable
- Fix unit tests

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=280
2020-07-27 15:54:58 +00:00
Olaf Hering
65e0daeec1 - Fix regression in compare_archive
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=279
2020-07-27 06:44:19 +00:00
Dominique Leuenberger
2568a356aa Accepting request 811920 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/811920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=116
2020-06-11 12:41:50 +00:00
Olaf Hering
6e953eae7c - Remove usage of readarray to remain compatible with bash3
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=277
2020-05-29 19:27:45 +00:00
Olaf Hering
8908bc34d3 Remove usage of associative array variables to support bash3
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=276
2020-05-29 16:52:29 +00:00
Olaf Hering
512e57198a whitespace
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=275
2020-05-29 08:44:58 +00:00
Olaf Hering
4099e8f1e8 - Colltect a list of known rpm tags and use it to build the
queryformat string for the tags listed below (bsc#1172232)
  conflict obsolete oldsuggests provide recommend require suggest supplement

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=274
2020-05-29 07:56:29 +00:00
Dominique Leuenberger
653564b949 Accepting request 805486 from openSUSE:Tools
- Trim first line of man page to catch overly verbose tools (now Pandoc)

- compare also posttrans scripts, and pretrans + verifyscript

OBS-URL: https://build.opensuse.org/request/show/805486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=115
2020-05-16 20:23:21 +00:00
Olaf Hering
c91e308f66 - Trim first line of man page to catch overly verbose tools (now Pandoc)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=272
2020-05-14 07:52:23 +00:00
Olaf Hering
43ad56bd29 - compare also posttrans scripts, and pretrans + verifyscript
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=271
2020-05-13 17:14:02 +00:00
Dominique Leuenberger
03f37426f6 Accepting request 801854 from openSUSE:Tools
- handle oddly named ZIP archives
- touch watchdog every 15 instead of 57 minutes

OBS-URL: https://build.opensuse.org/request/show/801854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=114
2020-05-11 11:25:55 +00:00
Olaf Hering
b9318be55f - touch watchdog every 15 instead of 57 minutes
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=269
2020-05-08 19:02:24 +00:00
Olaf Hering
fd3e3dbbfb - handle oddly named ZIP archives
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=268
2020-05-05 07:00:09 +00:00
Dominique Leuenberger
2378e4772c Accepting request 791952 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/791952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=113
2020-04-15 18:04:02 +00:00
Olaf Hering
860fa11e3d - gtk-doc: filter version info from html files
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=266
2020-03-31 09:52:47 +00:00
Dominique Leuenberger
91d2bb03b8 Accepting request 766378 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/766378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=112
2020-02-15 21:21:12 +00:00
Dominique Leuenberger
88e3cc225b Accepting request 762170 from openSUSE:Tools
- this new decade must be handled in man pages created by docbook.xml 
- use bash Process Substitution in diff_two_files
- use bash Process Substitution when processing ELF files
- move normalizing code from check_single_file into separate function
- better input verification in check_single_file
- split verification from diff_two_files into separate function
- move check for ignored files out of check_single_file
- separate helper functions from code in pkg-diff
- touch host watchdog when producing output and in loops (issue#35)
- add functions to touch host watchdog
- always run cleanup in check_compressed_file
- use EXIT handler in pkg-diff to remove tmpfiles

OBS-URL: https://build.opensuse.org/request/show/762170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=111
2020-01-18 11:13:33 +00:00
Olaf Hering
6052501a80 simplify compare_archive API
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=263
2020-01-15 15:59:48 +00:00
Olaf Hering
76e9d71125 - compare archives in separate directory to preserve existing files
- consider only files and symlinks in verify_before_processing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=262
2020-01-10 21:28:02 +00:00
Olaf Hering
6d650b176a - this new decade must be handled in man pages created by docbook.xml
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=261
2020-01-09 11:50:18 +00:00
Olaf Hering
58d2baf789 touch host watchdog later
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=260
2020-01-08 18:55:35 +00:00
Olaf Hering
655c4bb07a - use bash Process Substitution in diff_two_files
- use bash Process Substitution when processing ELF files
- move normalizing code from check_single_file into separate function
- better input verification in check_single_file
- split verification from diff_two_files into separate function
- move check for ignored files out of check_single_file
- separate helper functions from code in pkg-diff
- touch host watchdog when producing output and in loops (issue#35)
- add functions to touch host watchdog
- always run cleanup in check_compressed_file
- use EXIT handler in pkg-diff to remove tmpfiles

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=259
2020-01-08 16:55:30 +00:00
Dominique Leuenberger
232ad39f3b Accepting request 723342 from openSUSE:Tools
- pkg-diff.sh: Ignore R build timestamp & temp paths
  https://github.com/openSUSE/build-compare/pull/34

OBS-URL: https://build.opensuse.org/request/show/723342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=110
2019-08-27 09:58:37 +00:00
Olaf Hering
22bc8722f3 - pkg-diff.sh: Ignore R build timestamp & temp paths
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=257
2019-08-14 13:41:41 +00:00
Stephan Kulow
3487049d98 Accepting request 677296 from openSUSE:Tools
- javadoc: filter dc.created
- Support filenames with spaces
- jar: always list files without date+size
- Fix differing jars reported as identical

- Ignore value of Release header when comparing spec files

OBS-URL: https://build.opensuse.org/request/show/677296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=109
2019-02-24 15:55:03 +00:00
Olaf Hering
5cee16f457 - javadoc: filter dc.created
- Support filenames with spaces
- jar: always list files without date+size
- Fix differing jars reported as identical

- Ignore value of Release header when comparing spec files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=255
2019-02-19 09:32:50 +00:00
Dominique Leuenberger
436e7886b3 Accepting request 621344 from openSUSE:Tools
- pkg-diff: fix diff returning 0

- Match also ELF pie executable (bsc#1097339)

- Remove trailing space from two match patterns

- Recognize "setuid ELF nn-bit xSB shared object" ELF binaries

- Avoid large temporary files from hexdump output and avoid
  diff(1) runing OOM by using a fifo (issue#24)

- check rpm capabilities for recommends/suggests

- Ignore /usr/lib/.build-id differences in package filelist

OBS-URL: https://build.opensuse.org/request/show/621344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=108
2018-07-07 19:52:36 +00:00
Olaf Hering
e3e3d3e14d - pkg-diff: fix diff returning 0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=253
2018-07-06 14:02:40 +00:00
Olaf Hering
5d84d5ea8c - Match also ELF pie executable (bsc#1097339)
- Remove trailing space from two match patterns

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=252
2018-07-04 05:59:33 +00:00
Olaf Hering
8e554ff73e typo in previous change
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=251
2018-06-26 16:38:45 +00:00
Olaf Hering
10c76e1eaa - Recognize "setuid ELF nn-bit xSB shared object" ELF binaries
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=250
2018-06-26 06:48:10 +00:00
Olaf Hering
df37dcbff0 correct arguments for hexdump
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=249
2018-05-29 19:57:21 +00:00
Olaf Hering
159d089c59 - Avoid large temporary files from hexdump output and avoid
diff(1) runing OOM by using a fifo (issue#24)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=248
2018-05-28 13:38:08 +00:00