* 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>
* 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>
* 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>
* 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>