Skip to content
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

Conversation

prince-chrismc
Copy link
Contributor

Docs!

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!

This is towards #13673 where I outlines the goals, the big take away is everything about writing recipes should be in this one folder. no more scattered docs hiding in the faqs for examples.

The main focus of this PR is taking the existing files and moving them. This will make the next set of changes "easier" to review". There are some changes:

  • wording for clarity
  • 2.0 docs that were easy to sneak in

@@ -36,14 +36,16 @@ You can follow the three steps (:one: :two: :three:) described below! :tada:

:one: The first step to add packages to ConanCenter is requesting access. To enroll in ConanCenter repository, please write a comment
requesting access in this GitHub [issue](https://github.com/conan-io/conan-center-index/issues/4). Feel free to introduce yourself and
your motivation to join ConanCenter.
your motivation to join ConanCenter community.
Copy link
Contributor Author

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

@@ -1,13 +1,13 @@
# 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](https://docs.conan.io/en/latest/reference/config_files/conandata.yml.html) is a [YAML](https://yaml.org/)
Copy link
Contributor Author

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


```python
def package_id(self):
self.info.header_only()
self.info.clear()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.0

def _configure_cmake(self):
cmake = CMake(self)
cmake.definitions['BUILD_TESTING'] = not self.conf.get("tools.build:skip_test", default=true, check_type=bool)
def generate(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.0

uilianries
uilianries previously approved these changes Oct 26, 2022
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

SSE4
SSE4 previously approved these changes Nov 2, 2022
@prince-chrismc
Copy link
Contributor Author

More merge conflicts 🙃

@conan-center-bot conan-center-bot merged commit edacf97 into conan-io:master Nov 15, 2022
@prince-chrismc
Copy link
Contributor Author

prince-chrismc commented Nov 15, 2022

I dont know how I commented on the wrong PR 😖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants