Commit Graph

349 Commits

Author SHA1 Message Date
Conan Center Index Bot
80a05d39b9 (#14688) [doc] Update supported platforms and configurations (2022-12-11) 2022-12-12 17:46:43 +01:00
Chris Mc
7ed30a9de7 (#14527) templates: bunch of small cleanups 2022-12-12 16:46:16 +01:00
Daniel
0ed2919f93 (#14658) Update changelog 09-December-2022 2022-12-09 15:48:12 +01:00
Chris Mc
073a9a9909 (#14491) Docs: split up reviewing into new file sections
* cleanup patches from #14377

* subfolder dont exist with new generators

* styling is not enforced

* move attribute to new home + fix FAQ spelling

* delete out date CMake docs from older generators

* move test package docs

* delete empty file :)

* fix links

* wording + remove duplicated sections

* improve mention of future work

* [docs] Regenerate tables of contents

Co-authored-by: prince-chrismc <prince-chrismc@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: prince-chrismc <prince-chrismc@users.noreply.github.com>
2022-12-02 14:25:04 +01:00
Michael Keck
4a046c2695 (#14523) docs: update Intel URLs 2022-12-02 04:27:22 +01:00
Chris Mc
97b198659f (#14377) docs: update picking sources and unify with patching rules
* docs: combined patch policy with picking sources

* docs: zap duplicate and improve language + links

* docs: fix sentence structure

* docs: fix links

* [docs] Regenerate tables of contents

Co-authored-by: prince-chrismc <prince-chrismc@users.noreply.github.com>

* docs: change heading level

* docs: picking a better link

* Apply suggestions from code review

Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
Co-authored-by: SSE4 <tomskside@gmail.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: prince-chrismc <prince-chrismc@users.noreply.github.com>
Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
Co-authored-by: SSE4 <tomskside@gmail.com>
2022-11-25 18:07:28 +01:00
Uilian Ries
6ec76996d5 (#14385) [docs] New hook kb-h075: Override is not allowed
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-11-23 18:47:54 +01:00
github-actions[bot]
9d36ffc9d1 (#14348) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-11-22 12:27:52 +01:00
Chris Mc
e70b881101 (#14211) docs: split some policies by the implicated method
* docs: split some policies by the implicated method

* fix broken link

* fix broken link

* Apply suggestions from code review

Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
Co-authored-by: SSE4 <tomskside@gmail.com>

Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
Co-authored-by: SSE4 <tomskside@gmail.com>
2022-11-21 18:45:43 +01:00
Chris Mc
9969cbe97f (#13971) docs: when to use CMakeToolchain's variable choices
* docs: when to use  CMakeToolchain's variable choices

* add example plus fix wording

* Update v2_migration.md
2022-11-21 18:25:59 +01:00
Jan Grieb
8c8640c175 (#14213) updated link in PR template
* updated link in PR template

really, am I the first one to come across this?

* more broken docs links
2022-11-16 22:25:56 +01:00
github-actions[bot]
5b15fa9cc9 (#14197) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-11-16 05:45:27 +01:00
Chris Mc
edacf97622 (#13736) docs: Create a subfolder for "adding packages"
* docs: group files about "adding packages"

* fixing links

* fixing links

* rename file

* minor changes

* fix merge conflicts

* touch ups

* fix order

* fix links

* Clean up notes

* Update docs/error_knowledge_base.md

* Update docs/developing_recipes_locally.md

* merge conflicts

* Apply suggestions from code review
2022-11-15 08:06:29 +01:00
Daniel
02311b1ad7 (#14181) [docs] Update changelog 14-November-2022 2022-11-14 17:48:30 +01:00
github-actions[bot]
bed2562bfd (#14131) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-11-10 22:07:04 +01:00
Chris Mc
0a9a6f0e1b (#14096) docs: rename patch field "backport" to "bugfix" to avoid confusion
* docs: rename patch field "backport" to "bugfix" to avoid confusion

The description of this field does not match the normative convention of who it could be used to mean "this came from the project" and not the "this changes source code" which is the written definition here.

This should hopefully reduce the incorrect usage and encourage contributors to pick more descriptive options and fill in the `patch_source` that we offer

* linter: match new docs
2022-11-10 10:28:48 +01:00
Bobbey Reese
cf0071bbe5 (#14099) Import vs_layout from conan.tools.microsoft 2022-11-09 23:28:33 +01:00
Uilian Ries
ecb778c006 (#14091) [release] Add changelog november 7th, 2022
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-11-08 23:22:23 +01:00
github-actions[bot]
33e3495f79 (#14024) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-11-08 20:28:03 +01:00
Bobbey Reese
4fa777ca9d (#14031) [docs] remove src_folder from keyword args for vs_layout 2022-11-07 02:51:05 +01:00
Uilian Ries
5d6538691b (#14022) [docs] Remove sha256 for patches in conandata.yml
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-11-04 19:27:56 +01:00
Uilian Ries
5e5c1c5c72 (#13984) [templates] Keep same pattern for cmake and min_cppstd
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-11-03 23:45:49 +01:00
Chris Mc
e08d116d3a (#13848) docs: Use new Conan 1.53 features
* Use new Conan 1.53 features

since it's now available

* Apply suggestions from code review

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
2022-11-02 12:22:22 +01:00
github-actions[bot]
ce97a71b1f (#13925) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-11-01 20:05:56 +01:00
Uilian Ries
a35c5c3851 (#13814) [docs] Document inactive users process
* Document inactiver users

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

* Move next to acces request

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

* Faqs points to access request section

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

* Update docs/how_to_add_packages.md

Co-authored-by: Daniel <danimanzaneque@gmail.com>

* Update docs/how_to_add_packages.md

Co-authored-by: Daniel <danimanzaneque@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Daniel <danimanzaneque@gmail.com>
2022-11-01 18:06:03 +01:00
Uilian Ries
83f9f5cdd2 (#13832) [docs] Bump version label only accepts SEMVER and MAJOR.MINOR
* Document bump version format

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

* Move to the right section

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

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-10-29 11:44:32 +02:00
Chris Mc
50a3aed534 (#13754) docs: remove workaround for info object in validate
* docs: remove workaround for info object in validate

* make it 1.x valid until migration Q's are A'd
2022-10-29 00:01:10 +02:00
Uilian Ries
85c823c71e (#13810) [release] 27 October 2022
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-10-28 09:04:48 +02: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
Martin Delille
78bcc7eb26 (#13690) [doc] Fix tools_requires => tool_requires 2022-10-24 08:05:15 +02:00
Uilian Ries
b485b94ba4 (#13656) [cmake-template] Simplify test_v1_package CMakeLists.txt
* Simplify test_v1_package cmake

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

* Update docs/package_templates/cmake_package/all/test_v1_package/CMakeLists.txt

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-10-22 07:24:23 +02:00
SpaceIm
4924cfdf7f (#13644) header-only template: several improvements
- handle self.info in validate()
- transitive headers of direct dependencies
- remove build_requirements
2022-10-21 23:22:04 +02:00
SpaceIm
9ac069ddad (#13636) autotools template: several improvements
* improve autotools template

- handle windows as build machine
- handle `tools.gnu:pkg_config` config
- handle msvc
- fix install_name of shared libs on macOS
- call VirtualBuildEnv & VirtualRunEnv first in generate to avoid side effects

* typo
2022-10-21 17:14:42 +02:00
SpaceIm
26482f9137 (#13629) meson-template: several improvements
- remove ninja from tool_requires, it's the job of meson recipe to require ninja or not
- fix install_name of shared libs on macOS
- do not add pkgconf to tool_requires if 'tools.gnu:pkg_config' config is set
2022-10-21 10:25:16 +02:00
github-actions[bot]
9c774bfc60 (#13611) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-10-20 10:24:27 +02:00
toge
60a4b62b6a (#13610) docs: remove lines to make frameworkdirs and resdirs empty on header_only template 2022-10-19 22:04:19 +02:00
Uilian Ries
3d29d5da23 (#13603) [docs] Add Meson template
* Add Meson template

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

* Use only meson

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

* Use only one meson file

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

* rename test package

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

* install pkgconf

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

* Fix tool_requires

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

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-10-19 19:25:11 +02:00
Chris Mc
842c55bbf1 (#13490) docs: v2 migration guidence for conf_info
* docs: v2 migration guidence for `conf_info`

* Update docs/v2_migration.md

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

* example + notes about why to avoid it

Co-authored-by: Jordan Williams <jordan@jwillikers.com>
2022-10-19 19:05:35 +02:00
Conan Center Index Bot
71f7dfbf07 (#13549) [doc] Update supported platforms and configurations (2022-10-17)
Co-authored-by: CCI bot <javierg@jfrog.com>
2022-10-18 06:27:15 +02:00
Uilian Ries
e5fba9e6db (#13536) [docs] Add Changelog October 17, 2022
Signed-off-by: Uilian Ries <uilianries@gmail.com>

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-10-17 12:05:59 +02:00
Chris Mc
44dc411bbc (#13405) docs: add a copy of the CLA for new contributors
* docs: add a copy of the CLA for new contributors

2b34f09dcb/conan-center-index_CLA.md is the source that's being used by cla-assistant.io to fill the web page

* add some links are more references so it's less of a surprise

* call out req access and cla in contributing

* I need to get a better spell checking extension

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

Co-authored-by: Jordan Williams <jordan@jwillikers.com>
2022-10-14 11:04:20 +02:00
Chris Mc
41e6e9d79c (#13404) docs: note how to run docker images with sysreq mode
* docs: note how to run docker images with sysreq mode

I stole this from a comment by uilianries that I can not find again

* Update docs/developing_recipes_locally.md

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

Co-authored-by: Jordan Williams <jordan@jwillikers.com>
2022-10-13 19:24:53 +02:00
Chris Mc
07c8af0ec1 (#13385) templates: Update cmake templates usage of cache variables
the normal ones are enough in 99% of cases so those should be prefered
2022-10-10 14:44:15 +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
9cd0fcbc34 (#13331) [docs] Apply python black formatter over recipe templates
* Apply python black

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

* Update to 120 chars

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

* Update to 120 chars

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

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2022-10-06 18:24:15 +02:00
Uilian Ries
47bac9d8b8 (#13309) Add KB-H072 and KB-H073 to docs
* Add KB-H072 and KB-H073 to docs

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

* Update docs/error_knowledge_base.md

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

* Update docs/error_knowledge_base.md

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

* Update docs/error_knowledge_base.md

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

* Update docs/error_knowledge_base.md

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

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Jordan Williams <jordan@jwillikers.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
2022-10-06 18:06:26 +02:00
github-actions[bot]
9cd892b03e (#13282) [docs] Regenerate tables of contents
Co-authored-by: conan-center-bot <conan-center-bot@users.noreply.github.com>
2022-10-05 10:05:20 +02:00
Jordan Williams
1eb00b5039 (#13237) Update cmake template
* Remove std::endl

This is not best practice.
If output must be flushed, use `std::flush` instead.

* Use check_min_vs to check compiler version

This is compatible with both Visual Studio and msvc compiler settings.

* Combine commands to delete settings in a single try-catch block

This reduces boilerplate.

* Remove destination=self.source_folder

This argument is not necessary when using the get method in the source method.

* Remove if is_msvc check before check_min_vs

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

* Condense output to a single statement

* Revert "Remove destination=self.source_folder"

This reverts commit 942d84d129.

* Clean up grammar / typos

* Revert "Combine commands to delete settings in a single try-catch block"

This reverts commit 90f0f1922a.

* Fix

* Revert "Fix"

This reverts commit 6483354cf7.

* Revert "Clean up grammar / typos"

This reverts commit 3f472dbfe8.

* Revert "Condense output to a single statement"

This reverts commit 96d7b71965.

* Revert test_package.cpp

Co-authored-by: Uilian Ries <uilianries@gmail.com>
2022-10-04 18:24:09 +02:00