packit / packit.dev

packit.dev website content
https://packit.dev/
MIT License
9 stars 50 forks source link

docs: drop misleading `...` - pull from upstream examples #766

Closed jamacku closed 10 months ago

jamacku commented 11 months ago

The ... is yaml syntax for indication of the end of the document.

https://yaml.org/spec/1.1/#document%20boundary%20marker/

The examples will result in a yaml parse error.

$ packit pull-from-upstream
2023-10-30 09:39:53.797 package_config.py ERROR  Cannot load package config /home/jamacku/Packages/fedora/forks/nghttp2/.packit.yml.
2023-10-30 09:39:53.797 package_config.py ERROR    parser says
  in "<unicode string>", line 5, column 1:
    jobs:
    ^
  expected '<document start>', but found '<block mapping start>'
2023-10-30 09:39:53.797 utils.py          ERROR  Please correct data and retry.
softwarefactory-project-zuul[bot] commented 11 months ago

Build succeeded. https://softwarefactory-project.io/zuul/t/packit-service/buildset/09649ebde5964f6bb774a27afa86adf2

:heavy_check_mark: pre-commit SUCCESS in 1m 07s

softwarefactory-project-zuul[bot] commented 10 months ago

Build succeeded. https://softwarefactory-project.io/zuul/t/packit-service/buildset/e674e6d00da8486aa40fec549801b673

:heavy_check_mark: pre-commit SUCCESS in 1m 11s

lbarcziova commented 10 months ago

regate

softwarefactory-project-zuul[bot] commented 10 months ago

Build succeeded (gate pipeline). https://softwarefactory-project.io/zuul/t/packit-service/buildset/986fcbad0c654509b2ae04e34d8705d6

:heavy_check_mark: pre-commit SUCCESS in 1m 08s