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

Add docs: Why not PDB files? #2387

Merged
merged 4 commits into from
Aug 12, 2020
Merged

Conversation

uilianries
Copy link
Member

I've added a better description for https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#kb-h017-pdb-files-not-allowed. Also, I included a small typo fix (thanks to the code editor).

Signed-off-by: Uilian Ries <[email protected]>
@uilianries uilianries requested review from SSE4, jgsogo and czoido August 3, 2020 14:48
@conan-center-bot
Copy link
Collaborator

Updating docs!

@uilianries uilianries requested a review from danimtb August 3, 2020 16:00
czoido
czoido previously approved these changes Aug 4, 2020
SSE4
SSE4 previously approved these changes Aug 4, 2020
@jgsogo
Copy link
Contributor

jgsogo commented Aug 10, 2020

@uilianries , please, fix the conflict. Thanks!

@uilianries
Copy link
Member Author

@jgsogo Done!

@conan-center-bot
Copy link
Collaborator

Updating docs!

docs/faqs.md Outdated
@@ -63,7 +63,7 @@ Unless they are a general and extended utility in recipes (in which case, we sho

## What version should packages use for libraries without official releases?

The notation shown below is used for publishing packages where the original library does not make official releases. Thus, we use a format which includes the datestamp corresponding to the date of a commit: `cci.<YEAR MONTH DAY>`. In order to create reproducible builds, we also "commit-lock" to the latest commit on that day. Otherwise, users would get inconsistent results over time when rebuilding the package. An example of this is the [RapidJSON](https://github.com/Tencent/rapidjson) library, where its package reference is `rapidjson/cci.20200410` and its sources are locked the latest commit on that date in [config.yml](https://github.com/conan-io/conan-center-index/blob/master/recipes/rapidjson/config.yml#L4). The prefix `cci.` is mandatory to distinguish as a virtual version provided by CCI. If you are interested to know about the origin, please, read [here](https://github.com/conan-io/conan-center-index/pull/1464).
The notation shown below is used for publishing packages where the original library does not make official releases. Thus, we use a datestamp corresponding to the date of a commit. In order to create reproducible builds, we also "commit-lock" to the latest commit on that day. Otherwise, users would get inconsistent results over time when rebuilding the package. An example of this is the [NanoRange](https://github.com/tcbrindle/NanoRange) library, where its package reference is `nanorange/20191001` and its sources are locked the latest commit on that date: https://github.com/conan-io/conan-center-index/blob/master/recipes/nanorange/all/conandata.yml#L2L3
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this PR shouldn't modify this FAQ.

Copy link
Member Author

Choose a reason for hiding this comment

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

What?! Probably I mixed the branches! I gonna fix it, thanks

@uilianries uilianries dismissed stale reviews from SSE4 and czoido via 9147540 August 11, 2020 14:59
@conan-center-bot
Copy link
Collaborator

Updating docs!

@uilianries
Copy link
Member Author

@jgsogo Done!


#### Why is there no option for PDB, as there is for fPIC?

Adding one more common option, it seems the most simple and obvious solution, but it contains a side effect already seen with fPIC. It is necessary to manage the entire recipe, it has become a Boilerplate. So, adding PDB would be one more point to be reviewed for each recipe. In addition, in the future new options could arise, such as sanity or benchmark, further inflating the recipes. For this reason, a new option will not be added. However, the inclusion of the PDB files is discussed in issue #1982 and there are some ideas for making this possible through a new feature. If you want to comment on the subject, please visit issue.
Copy link
Member

Choose a reason for hiding this comment

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

Issue #1982 here is formatted automatically by Github markdown? I am not sure...

Copy link
Contributor

Choose a reason for hiding this comment

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

Neither do I, but my plan was to try it and submit a fix if needed.

@danimtb danimtb merged commit c424cca into conan-io:master Aug 12, 2020
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.

6 participants