-
Notifications
You must be signed in to change notification settings - Fork 979
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
[feature][updated] Add support working with GitHub #7289
Comments
Hi @redradist I am sorry, but this is not possible. Not only Conan communicates with its own api to services, but there are many core things in Conan that cannot be implemented: the separation but complete connection between package recipes and package binaries, representation of different users and channels, resolution of version ranges, resolution of package revisions, searching for recipes, searching for binaries... |
@memsharded Only issue I see is the searching ... But it could be fixed by adding to |
@memsharded This feature could be implemented in much simpler way.
Then user type the command to install all dependencies in conan install <path_to_conanfile>/conanfile.txt Then
As for me second step is very feasible because @madebr @prince-chrismc Could you take a look at this last my proposal ? |
This seems like a nice feature. |
Yeah and also it will eliminate hard time adding your own recipe to |
@madebr One question out of this scope of the current issue ... |
@memsharded @madebr @prince-chrismc |
Who says you need to contribute your recipe? Obviously if it's an open source project why not contribute back to the world but Conan absolutely works with private repositories. This is great idea but given my past job roles and experiences it can lead to some huge security gaps which I'd rather just no have to deal with! Let's just point out SolarWinds and things like https://snyk.io/blog/npm-security-malicious-code-in-oss-npm-packages/ which happens way too often. I love Golang system since it takes ZERO effort... just make sure the import my-private-git.local/core/logging I am not well versed in Rust and it's cargo/crates... but looking at the docs its very similar to npm https://doc.rust-lang.org/cargo/reference/publishing.html... basic project structure gets upload and ran locally 🤷 Next up none of the aforementioned services offer up binaries! Which is why Conan is amazing... I do not need to be setup to compile openssl I can just download and code... |
It could be the security issue, but the same could be with conan, not all analyze each aspect of libary and it could lead to have conan package in conan-center that are malicious ... |
@madebr @prince-chrismc @memsharded I've started working on prototype #9718 |
@memsharded Even thought you do not like this solution, I've created it as separate package: @madebr @prince-chrismc I hope you at least will appreciate it |
@memsharded @madebr @prince-chrismc After release Conan 2.0, I think it is time to go back for discussion adding feature from Lets discuss it again !! |
It would be nice to be able build from GitHub release page (if sources provided) or get binaries if it is available and properly structured with meta information (compiler, architecture) ... because GitHub release page is already like
Bintray
and it could be used directly without need of other servicesUpdate
Also one possibility is to just compile from sources if repository has
conanfile.py
recipe.Syntax could be the following:
The text was updated successfully, but these errors were encountered: