Commit Graph

7 Commits

Author SHA1 Message Date
Uilian Ries
7b1f1a25c8 (#15988) [linter] Do not accept version attribute on regular recipes
* linter: do not accept version attribute

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Fix error number

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* allow system version

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Add better doc

Signed-off-by: Uilian Ries <uilianries@gmail.com>

---------

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2023-04-02 05:19:26 +02:00
Uilian Ries
6e151164ce (#16199) Update documentation URLs to use Conan v1 dedicated address
* update conan V1 docs url

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* revert non docs

Signed-off-by: Uilian Ries <uilianries@gmail.com>

---------

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2023-03-23 19:04:53 +01:00
github-actions[bot]
d7b0e41b35 (#13746) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-10-25 19:06:44 +02:00
Chris Mc
70d9c6b69e (#13274) linters: Add annotations for YAML lint + add schema verification for config.yml and conandata.yml
* first attempt at a yaml linter wit github actions output

* This is less strict but has more information

* fixup message

* run config linter in Action

* better ux feedback

* try to use newlines

https://github.com/actions/toolkit/issues/193#issuecomment-605394935

* clean up

* fixup file name

* trying custom class for quoted str

* underlying yaml parser does not keep quotes

* trying to catch ints as problems

* remove test code

* and to "linter testing"

* install deps

* run new linter unconditionally

* revert testing changes

* new script for conandata (this one is much harder to spec)

* debugging

* lets see all the errors

* yamale -s ../linter/config_yaml_schema.yml aaf/config.yml

from linters folder as a test

* adjust script to match meeting discussion

* make sure the docs and linters match

* fix link

* Update conandata.yml

* exit 1 is not needed with annotations

* add annotation matchers for yaml since those do do much

* fix search for type

* fix whitespace

* tryout a yamllint file with a better looking matcher

* copy syntax from readme

* test if it's running in the wrong dir 🤔

* try with debug output

* bump since i dont have permissions

* bump - dont glob star

* bump

* less star globs

* also add action to conandata way

* bump

* drop action for cli + matcher

* more docs around linters

* fix file and name

* cleanup
2022-10-25 14:25:05 +02:00
github-actions[bot]
ae6f8ceb95 (#13337) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-10-07 09:33:21 +02:00
Chris Mc
318053389c (#13102) docs: Document working locally + Conan 2.0 commands
* docs: Document working locally + Conan 2.0 commands

I also snuck in some format and link fixes

* Apply suggestions from code review

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* Update docs/README.md

* Update docs/developing_recipes_locally.md

* Apply suggestions from code review

Co-authored-by: Jordan Williams <jordan@jwillikers.com>

* Update CONTRIBUTING.md

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* merge linters into dev locally

* links and touch ups

* fix links

* Apply suggestions from code review

Co-authored-by: Jordan Williams <jordan@jwillikers.com>

Co-authored-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Jordan Williams <jordan@jwillikers.com>
2022-10-06 21:06:22 +02:00
Uilian Ries
95dfe78bbc (#12946) [docs] Add a brief explanation about linters
* add linters files

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* explain all linters

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* explain all linters

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* update titles

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* avoid duplication

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Update docs/linters.md

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

* ConanFile import from conan is mandatory

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
2022-09-30 23:44:35 +02:00