1
0
Commit Graph

166 Commits

Author SHA256 Message Date
Dominique Leuenberger
980807a2e7 Accepting request 1099210 from openSUSE:Tools
- Update to version 0.32:
  * Add autonumbering patch/source lines
  * Fix handling of packages with neither *.spec nor _multibuild

OBS-URL: https://build.opensuse.org/request/show/1099210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=68
2023-07-18 20:08:28 +00:00
e3dc96e947 - Update to version 0.32:
* Add autonumbering patch/source lines
  * Fix handling of packages with neither *.spec nor _multibuild

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=160
2023-07-18 08:59:57 +00:00
Dominique Leuenberger
50587de314 Accepting request 1096177 from openSUSE:Tools
- Update to version 0.31:
  * Also ignore .gitattributes file
  * Exempt obs services from the cargo audit requirement
  * helpers/spec_query: Handle %include
  * Unify _multibuild handling and do it like OBS

OBS-URL: https://build.opensuse.org/request/show/1096177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=67
2023-06-30 18:00:09 +00:00
52ae5527d5 - Update to version 0.31:
* Also ignore .gitattributes file
  * Exempt obs services from the cargo audit requirement
  * helpers/spec_query: Handle %include
  * Unify _multibuild handling and do it like OBS

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=158
2023-06-30 16:52:39 +00:00
Dominique Leuenberger
e5e07d3879 Accepting request 1085032 from openSUSE:Tools
- Update to version 0.30:
  * skip debian.lintian-overrides as well

OBS-URL: https://build.opensuse.org/request/show/1085032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=66
2023-05-05 13:59:18 +00:00
fba319e810 - Update to version 0.30:
* skip debian.lintian-overrides as well

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=156
2023-05-05 10:33:48 +00:00
Dominique Leuenberger
2e14666cd8 Accepting request 1084212 from openSUSE:Tools
- Update to version 0.29:
  * Do not check for all _multibuild flavors if spec does not
    conitionalize on BUILD_FLAVOR
  * Add GitHub Actions

OBS-URL: https://build.opensuse.org/request/show/1084212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=65
2023-05-03 10:57:43 +00:00
96c058968f - Update to version 0.29:
* Do not check for all _multibuild flavors if spec does not
    conitionalize on BUILD_FLAVOR
  * Add GitHub Actions

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=154
2023-05-03 08:33:39 +00:00
Dominique Leuenberger
88a1763079 Accepting request 1034112 from openSUSE:Tools
- Update to version 0.28:
  * Add ignore list

OBS-URL: https://build.opensuse.org/request/show/1034112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=64
2022-11-07 12:51:53 +00:00
0dc906998f - Update to version 0.28:
* Add ignore list

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=152
2022-11-07 09:20:43 +00:00
Dominique Leuenberger
cc8858b521 Accepting request 1031992 from openSUSE:Tools
- Update to version 0.28:
  * also avoid expansion on grep
  * add quotes around BASE to avoid shell expansion

OBS-URL: https://build.opensuse.org/request/show/1031992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=63
2022-10-28 17:32:07 +00:00
6a54936c0c - Update to version 0.28:
* also avoid expansion on grep
  * add quotes around BASE to avoid shell expansion

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=150
2022-10-28 14:53:56 +00:00
Dominique Leuenberger
cbc9ab0a7b Accepting request 1031060 from openSUSE:Tools
- Update to version 0.27:
  * Fix detection of rust-packaging

OBS-URL: https://build.opensuse.org/request/show/1031060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=62
2022-10-25 09:20:32 +00:00
c34f9f35c0 - Update to version 0.27:
* Fix detection of rust-packaging

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=148
2022-10-25 08:00:26 +00:00
Dominique Leuenberger
1e0077d07b Accepting request 1030365 from openSUSE:Tools
- Update to version 0.27:
  * use current directory when not given to avoid crashes

- Update to version 0.27:
  * Fix python3 line
  * Apply feedback
  * Add new validator to check rust audit is enforced

OBS-URL: https://build.opensuse.org/request/show/1030365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=61
2022-10-21 14:20:12 +00:00
Ruediger Oertel
4d082ee9f9 - Update to version 0.27:
* use current directory when not given to avoid crashes

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=146
2022-10-21 11:23:12 +00:00
Ruediger Oertel
6284cf0cf6 - Update to version 0.27:
* Fix python3 line
  * Apply feedback
  * Add new validator to check rust audit is enforced

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=145
2022-10-21 10:15:10 +00:00
Fabian Vogt
7ba57f6b1a Accepting request 1008417 from openSUSE:Tools
- Update to version 0.27:
  * Do not use temporary file for GPG validation

