-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Create a subfolder for "adding packages" #13736
Merged
conan-center-bot
merged 19 commits into
conan-io:master
from
prince-chrismc:docs/breakout-adding-pkgs
Nov 15, 2022
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6be2241
docs: group files about "adding packages"
74c277a
fixing links
f71c08e
fixing links
88bf424
rename file
a300ac5
minor changes
1e3423d
fix merge conflicts
e0e9740
touch ups
f5ec8c3
fix order
3756169
Merge branch 'conan-io:master' into docs/breakout-adding-pkgs
prince-chrismc 8d1e74f
Merge branch 'conan-io:master' into docs/breakout-adding-pkgs
prince-chrismc b2d65d6
fix links
ec7b888
Clean up notes
4030449
Update docs/error_knowledge_base.md
616c299
Update docs/developing_recipes_locally.md
2b31636
Merge remote-tracking branch 'upstream/master' into docs/breakout-add…
769284f
merge conflicts
73b3298
Apply suggestions from code review
e7ee95d
Merge remote-tracking branch 'upstream/master' into docs/breakout-add…
d805f36
Merge remote-tracking branch 'upstream/master' into docs/breakout-add…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# conandata.yml | ||
|
||
[conandata.yml](https://docs.conan.io/en/latest/reference/config_files/conandata.yml.html) is a [YAML](https://yaml.org/) file to provide declarative data for the recipe (which is imperative). `conandata.yml` is a built-in Conan feature (available since 1.22.0) without a fixed structure, but ConanCenterIndex uses it for its own purposes and imposes some requirements. | ||
[conandata.yml](https://docs.conan.io/en/latest/reference/config_files/conandata.yml.html) is a [YAML](https://yaml.org/) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this section is for clarity |
||
file to provide declarative data for the recipe (which is imperative). This is a built-in Conan feature (available since | ||
1.22.0) without a fixed structure, but ConanCenter has a specific format to ensure quality of recipes. | ||
|
||
In the context of ConanCenterIndex, this file is mandatory and consists of two main sections that we will explain in the next sections with more detail: | ||
In the context of ConanCenterIndex, this file is _mandatory_ and consists of two main sections that will be explained in the | ||
next sections with more detail: | ||
|
||
* `sources`: Library sources origin with their verification checksums. Freeform structure specific to a recipe. | ||
* `patches`: Details about the different patches the library needs along with details for traceability. | ||
|
@@ -128,7 +131,10 @@ Also, you may use [sha256sum](https://linux.die.net/man/1/sha256sum) command ([w | |
|
||
Sometimes sources provided by project require patching for various reasons. The `conandata.yml` file is the right place to indicate this information as well. | ||
|
||
This section follows the same pattern as the `sources` above: one entry per version with a list of patches to apply. | ||
> **Note**: Under our mission to ensure quality, patches undergo extra scrutiny. **Make sure to review** our | ||
> [Patching Policy](policy_patching.md) to understand the requirements before adding any. | ||
|
||
This section follows the same pattern as the `sources` above - one entry per version with a list of patches to apply. | ||
|
||
```yaml | ||
patches: | ||
|
@@ -215,7 +221,7 @@ As sources with backports don't act exactly the same as the version officially r | |
|
||
#### patch_source | ||
|
||
_Optional_ | ||
_Recommended_ | ||
|
||
`patch_source` is the URL from where patch was taken from. https scheme is preferred, but other URLs (e.g. git/svn/hg) are also accepted if there is no alternative. Types of patch sources are: | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is for clarity