Commit Graph

19 Commits

Author SHA1 Message Date
Doug Davis 97caeace30 remove trailing spaces
Signed-off-by: Doug Davis <duglin@gmail.com>
2025-08-20 18:42:33 +00:00
Doug Davis fdab0b5c29 lowercase all attributes
Signed-off-by: Doug Davis <duglin@gmail.com>
2025-02-12 17:56:05 +00:00
Axel Nennker 1f00ea507a
fix typo
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
2024-05-21 09:26:33 +02:00
Doug Davis 900900ccfd Typo: filter->filters
Signed-off-by: Doug Davis <dug@microsoft.com>
2024-03-20 19:40:07 +00:00
Calum Murray 35eaaae5e9
Clarify that only boolean TRUE values pass filter
Signed-off-by: Calum Murray <cmurray@redhat.com>
2023-10-23 10:22:17 -04:00
Klaus Deißner 4580f01bcd
Cesql optional (#1228)
* Make the implementation of CESQL OPTIONAL.

Signed-off-by: Klaus Deißner <klaus.deissner@sap.com>

* Update formatting

Signed-off-by: Klaus Deißner <klaus.deissner@sap.com>

* Address review comments

Signed-off-by: Klaus Deißner <klaus.deissner@sap.com>

---------

Signed-off-by: Klaus Deißner <klaus.deissner@sap.com>
2023-09-28 15:03:58 -04:00
Doug Davis ec8a0e48f3 Remove old Discovery and SchemaRegistry specs
Moves some old files into registry/todos as a reminder to update them

Signed-off-by: Doug Davis <dug@microsoft.com>
2023-02-23 15:14:09 +00:00
Aaron Ai 89f61cfcbf Fix typo
Signed-off-by: Aaron Ai <yangkun.ayk@gmail.com>
2022-12-12 15:33:58 +08:00
Sasha Tkachev bc3ff47787
fix: make titles consistent (#1099)
* feat: existing path

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: skip translation

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: title issue detection

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: add fake invalid spec

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: method name

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: add type information

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: translation issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: translation titles

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing hebrew titles

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: wrong zh titles

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: excplude non-english titles from title verification

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: subscriptions readme title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: schemaregistry readme title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: pagination readme title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: cloudevents readme title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: cesql readme title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: discovery readme title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: fix broken samples

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: definition duplication

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: change schema registry title

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: zh translation

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove cncf prefix

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
2022-10-14 13:47:14 -04:00
Sasha Tkachev 2b9873a3cf
perf: improve verification scripts speed x60 (#1086)
* ci: add python to workflow

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add verify languages to makefile

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: verify languages script

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing he aws-sns file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing he loglevel  file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing zh loglevel file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing zh aws-sns file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing zh languages file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* ci: add python to workflow

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: verify docs

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: query issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: cesql rfc 2119 issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: ignore marshall

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: optionally edge case

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: quoted required

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: improve pattern readability

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove banned word

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove banned word

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: capitalize optional

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: rename required to necessary

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove bad imports

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: change veirification to use docs script

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: newline bug

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: issue detection

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* ci: add python to workflow

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add python requirements

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* ci: install requirments

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add bs4 to requirements

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add tenacity to requirments

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add aiohttp to requirments

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: basic verify links script

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: read html text

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs:  markdown conversion

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* perf: use gather on all files

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add tqdm to requirements

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: add progress bar

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs: explain why we use asyncio

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* config: decrease max attempts to 2

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: result generation

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: better issue for failed access

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: rate limiting issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: use pattern matching

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* style: formatting

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: simplify flow

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs: remove todo

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing   dots to mail uri

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: use pattern matching in uri

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: use new event loop

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add pymdown-extensions to requirements

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: verify local file issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: use correct uri segment

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: use bookmark instead of relative link

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: add debug option

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add 500 to the ok status codes

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* ci: use python implementation instead of bash

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add repr for segment

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: verify no undefined bookmarks

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove redundancy

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: remove old verify links file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: simplify http tests

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: merge all scripts into a single script

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: skip type is different

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: move argsparser under main

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove code duplication

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove uneeded function

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: typo

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: move around consts for legability

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: move tests to seperate file

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add pyc to gitignore

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs: remove bad comment

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: better skip text pattern

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: skip text pattern

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: rename md bookmark pattern

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs: bookmark issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: bookmark pattern

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: remove code duplication

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add return statement

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: capitalization phrases

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: banned phrases pattern

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: rename function to convey correct intention

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: uppercase detection

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: split text issues into functions

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: merge lists

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: tag issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: rename text issues to plain text issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: flatten

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs: uri issues

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: skipping

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: remove query prefix

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: _render_markdown_to_html

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: add html text strong type

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* style: sort imports

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: headers are rendered with ids

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* docs: clearify pattern

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* style: remove unused import

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add pytest for deps

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: remove \y from test

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add verification testing to makefile

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: print success message

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: simplify make

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* ci: add test_tools step

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* ci: give names to steps

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: bad all target

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: add fake docs

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: settings propogration

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: ignore fake docs

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: add http links

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: add mail uri

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* Revert "feat: ignore fake docs"

This reverts commit 8637df3aa1.

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: configurable excluded paths

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add pytest-asyncio to requirements

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing dot

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* feat: add fake docs dir

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove quotes

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: add app test

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: windows paths formatting

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: typo

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* refactor: merge langauge verification into the single verification script

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: add fake translations

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: add fake issues to the expected results

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing zh cbor-format translation

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing he cbor-format translation

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: add missing asserts

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* style: formatting

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: change match to search

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: use pure posix path

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: add docker target

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* style: makefile formatting

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* fix: remove quotes

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* build: increase test verbosity

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* test: change github to google to avoid rate-limiting

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

* Revert "build: increase test verbosity"

This reverts commit e774bfa3c4.

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>

Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
2022-09-26 11:37:36 -04:00
delu 5ae8d30c5f fix: world spelling mistakes
Signed-off-by: delu <delu.xu@linkall.com>
2022-08-20 17:29:11 +08:00
Doug Davis ab0b385913 just typos
Signed-off-by: Doug Davis <dug@microsoft.com>
2022-07-15 13:38:48 +00:00
Jie fc99a2a36b
docs: update languages/zh-CN/README.md (#985)
* translate /README.md

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>

* add 'README.md' and 'RELEASE_NOTES.md' to 'languages' sub-dirs of each spec directory

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>

* update languages-spec

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>

* update README.md

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>
2022-04-01 10:57:04 -04:00
Jie dbd5df0a70
rebuild multi-language structure (#989)
* rebuild multi-language structure

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>

* clear wrong links

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>

* replace 'may' with 'MAY'

Signed-off-by: Jie Ding <jie.ding@linkall.cloud>
2022-03-25 16:31:01 -04:00
Doug Davis f80c3bd540 Add docs in prep for just one branch
Signed-off-by: Doug Davis <dug@microsoft.com>
2022-03-25 18:54:12 +00:00
Pierangelo Di Pilato a685097a18
[Subscription] Remove exactly one attribute restriction for exact, prefix and suffix filters (#957)
* Remove exactly one attribute restriction for exact, prefix and suffix

To improve the usage of the API in the common case, I'm removing
the restriction for `exact`, `prefix` and `suffix` filters of only
containing exactly one attribute.

When multiple attributes are specified, all attributes must match (
like in [1]), for example, these filters:

```yaml
filters:
  - suffix:
      type: "com.github.push"
  - suffix:
      subject: "https//github.com/cloudevents/spec"
```

can be written as:

```yaml
filters:
  - suffix:
      type: "com.github.push"
      subject: "https//github.com/cloudevents/spec"
```

[1]: https://github.com/cloudevents/spec/pull/803

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Update subscription open API

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-02-24 13:11:47 -05:00
Scott Nichols b104f2a65a
Fix subscriptions OpenAPI (#949)
* ran prettier

Signed-off-by: Scott Nichols <n3wscott@chainguard.dev>

* fix cloudevent subscription OpenAPI

Signed-off-by: Scott Nichols <n3wscott@chainguard.dev>
2022-02-13 17:38:18 -05:00
Doug Davis 0afe766be7 Sync with v1.0.2
Signed-off-by: Doug Davis <dug@us.ibm.com>
2022-02-06 00:42:29 +00:00
Doug Davis 6ca6d5add2 re-org dirs
Signed-off-by: Doug Davis <dug@us.ibm.com>
2021-11-04 17:54:21 +00:00