OBS-URL: https://build.opensuse.org/request/show/1008417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=60
2022-10-10 16:43:17 +00:00
7975ee7a02 - Update to version 0.27:
* Do not use temporary file for GPG validation

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=143
2022-10-06 14:27:15 +00:00
Dominique Leuenberger
457cccfb31 Accepting request 1005059 from openSUSE:Tools
- Update to version 0.27:
  * Convert all egrep/fgrep calls to grep -E/-F, respectively.
- use zstd for tarball compression
- spec file cleanups

OBS-URL: https://build.opensuse.org/request/show/1005059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=59
2022-09-21 12:41:51 +00:00
e2cf6018b6 - Update to version 0.27:
* Convert all egrep/fgrep calls to grep -E/-F, respectively.
- use zstd for tarball compression
- spec file cleanups

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=141
2022-09-20 19:35:56 +00:00
Dominique Leuenberger
23013d183c Accepting request 994519 from openSUSE:Tools
- Update to version 0.26:
  * Skip non-existing files from the invalid-patches check
  * Treat to-be-deleted patches as nonexisting for the source-tracked check
  * Update README with a clearer mission/scope
  * cleanup: make variable name a valid english word

OBS-URL: https://build.opensuse.org/request/show/994519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=58
2022-08-12 15:46:19 +00:00
Ruediger Oertel
e8742bdc98 - Update to version 0.26:
* Skip non-existing files from the invalid-patches check
  * Treat to-be-deleted patches as nonexisting for the source-tracked check
  * Update README with a clearer mission/scope
  * cleanup: make variable name a valid english word

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=139
2022-08-11 11:48:50 +00:00
Dominique Leuenberger
681d26d2be Accepting request 993314 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/993314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=57
2022-08-05 22:06:31 +00:00
Dominique Leuenberger
df59d89753 Accepting request 992725 from openSUSE:Tools
- Update to version 0.25 (bsc#1202132)
  * Reject empty or ill-formatted patches

OBS-URL: https://build.opensuse.org/request/show/992725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=56
2022-08-05 17:50:18 +00:00
Stephan Kulow
fbc4c92f2f Accepting request 992779 from home:dirkmueller:Factory
- require patch for patch-format checking

OBS-URL: https://build.opensuse.org/request/show/992779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=137
2022-08-05 13:05:07 +00:00
Stephan Kulow
3be7869308 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=136 2022-08-04 09:09:05 +00:00
Stephan Kulow
d8f7d0c97f Accepting request 992716 from home:dirkmueller:Factory
- Update to version 0.25 (bsc#1202132)
  * no change, just ref version number

OBS-URL: https://build.opensuse.org/request/show/992716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=135
2022-08-04 09:08:44 +00:00
Ruediger Oertel
1dc03f558b - Update to version 0.24:
* Reject empty or ill-formatted patches

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=134
2022-08-03 18:34:51 +00:00
Dominique Leuenberger
e443b71da9 Accepting request 987566 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/987566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=55
2022-07-09 14:58:58 +00:00
Frank Schreiner
a42a97907e Accepting request 987496 from home:dirkmueller:Factory
- Update to version 0.24:
  * Use ERROR for prefixing errors
  * Split out GPG validation into own check and improve it

OBS-URL: https://build.opensuse.org/request/show/987496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=132
2022-07-07 17:55:21 +00:00
Dominique Leuenberger
c743ab5c30 Accepting request 964648 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/964648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=54
2022-03-28 14:58:32 +00:00
4fe2ac02bf Accepting request 963895 from home:dirkmueller:Factory
- Update to version 0.23:
  * Allow mode=manual services
  * spec_query: add elif support
  * 45-stale-changes: Also read <package/> in _multibuild

OBS-URL: https://build.opensuse.org/request/show/963895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=130
2022-03-24 12:17:04 +00:00
Dominique Leuenberger
6e5316fc75 Accepting request 951352 from openSUSE:Tools
- Update to version 0.22:
  * display diff if previous file is present in 20-files-present-and-referenced
  * 45-stale-changes: Use xmllint for listing multibuild flavors
  * 45-stale-changes: Don't break if there is no *.spec
  * 45-stale-changes allow for multibuild specfiles with empty default flavour
  * No need to compress buildtime generated tarballs
  * Fix running the checks on a directory with whitespace in its path
  * spec_query: print line numbers on %if/%else/%endif error
  * 20-files-present-and-references: do not complain about debian.*.triggers

OBS-URL: https://build.opensuse.org/request/show/951352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=53
2022-02-06 22:53:33 +00:00
Ruediger Oertel
98149ed729 - Update to version 0.22:
* display diff if previous file is present in 20-files-present-and-referenced
  * 45-stale-changes: Use xmllint for listing multibuild flavors
  * 45-stale-changes: Don't break if there is no *.spec
  * 45-stale-changes allow for multibuild specfiles with empty default flavour
  * No need to compress buildtime generated tarballs
  * Fix running the checks on a directory with whitespace in its path
  * spec_query: print line numbers on %if/%else/%endif error
  * 20-files-present-and-references: do not complain about debian.*.triggers

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=129
2022-02-03 16:24:29 +00:00
Dominique Leuenberger
c68a544837 Accepting request 945827 from openSUSE:Tools
- Update to version 0.21:
  * 45-stale-changes allow for multibuild specfiles with empty default flavour
  * Fix running the checks on a directory with whitespace in its path
  * spec_query: print line numbers on %if/%else/%endif error
  * 20-files-present-and-references: do not complain about debian.*.triggers

OBS-URL: https://build.opensuse.org/request/show/945827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=52
2022-01-14 22:12:44 +00:00
Ruediger Oertel
45f9908c17 change git protocol to https
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=128
2022-01-12 12:40:44 +00:00
Ruediger Oertel
01f9540638 Accepting request 941670 from home:dimstar:Factory
- Update to version 0.21:
  * 45-stale-changes allow for multibuild specfiles with empty default flavour
  * Fix running the checks on a directory with whitespace in its path
  * spec_query: print line numbers on %if/%else/%endif error
  * 20-files-present-and-references: do not complain about debian.*.triggers

OBS-URL: https://build.opensuse.org/request/show/941670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=127
2022-01-12 12:40:01 +00:00
Dominique Leuenberger
3b6c9be340 Accepting request 878046 from openSUSE:Tools
- Update to version 0.21:
  * No need to compress buildtime generated tarballs

OBS-URL: https://build.opensuse.org/request/show/878046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=51
2021-03-12 12:30:07 +00:00
0b07b7a1ca update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=125
2021-03-09 16:55:29 +00:00
Dominique Leuenberger
0c8a931225 Accepting request 854915 from openSUSE:Tools
- Update to version 0.20:
  * One .changes file per package is enough

OBS-URL: https://build.opensuse.org/request/show/854915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=50
2020-12-21 11:34:42 +00:00
56cea06994 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=123
2020-12-11 10:30:32 +00:00
Dominique Leuenberger
3220949f5a Accepting request 754613 from openSUSE:Tools
- Update to version 0.19:
  * allow _multibuild to handle multiple specs
  * The --buildflavor option was missing from the help output
  * 70-baselibs: do not run subshells
  * allow -MACRO ending for changes file on multibuild setups
  * skip source files checks for product definition directories
  * Add missing dependency to the debian/control file

OBS-URL: https://build.opensuse.org/request/show/754613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=49
2019-12-10 21:41:52 +00:00
2d9dc65cef update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=121
2019-12-06 08:30:05 +00:00
Dominique Leuenberger
f41525c916 Accepting request 618982 from openSUSE:Tools
- Update to version 0.18:
  * /usr/include/X11 is still a valid path.

OBS-URL: https://build.opensuse.org/request/show/618982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=48
2018-06-27 08:18:19 +00:00
Ruediger Oertel
c3ec58012a create license dir in buildroot
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=119
2018-06-26 08:30:25 +00:00
Ruediger Oertel
fa1234824e add license dir for older distros
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=118
2018-06-26 08:23:40 +00:00
Ruediger Oertel
8dc5b25b42 mark COPYING as license
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=117
2018-06-25 14:55:06 +00:00
Ruediger Oertel
5fe38bb8a6 - Update to version 0.18:
* /usr/include/X11 is still a valid path.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=116
2018-06-25 14:54:26 +00:00
Yuchen Lin
0e6b46b32c Accepting request 617027 from openSUSE:Tools
- Update to version 0.17:
  * make path for helpers variable
  * fix for #bsc985980

OBS-URL: https://build.opensuse.org/request/show/617027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-source_validator?expand=0&rev=47
2018-06-22 11:12:23 +00:00