Commit Graph

105 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Frank Schreiner
260ca03355 - Update to version 0.17:
* make path for helpers variable
  * fix for #bsc985980

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=114
2018-06-14 15:26:34 +00:00
Ruediger Oertel
2dc2ef3f6f - Update to version 0.16:
* 60-spec-filelist: check for LICENSE or COPYING files
    marked as %doc
  * 70-baselibs: call spec_query with and without the
    --no-conditionals switch

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=112
2018-05-15 13:34:23 +00:00
Ruediger Oertel
6272842e50 - Update to version 0.15:
* 70-baselibs: call spec_query with and without the --no-conditionals switch

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=111
2018-03-14 16:32:55 +00:00
Ruediger Oertel
5409646f7d use 0.15
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=110
2018-03-14 16:31:55 +00:00
Ruediger Oertel
1885496e4e - Update to version 0.14:
* 70-baselibs: call spec_query with --no-conditionals so that
    checking package tevent sees the python3-tevent package for
    the baselibs checker
  * Build-depend on obs-build to fix Debian build

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=109
2018-03-09 13:27:45 +00:00
18407c8ef9 Accepting request 577362 from home:bluca:branches:openSUSE:Tools
Fix Debian and Ubuntu builds via build-depend on obs-build.

PR:

https://github.com/openSUSE/obs-service-source_validator/pull/70

OBS-URL: https://build.opensuse.org/request/show/577362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=108
2018-02-20 11:45:54 +00:00
2082c4f669 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=106
2018-02-06 10:33:55 +00:00
Frank Schreiner
bd685d595e removed check session from spec
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=104
2018-01-18 21:28:26 +00:00
Frank Schreiner
90d84e4c77 - Update to version 0.12:
* fix for continous lines in macros

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=103
2018-01-18 21:15:31 +00:00
Frank Schreiner
f8fa5bfab1 - Update to version 0.11:
* fix for macro continuation
  * activating initial test cases
  * .gitignore for vim swap files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=102
2018-01-16 21:01:12 +00:00
025fb39217 fix email adress
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=101
2018-01-15 15:52:28 +00:00
Frank Schreiner
198b746668 - Update to version 0.10:
* Do not call helpers/spec_query with --unique-sources in 70-baselibs
  * Keep if statements in line continuation contexts
  * Fix --keep-name-conditionals code in helpers/spec_query

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=100
2018-01-11 10:04:34 +00:00
Frank Schreiner
0fa405f4b2 * fixes boo#1072375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=98
2017-12-13 11:29:17 +00:00
Frank Schreiner
02cefef7fe version update to 0.9
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=97
2017-12-11 16:15:59 +00:00
8e60fa1d8d update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=95
2017-11-29 12:57:08 +00:00
Lars Vogdt
17a48c722b Accepting request 532651 from home:jayvdb:branches:openSUSE:Tools
- Update obs-service-source_validator.spec
  * Add explicit dependency on obs-build so that osc
    does not fail on distributions other than openSUSE.

OBS-URL: https://build.opensuse.org/request/show/532651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=93
2017-10-29 16:47:34 +00:00
Ruediger Oertel
ee7ee45112 - Update to version 0.6+git20170922.230bbc4:
* deal with nil, flavor defines in output_versions
  * defining flavor in last change was not needed, remove
  * 45-stale-changes: use spec_query instead of output_versions
    using the specfile parser from the build package
    (boo#1059858)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=91
2017-09-22 11:23:15 +00:00
21bf124769 Accepting request 519610 from home:scarabeus_iv:branches:openSUSE:Tools
- Update to version 0.6+git20170830.0775ae8:
  * Fix typo in egrep _service
  * Refactor helpers/spec_sources into helpers/spec_query
  * Use helpers/spec_query in 20-files-present-and-referenced
  * Do not use rpm --specfile to query the subpackage names
  * Remove unused RPMBUILD variable
  * Do not use a grouping
  * Silence another build warning wrt issue #54

OBS-URL: https://build.opensuse.org/request/show/519610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=89
2017-09-12 13:15:20 +00:00
c3588b8334 tar ball got not updated
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=87
2017-08-11 12:12:12 +00:00
084392288b fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=86
2017-08-11 11:11:53 +00:00
984206d19c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=85 2017-08-10 08:04:28 +00:00
022113324c - Update to version 0.6+git20170809.6818366:
* Ignore not referenced appimage.yml file
  * Don't use rpmbuild to extract sources, patches etc. from a spec

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=84
2017-08-10 07:53:01 +00:00
Lars Vogdt
1593be722f Accepting request 511375 from home:scarabeus_iv:branches:openSUSE:Tools
- Update to version 0.6+git20170719.d4384e5:
  * Don't complain about Debian manpages files missing in *.spec
  * Add README.md file
  * Fix service run mode check for localonly
  * Add 80-multibuild_xor_multispec: only multibuild OR multispec is supported
  * extract GPG_OPTIONS variable for multiple runs
  * For signature verification, use trust model "always"

- Update to version 0.6+git20170715.607b861:
  * - support obspcio also in osc case
  * Remove provides and obsoletes from the spec

OBS-URL: https://build.opensuse.org/request/show/511375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator?expand=0&rev=82
2017-07-27 19:15:00 +00:00