instance_id stringlengths 10 57 | file_changes listlengths 1 15 | repo stringlengths 7 53 | base_commit stringlengths 40 40 | problem_statement stringlengths 11 52.5k | patch stringlengths 251 7.06M |
|---|---|---|---|---|---|
conan-io__conan-2118 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conans/client/cmd/new.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/clie... | conan-io/conan | ad94635b286e94e2468d2add00ba9081ad4be895 | CMAKE_SKIP_INSTALL_RPATH is not set on macOS
Hi,
According to the docs `conan_basic_setup()` sets `CMAKE_SKIP_RPATH 1` on macOS.
However, `otool -L my_installed_lib.dylib` gives the following output:
>@rpath/libmy_installed_lib.dylib (compatibility version 0.0.0, current version 0.0.0)
Whereas the one in the ... | diff --git a/conans/client/cmd/new.py b/conans/client/cmd/new.py
index 20e3f01a7..9717ec679 100644
--- a/conans/client/cmd/new.py
+++ b/conans/client/cmd/new.py
@@ -138,7 +138,7 @@ class {package_name}TestConan(ConanFile):
def build(self):
cmake = CMake(self)
# Current dir is "test_package/build/... |
conan-io__conan-2432 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment._sysroot_flag",
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment._configure_flags",
"conans/... | conan-io/conan | 72c0bd22475858d115cb0f28893a4192362c7129 | CONAN_RUN_TEST: getenv available in recipes for a checker to run unit tests | diff --git a/conans/client/build/autotools_environment.py b/conans/client/build/autotools_environment.py
index 6671d87ad..2d99729ba 100644
--- a/conans/client/build/autotools_environment.py
+++ b/conans/client/build/autotools_environment.py
@@ -184,7 +184,10 @@ class AutoToolsBuildEnvironment(object):
@property
... |
conan-io__conan-2504 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build_requires.py:BuildRequires._install"
],
"edited_modules": [
"conans/client/build_requires.py:BuildRequires"
]
},
"file": "conans/client/build_require... | conan-io/conan | 869f10e260b727162b4b502f2af46525327ea063 | Conan server can't be setup in the subdirectory of a domain
I want to run Conan at, say, `https://example.com/conan` behind Apache.
Currently, there is no way to do this. If I set `host_name` to `example.com/conan` and `port` to `443`, the Conan client will try to upload to `https://example.com/conan:443/v1/...` | diff --git a/conans/client/build_requires.py b/conans/client/build_requires.py
index d7235d13c..a7716c9cb 100644
--- a/conans/client/build_requires.py
+++ b/conans/client/build_requires.py
@@ -105,7 +105,8 @@ class BuildRequires(object):
reference = str(reference)
output.info("Installing build requi... |
conan-io__conan-2639 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/command.py:Extender.__call__",
"conans/client/command.py:Command.download",
"conans/client/command.py:_add_common_install_arguments"
],
"edited_modules": [
... | conan-io/conan | 9d07bc26337c3282a57e59aa6a5c7b8afe9c282c | conan user -r=remote shows all the user, not the one for the given remote
To help us debug your issue please explain:
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I've explained the steps to reproduce the error or the motivation/use case of the question/s... | diff --git a/conans/client/command.py b/conans/client/command.py
index 506c0debe..df9034e9a 100644
--- a/conans/client/command.py
+++ b/conans/client/command.py
@@ -35,10 +35,13 @@ class Extender(argparse.Action):
# share this destination.
parser.set_defaults(**{self.dest: None})
- tr... |
conan-io__conan-2646 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
".ci/jenkins/runner.py:run_tests"
],
"edited_modules": [
".ci/jenkins/runner.py:run_tests"
]
},
"file": ".ci/jenkins/runner.py"
},
{
"changes": {
"added_en... | conan-io/conan | 01b3d70da53db12cab2ca5d2c68464bf27652745 | Clang 6.0 implications in cppstd flags
We have added to the `settings.yml` clang 6.0, but we have to review the `cppstd` flags and `package_id` to adjust it correctly and knowing the default one of the compiler to keep the compatibility of packages that do not specify the `cppstd` setting.
| diff --git a/.ci/jenkins/runner.py b/.ci/jenkins/runner.py
index cf747a165..513de3284 100644
--- a/.ci/jenkins/runner.py
+++ b/.ci/jenkins/runner.py
@@ -65,6 +65,7 @@ def run_tests(module_path, pyver, source_folder, tmp_folder,
env = get_environ(tmp_folder)
env["PYTHONPATH"] = source_folder
+ env["CONAN_... |
conan-io__conan-2705 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conans/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/bui... | conan-io/conan | e1e3cce13e69576f562296a1e6d64352e8e84ccd | Apple-clang 9.1 not supported
Please, add apple-clang 9.1 to supported platform. I had problem with compile missing libraries. I fixed it with manually edited ```.conan/settings.yml```
My CMake output:
```
-- The CXX compiler identification is AppleClang 9.1.0.9020039
```
Clang version:
```sh
$ clang++ -v
... | diff --git a/conans/__init__.py b/conans/__init__.py
index 97c78e433..2333a851a 100644
--- a/conans/__init__.py
+++ b/conans/__init__.py
@@ -16,5 +16,5 @@ COMPLEX_SEARCH_CAPABILITY = "complex_search"
SERVER_CAPABILITIES = [COMPLEX_SEARCH_CAPABILITY, ]
-__version__ = '1.2.0'
+__version__ = '1.2.1'
diff --git a/co... |
conan-io__conan-2708 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/userio.py:UserIO.request_login"
],
"edited_modules": [
"conans/client/userio.py:UserIO"
]
},
"file": "conans/client/userio.py"
}
] | conan-io/conan | 777f846df4cabe366ddcb88e39f6c7cd8970d7e1 | Non interactive mode also prevents prompt from `conan user`
The new non interactive mode also prevents the prompt from `conan user <name> -p`. This is not what is specified in the documentation. (And also not what was originally implemented.)
I hope the prompt can be re-enabled for this particular case. If not, the ... | diff --git a/conans/client/userio.py b/conans/client/userio.py
index b42d8e39d..c64d67ff9 100644
--- a/conans/client/userio.py
+++ b/conans/client/userio.py
@@ -40,6 +40,7 @@ class UserIO(object):
def request_login(self, remote_name, username=None):
"""Request user to input their name and password
... |
conan-io__conan-2717 | [
{
"changes": {
"added_entities": [
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment.install"
],
"added_modules": null,
"edited_entities": [
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment._get_triplet",
"conans/client... | conan-io/conan | 760a071260bc1c3b777356a7e4f9c639a5cd3eaa | AutoToolsBuildEnvironment improvements
1. Should AutoToolsBuildEnvironment.configure adjust --prefix to self.package_folder?
The same way we are doing it with CMake.
Be aware: Could be breaking, opt-in?
2. The "vars" should be a real list (not a dynamic property) precalculated to let the user change it before ca... | diff --git a/conans/client/build/autotools_environment.py b/conans/client/build/autotools_environment.py
index 0106e1cb0..a73d55b7f 100644
--- a/conans/client/build/autotools_environment.py
+++ b/conans/client/build/autotools_environment.py
@@ -12,7 +12,7 @@ from conans.client.build.cppstd_flags import cppstd_flag
fro... |
conan-io__conan-2728 | [
{
"changes": {
"added_entities": [
"conans/client/action_recorder.py:ActionRecorder.add_recipe_being_developed",
"conans/client/action_recorder.py:ActionRecorder.in_development_recipe",
"conans/client/action_recorder.py:ActionRecorder.get_info"
],
"added_modules": null,... | conan-io/conan | 35c00decd88eb8dfb87871209907ddce4f7ce170 | Issues with the JSON created by conan create
Conan version: 1.2.0
Command: `conan create --json ./foo.json . myteam/unstable`
The generated JSON does not separate the dependency packages of the built project, from the built package. This makes it difficult to parse. | diff --git a/conans/client/action_recorder.py b/conans/client/action_recorder.py
index bf573d9cb..d771bf075 100644
--- a/conans/client/action_recorder.py
+++ b/conans/client/action_recorder.py
@@ -7,6 +7,8 @@ from datetime import datetime
from collections import namedtuple, OrderedDict
# Install actions
+from conan... |
conan-io__conan-2883 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake._generator"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
}
] | conan-io/conan | ed6f652b917dd973a92e91866681e3663b2e04f2 | Settings friction review
I've been experimenting with non-common settings for embedded devices and I've found a couple of issues:
1. We have to review why the CMake() build helper is raising in case it doesn't have compiler or architecture. It is very very uncomfortable to specify the settings and deleting them late... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 2702d2b9e..3a2494873 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -115,8 +115,11 @@ class CMake(object):
return os.environ["CONAN_CMAKE_GENERATOR"]
if not self._compiler or not self.... |
conan-io__conan-2884 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
}
] | conan-io/conan | dac34c4c1c19b94969f7b0d2aef44d0650285e3a | Conan does not set define `CMAKE_SYSTEM_VERSION` when "os.api_level" specified | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index babb8f0e7..2702d2b9e 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -53,7 +53,10 @@ class CMake(object):
self._compiler = self._settings.get_safe("compiler")
self._compiler_version = self._s... |
conan-io__conan-2885 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cppstd_flags.py:_clang_cppstd_default",
"conans/client/build/cppstd_flags.py:_gcc_cppstd_default",
"conans/client/build/cppstd_flags.py:_cppstd_visualstudio",
... | conan-io/conan | 5df3b0134bd6c85185c6b8a0a8574dfad54aa17e | Add C++2a standard
GCC 8 was released a few days ago and added some useful C++2a features such as `std::endian`. I really want to migrate all my Conan packages to `-std=c++2a`.
I think `2a` and `gnu2a` should be added to `cppstd` and then be renamed to `20` and `gnu20` after the publication. This would require suppo... | diff --git a/conans/client/build/cppstd_flags.py b/conans/client/build/cppstd_flags.py
index 5435d63e6..7711a442f 100644
--- a/conans/client/build/cppstd_flags.py
+++ b/conans/client/build/cppstd_flags.py
@@ -32,11 +32,12 @@ def cppstd_default(compiler, compiler_version):
def _clang_cppstd_default(compiler_version... |
conan-io__conan-2952 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment.configure"
],
"edited_modules": [
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment"
... | conan-io/conan | c3a6ed5dc7b5e27ac69191e36aa7592e47ce7759 | CMake build wrapper should set PKG_CONFIG_PATH
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I've explained the steps to reproduce t... | diff --git a/conans/client/build/autotools_environment.py b/conans/client/build/autotools_environment.py
index 924161e9c..9bf4bd3e8 100644
--- a/conans/client/build/autotools_environment.py
+++ b/conans/client/build/autotools_environment.py
@@ -14,6 +14,7 @@ from conans.client.tools.win import unix_path
from conans.to... |
conan-io__conan-3010 | [
{
"changes": {
"added_entities": [
"conans/client/graph/graph.py:DepsGraph.full_closure"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"conans/client/graph/graph.py:DepsGraph"
]
},
"file": "conans/client/graph/graph.py"
},
... | conan-io/conan | d9f36e5d34f22a7cdba5aba9f0ad90c86f71d760 | conan 1.4.x fails when "scm" attribute in recipe is not a dict
Hi @lasote and @memsharded ,
at first of all thanks for implementing the first version of scm feature. Sadly I was unable to review it completely before the 1.4.0 release.
The current implementation fails (without changing our recipes) because we also... | diff --git a/conans/client/graph/graph.py b/conans/client/graph/graph.py
index a406e6e6f..2fb467e2d 100644
--- a/conans/client/graph/graph.py
+++ b/conans/client/graph/graph.py
@@ -141,6 +141,20 @@ class DepsGraph(object):
open_nodes = nodes_by_level[1]
return open_nodes
+ def full_closure(self, ... |
conan-io__conan-3012 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake._generator",
"conans/client/build/cmake.py:CMake.command_line",
"conans/client/build/cmake.py:CMake.build"
],
"edited_modules": [
"... | conan-io/conan | f94602138045e0d9dc9de4dd5a4ca213ce051525 | CMake helper requires compiler during package
To help us debug your issue please explain:
Hi everyone!
I'm trying give some support to taocpp/PEGTL and I would like to use CMake helper to install the project. The project is header-only, thus it installs the license, headers and pegtl-config.cmake.
However, whe... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 8237a716b..1703d4345 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -117,9 +117,8 @@ class CMake(object):
if not self._compiler or not self._compiler_version or not self._arch:
if self... |
conan-io__conan-3025 | [
{
"changes": {
"added_entities": [
"conans/client/cmd/search.py:Search._search_packages_in_local",
"conans/client/cmd/search.py:Search._search_packages_in_all",
"conans/client/cmd/search.py:Search._search_packages_in"
],
"added_modules": null,
"edited_entities": [... | conan-io/conan | d5197368d1bcf99241cad08c858f6a1471613471 | conan user command show which users are authenticated
cc / @Aalmann
PRobably use JSon output to it too.
| diff --git a/conans/client/cmd/search.py b/conans/client/cmd/search.py
index 29ad716e6..77ee84fb8 100644
--- a/conans/client/cmd/search.py
+++ b/conans/client/cmd/search.py
@@ -1,7 +1,7 @@
from conans.search.search import filter_outdated, search_recipes,\
search_packages
-from collections import OrderedDict
-
+fr... |
conan-io__conan-3100 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:_capture_export_scm_data"
],
"edited_modules": [
"conans/client/cmd/export.py:_capture_export_scm_data"
]
},
"file": "conans/client/cmd/expo... | conan-io/conan | df9b5fc76b68d1051056903143e3ba390aa31eaf | Issues with proxies
I've started Conan server in my organization's local network. For external sites (like github) proxy must be used, but not for computers in local network.
So, I have there env variables:
```
HTTP_PROXY=http://proxy.domain:3128
HTTP_PROXY=https://proxy.domain:3128
NO_PROXY=localhost,127.0.0.1,*.... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index ed8a2e3e2..ac240f57e 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -113,6 +113,9 @@ def _capture_export_scm_data(conanfile, src_path, destination_folder, output, pa
origin = scm.get_remote_url()
... |
conan-io__conan-3187 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": ".ci/jenkins/conf.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/ge... | conan-io/conan | c3baafb780b6e5498f8bd460426901d9d5ab10e1 | Using "?" in a tools.get() URL will fail, while using it in a tools.download() will succeed.
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating syste... | diff --git a/.ci/jenkins/conf.py b/.ci/jenkins/conf.py
index f59d4441e..02c9bc118 100644
--- a/.ci/jenkins/conf.py
+++ b/.ci/jenkins/conf.py
@@ -9,7 +9,7 @@ winpylocation = {"py27": "C:\\Python27\\python.exe",
macpylocation = {"py27": "/usr/bin/python", # /Users/jenkins_ci/.pyenv/versions/2.7.11/bin/python",
... |
conan-io__conan-3192 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:_capture_export_scm_data"
],
"edited_modules": [
"conans/client/cmd/export.py:_capture_export_scm_data"
]
},
"file": "conans/client/cmd/expo... | conan-io/conan | 0e1a608aa997760d0012027f4168e0017d63e62f | [SCM] Support svn
We currently use Subversion and want to make use of the source() method for retrieving the _exact_ source for the package i.e. we don’t want to use exports_sources due to it only being a snapshot and we can’t use the scm attribute. We also want our source co-located with the recipe. Therefore we would... | diff --git a/.gitignore b/.gitignore
index ee466be1d..aa6c567e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ htmlcov/
nosetests.xml
coverage.xml
*,cover
+.pytest_cache/
# Translations
*.mo
diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 5f508dab7..65e0d709d 100644
--- a... |
conan-io__conan-3197 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": ".ci/jenkins/conf.py"
},
{
"changes": {
"added_entities": [
"conans/client/remote_manager.py:check_compressed_files"
],
"adde... | conan-io/conan | 7ce59398132725f3da4e548baab7e2fa3f28f5e1 | Prepare 1.6 to fail gently with "conan_package" different compression extensions.
From https://github.com/conan-io/conan/issues/648
To be ready for the future, versions from 1.6 could fail gently if a conan_package with a different extension (not tgz) is found in a remote package. Maybe saying: Your current conan ver... | diff --git a/.ci/jenkins/conf.py b/.ci/jenkins/conf.py
index f59d4441e..02c9bc118 100644
--- a/.ci/jenkins/conf.py
+++ b/.ci/jenkins/conf.py
@@ -9,7 +9,7 @@ winpylocation = {"py27": "C:\\Python27\\python.exe",
macpylocation = {"py27": "/usr/bin/python", # /Users/jenkins_ci/.pyenv/versions/2.7.11/bin/python",
... |
conan-io__conan-3363 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder._resolve_deps"
],
"edited_modules": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder"
]
},
"file": "conans... | conan-io/conan | f966d516452380918437888811bc833c804dac39 | Enhance graph dependency resolution speed
Hello,
I have a big dependency graph that is managed in our CI system. About a hundred packages are handled and depends on each other by using version range like `[^1.66.0]` to keep, according to semver, the last backward compatible package.
The fact is that as all packag... | diff --git a/conans/client/graph/graph_builder.py b/conans/client/graph/graph_builder.py
index a802a879b..db30049d5 100644
--- a/conans/client/graph/graph_builder.py
+++ b/conans/client/graph/graph_builder.py
@@ -50,7 +50,7 @@ class DepsGraphBuilder(object):
# After resolving ranges,
for req in cona... |
conan-io__conan-3365 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/rest/rest_client_common.py:RestCommonMethods._remove_package_files"
],
"edited_modules": [
"conans/client/rest/rest_client_common.py:RestCommonMethods"
]
},
... | conan-io/conan | f966d516452380918437888811bc833c804dac39 | "overridden" is misspelled as "overriden"
This affects a few places, but most notably user messages output by conan. | diff --git a/conans/client/graph/graph_builder.py b/conans/client/graph/graph_builder.py
index a802a879b..c3e671d0e 100644
--- a/conans/client/graph/graph_builder.py
+++ b/conans/client/graph/graph_builder.py
@@ -140,7 +140,7 @@ class DepsGraphBuilder(object):
def _config_node(self, node, down_reqs, down_ref, do... |
conan-io__conan-3373 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder._resolve_deps"
],
"edited_modules": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder"
]
},
"file": "conans... | conan-io/conan | 27a49ba3edeedee1c5d35aa0b9a39080abb7a334 | scm query
Is there a reason the .git folder is excluded from the copy that occurs? Would it be possible to ensure that it isn't ignored?
I've got a tool I'm using in parts of my conanfile that requires being able to query the git repo. I think it would make sense for the .git folder to be included in the copy to mak... | diff --git a/conans/client/graph/graph_builder.py b/conans/client/graph/graph_builder.py
index c3e671d0e..db30049d5 100644
--- a/conans/client/graph/graph_builder.py
+++ b/conans/client/graph/graph_builder.py
@@ -50,7 +50,7 @@ class DepsGraphBuilder(object):
# After resolving ranges,
for req in cona... |
conan-io__conan-3383 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake._get_cmake_definitions"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
},
... | conan-io/conan | 061e2153569f9c21fd7f50561a304c9142aea13d | [build system] [MSBuild] MSBuild() can't receive custom properties
For example, if I want to invoke MSBuild with `/p:MyCustomProperty=true` I can't do it. (If you try to pass it in the project file, it invokes the project update with the property and fails)
To study if an "args" parameter is missing to build or a "pro... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index f70eba2ea..5f1b60dd4 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -17,7 +17,7 @@ from conans.tools import cpu_count, args_to_string
from conans import tools
from conans.util.log import logger
from conans... |
conan-io__conan-3384 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": ".ci/jenkins/conf.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/bu... | conan-io/conan | bcb808fd5d530a64f52771340c686a35ee7b61a9 | Cannot set CMAKE_SYSTEM_VERSION without setting CMAKE_SYSTEM_NAME
To help us debug your issue please explain:
- [ x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [ x] I've specified the Conan version, operating system version and any tool th... | diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index 2b4408fad..7d4d96044 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -4,10 +4,10 @@ def slaves = ['Linux', 'Windows', 'Macos']
def pyvers
if (env.BRANCH_NAME =~ /(^release.*)|(^master)/) {
- pyvers = ['py36', 'py34', 'py2... |
conan-io__conan-3477 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/model/conan_file.py:create_options"
],
"edited_modules": [
"conans/model/conan_file.py:create_options"
]
},
"file": "conans/model/conan_file.py"
},
{
"ch... | conan-io/conan | 82631b05304f07dddfbd9f2cb0721e10fcd43d17 | Allow specifying default options as a dictionary
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.... | diff --git a/conans/model/conan_file.py b/conans/model/conan_file.py
index f025e5367..c77ae3263 100644
--- a/conans/model/conan_file.py
+++ b/conans/model/conan_file.py
@@ -22,13 +22,13 @@ def create_options(conanfile):
default_options = getattr(conanfile, "default_options", None)
if default_options... |
conan-io__conan-3479 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:_capture_export_scm_data"
],
"edited_modules": [
"conans/client/cmd/export.py:_capture_export_scm_data"
]
},
"file": "conans/client/cmd/expo... | conan-io/conan | 82631b05304f07dddfbd9f2cb0721e10fcd43d17 | [SCM] SCM feature + recipe in a repo subfolder leads to "same computer clone" bug
Getting back to our Conan recipe, conan `1.7.1` solves the problem described #3322 thus (re)allowing a recipe living in subfolder of the repository to use the `scm` feature.
Sadly, another bug, initially described in #3069 (under the nam... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 020980d7c..f242fb0ad 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -60,7 +60,7 @@ def cmd_export(conanfile_path, conanfile, reference, keep_source, output, client
keep_source)
-def... |
conan-io__conan-3554 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conan_api.py:_get_conanfile_path"
],
"edited_modules": [
"conans/client/conan_api.py:_get_conanfile_path"
]
},
"file": "conans/client/conan_api.py"
}
] | conan-io/conan | 9a9a0c4c84b89ce29fa9a5695ba544584d27dd69 | Error message when no conanfile was found is confusing
When no conanfile is found, a message such as
```
ERROR: Conanfile not found: D:\Foo\conanfile.txt
```
is displayed. There is no reference to a conanfile.py that was considered (and is also missing).
To help us debug your issue please explain:
- [x] I've... | diff --git a/conans/client/conan_api.py b/conans/client/conan_api.py
index d96725350..96a7b5744 100644
--- a/conans/client/conan_api.py
+++ b/conans/client/conan_api.py
@@ -111,25 +111,32 @@ def _get_conanfile_path(path, cwd, py):
"""
param py= True: Must be .py, False: Must be .txt, None: Try .py, then .txt
... |
conan-io__conan-3560 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder._resolve_deps",
"conans/client/graph/graph_builder.py:DepsGraphBuilder._config_node"
],
"edited_modules": [
"conans/clie... | conan-io/conan | bb404b34bc894032ac4c56ac03d2cf3e6a7ef3e9 | Define policy for conan vs user ConanFile attributes and methods
To reduce possible future collisions when things are added to conan.
E.g.:
- Use "_myattribute" for user defined attributes. Conan reserves all public members
- Use "__myattribute" for user defined atributes. (What happens for inheritance via python_... | diff --git a/conans/client/graph/graph.py b/conans/client/graph/graph.py
index dabc5ff3e..16570b31c 100644
--- a/conans/client/graph/graph.py
+++ b/conans/client/graph/graph.py
@@ -275,7 +275,7 @@ class DepsGraph(object):
if new_level:
result.append(new_level)
return result
-
... |
conan-io__conan-3653 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/tools/scm.py:SVN.is_pristine"
],
"edited_modules": [
"conans/client/tools/scm.py:SVN"
]
},
"file": "conans/client/tools/scm.py"
}
] | conan-io/conan | 487ff560f48aa2103b4e6543cbc51cac698b2190 | [scm] Rework SVN is_pristine() function
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
The actual implementation of SVN `is_pristine` function could fail by the following two cases:
* When u... | diff --git a/conans/client/tools/scm.py b/conans/client/tools/scm.py
index 1b8580280..c03877438 100644
--- a/conans/client/tools/scm.py
+++ b/conans/client/tools/scm.py
@@ -1,6 +1,5 @@
import os
-import sys
import re
import subprocess
@@ -273,16 +272,27 @@ class SVN(SCMBase):
def is_pristine(self):
... |
conan-io__conan-3680 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/command.py:Command.config"
],
"edited_modules": [
"conans/client/command.py:Command"
]
},
"file": "conans/client/command.py"
},
{
"changes": {
... | conan-io/conan | 94a4677a0659d814819a7db5446dca0fc7fa6812 | Enable "conan config install" to install from a (git/svn cloned) folder
Conan 1.7.
Right now, conan can config-install from a repo, or from a zip file. It would be easy to allow doing the process from any folder. That could help with config in other sources or in unreachable repos by conan (user/passwd auth) (https:... | diff --git a/README.rst b/README.rst
index 729317e77..9cf9b56cb 100644
--- a/README.rst
+++ b/README.rst
@@ -195,7 +195,7 @@ To run specific tests, you can specify the test name too, something like:
.. code-block:: bash
- $ nosetests conans.test.integration.flat_requirements_test --nocapture
+ $ nosetests co... |
conan-io__conan-3684 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.patch_config_paths"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
},
{
... | conan-io/conan | b02cce4e78d5982e00b66f80a683465b3c679033 | None value and default value in options
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I've explained the steps to reproduce the error ... | diff --git a/.gitignore b/.gitignore
index ee466be1d..aa6c567e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ htmlcov/
nosetests.xml
coverage.xml
*,cover
+.pytest_cache/
# Translations
*.mo
diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index c694053db..88e501ee9 100644
---... |
conan-io__conan-3727 | [
{
"changes": {
"added_entities": [
"conans/client/tools/system_pm.py:SystemPackageTool._get_sudo_str"
],
"added_modules": null,
"edited_entities": [
"conans/client/tools/system_pm.py:SystemPackageTool.__init__"
],
"edited_modules": [
"conans/client/too... | conan-io/conan | 650688fb52ea32e97ac2cc6f67660fb9b50ac365 | sudo in SystemPackageTool always fails when in non-interactive terminal
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I've explained t... | diff --git a/conans/client/runner.py b/conans/client/runner.py
index 1ea09dbf3..af65c6d3f 100644
--- a/conans/client/runner.py
+++ b/conans/client/runner.py
@@ -56,7 +56,7 @@ class ConanRunner(object):
try:
# piping both stdout, stderr and then later only reading one will hang the process
- ... |
conan-io__conan-3839 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conan_api.py:ConanAPIV1._init_manager"
],
"edited_modules": [
"conans/client/conan_api.py:ConanAPIV1"
]
},
"file": "conans/client/conan_api.py"
},
{
... | conan-io/conan | 2686c972ae62632421590b7b5597350407c5f661 | Conan doesn't keep the username to log to server anymore
From conan 1.8,
When an authentication is required by the conan server, the username is now always asked event though it was specified by conan user. In older version, only the password was required.
To reproduce:
```
$ conan user -c
$ conan user usernam... | diff --git a/conans/client/conan_api.py b/conans/client/conan_api.py
index 21db43b9f..aadb27449 100644
--- a/conans/client/conan_api.py
+++ b/conans/client/conan_api.py
@@ -248,7 +248,7 @@ class ConanAPIV1(object):
def _init_manager(self, action_recorder):
"""Every api call gets a new recorder and new m... |
conan-io__conan-3841 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conf/detect.py:_detect_os_arch"
],
"edited_modules": [
"conans/client/conf/detect.py:_detect_os_arch"
]
},
"file": "conans/client/conf/detect.py"
}
] | conan-io/conan | 2686c972ae62632421590b7b5597350407c5f661 | Autodetected arch is empty, producing wrong default profile
If platform.machine() returns empty (can do it in some cases, as when called from cmake), the arch is empty, leading to a:
```
arch=
```
In the default profile, which later can result in an error because "" is not a known architecture in settings.yml. ... | diff --git a/conans/client/conf/detect.py b/conans/client/conf/detect.py
index c0909af9b..4bf3229f8 100644
--- a/conans/client/conf/detect.py
+++ b/conans/client/conf/detect.py
@@ -185,17 +185,19 @@ def _detect_os_arch(result, output):
the_os = detected_os()
result.append(("os", the_os))
result.append(("... |
conan-io__conan-3857 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake._run"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
},
{
"changes":... | conan-io/conan | 3cd31dc8d24896490cd4fffb20ba35792c4c7667 | Enhancement: propogate source file info in package_info
There are at least three known use cases for propagating information about sources of a package to downstream dependencies. This includes:
1. Debugging - Its highly probable that step-through debugging into upstream sources in Conan cache will be possible onc... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index a92fb1eff..80fddbd07 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -138,10 +138,8 @@ class CMake(object):
def _run(self, command):
compiler = self._settings.get_safe("compiler")
- the_... |
conan-io__conan-4045 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:_capture_export_scm_data"
],
"edited_modules": [
"conans/client/cmd/export.py:_capture_export_scm_data"
]
},
"file": "conans/client/cmd/expo... | conan-io/conan | 8b25a2612abea2d18eaa7f553f3ae24e9ff1ccef | scm get ignore files crashing
By an unknown cause, the `excluded_files` function (Conan 1.8.4) during the call to `git check-ignore` is raising a `FileNotFoundError`. Investigate when it can happen. Maybe the `self.folder`? Apparently calling manually it works. But anyway it would be better to just print a warning and... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 9232bbbc4..c0ce189ed 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -73,7 +73,7 @@ def _capture_export_scm_data(conanfile, conanfile_dir, destination_folder, outpu
if not scm_data or not (scm_data.capture_or... |
conan-io__conan-4083 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conan_api.py:ConanAPIV1.config_install"
],
"edited_modules": [
"conans/client/conan_api.py:ConanAPIV1"
]
},
"file": "conans/client/conan_api.py"
},
{
... | conan-io/conan | e250f738c68383c06b46dde32fe386d160c5bd5a | conan config from a specific branch/tag from a git repository
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can... | diff --git a/conans/client/conan_api.py b/conans/client/conan_api.py
index 357ce44ad..a4e109979 100644
--- a/conans/client/conan_api.py
+++ b/conans/client/conan_api.py
@@ -556,14 +556,11 @@ class ConanAPIV1(object):
self._client_cache.invalidate()
@api_method
- def config_install(self, item, verify_... |
conan-io__conan-4088 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:_capture_export_scm_data"
],
"edited_modules": [
"conans/client/cmd/export.py:_capture_export_scm_data"
]
},
"file": "conans/client/cmd/expo... | conan-io/conan | e250f738c68383c06b46dde32fe386d160c5bd5a | [SCM] [SVN] auto feature behavior depends on how user has checked out local working copy
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
-... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 910842592..cc38d61eb 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -69,12 +69,17 @@ def _capture_export_scm_data(conanfile, conanfile_dir, destination_folder, outpu
os.unlink(scm_src_file)
scm_da... |
conan-io__conan-4103 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake.build_type",
"conans/client/build/cmake.py:CMake.in_local_cache",
"conans/client/build/cmake.py:... | conan-io/conan | e250f738c68383c06b46dde32fe386d160c5bd5a | [question] Are there environment difference between the "developer workflow" and `conan create`?
While moving one of our _fat_ dependencies from prebuilt binaries (packaged through Conan ; ) to a recipe actually building the thing, we are encountering a complication we never encountered for our other recipes:
We wro... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 0dae3d4e5..f10e25ff3 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -4,15 +4,17 @@ import subprocess
from itertools import chain
from conans.client import defs_to_string, join_arguments, tools
-from conan... |
conan-io__conan-4172 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conan_api.py:ConanAPIV1.factory",
"conans/client/conan_api.py:ConanAPIV1.__init__",
"conans/client/conan_api.py:ConanAPIV1.config_install"
],
"edited_modules": ... | conan-io/conan | a4eb73dd25a5b00dbfa75f3bd2d6239f9a9d49e9 | conan config install no longer works with 1.11.0
With conan v1.11.0:
```
conan config install http://rambo.local:8090/jenkins/job/microblink/job/conan-toolchains/job/master/lastSuccessfulBuild/artifact/android.zip
Trying to download http://rambo.local:8090/jenkins/job/microblink/job/conan-toolchains/job/master/l... | diff --git a/conans/client/conan_api.py b/conans/client/conan_api.py
index 1d2b50a7c..7fe9c04b8 100644
--- a/conans/client/conan_api.py
+++ b/conans/client/conan_api.py
@@ -221,11 +221,11 @@ class ConanAPIV1(object):
if interactive is None:
interactive = not get_env("CONAN_NON_INTERACTIVE"... |
conan-io__conan-4298 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake.configure",
"conans/client/build/cmake.py:CMake._build"
],
"edited_modules": [
"cona... | conan-io/conan | 83e8ab9f9b21cdd868efa3eee90e4e00da0e85e6 | Run cmake wrapped with scan-build
I would like to be able to run cmake wrapped with clang's scan-build to perform a static analysis while building. However the CMake class hard-codes the name of the executable to be 'cmake'. It would be great if it were possible to override this. | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 40816f6b9..9bfcd123b 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -21,7 +21,7 @@ class CMake(object):
def __init__(self, conanfile, generator=None, cmake_system_name=True,
parallel=... |
conan-io__conan-4299 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.test"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
},
{
"changes":... | conan-io/conan | 6f0c4772696d031a5598f6e8c373850f93729e49 | CMake helper to get CTest to output on failure
I'd like to be able to configure my `conanfile.py` so that I can invoke `ctest --output-on-failure` in some fashion. After chatting with on cpplang.slack.com, it was noted that it doesn't look like this is currently possible, and so I'll need to invoke this manually.
Is... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index bc73e7184..5847f66dc 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -233,12 +233,17 @@ class CMake(object):
"defined" % cmake_install_prefix_var_name)
self._build(ar... |
conan-io__conan-4301 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake.configure",
"conans/client/build/cmake.py:CMake._build",
"conans/client/build/cmake.py:CMake.tes... | conan-io/conan | f746ce8e812f745e79dc624f66f6a69300b3f4a9 | Optimization on SCM ('scm_folder.txt' pointing to local folder) could lead to unexpected package
When the SCM feature is used, there is an optimization to avoid the git commands `git commit`, `git push` in order to test new sources for `conan create` command: Conan creates a file 'scm_folder.txt' inside the cache that... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index bc73e7184..9bfcd123b 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -14,13 +14,14 @@ from conans.model.version import Version
from conans.client.tools.oss import cpu_count, args_to_string
from conans.util.c... |
conan-io__conan-4303 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake._build",
"conans/client/build/cmake.py:CMake.test"
],
"edited_modules": [
"conans/cl... | conan-io/conan | f746ce8e812f745e79dc624f66f6a69300b3f4a9 | Provide Checksum header on all uploads
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I'... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index bc73e7184..40816f6b9 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -14,13 +14,14 @@ from conans.model.version import Version
from conans.client.tools.oss import cpu_count, args_to_string
from conans.util.c... |
conan-io__conan-4313 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake._build"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file... | conan-io/conan | 2b3bd4bed632bb50d5bef933aaf122d9f620de59 | uname, detect_windows_subsystem, is_windows are broken for MinGW, MSYS2 and Cygwin shells
for the start, uname (command) returns the following output:
- `CYGWIN_NT-10.0` in Cygwin shell
- `MINGW64_NT-10.0` in Git for Windows shell
- `MINGW32_NT-10.0` in MinGW shell
- `MSYS_NT-10.0` in MSYS2 shell
it's easy to chec... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 5847f66dc..40816f6b9 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -14,13 +14,14 @@ from conans.model.version import Version
from conans.client.tools.oss import cpu_count, args_to_string
from conans.util.c... |
conan-io__conan-4317 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/msbuild.py:MSBuild.build",
"conans/client/build/msbuild.py:MSBuild._get_props_file_contents"
],
"edited_modules": [
"conans/client/build/msbuild.py:MSBuil... | conan-io/conan | 606020b55df9b9523ef04a4af798db2092605630 | Hard to debug error ERROR: Expecting value: line 1 column 1 (char 0)
Hi, first of all i want to congratulate you guys on this great project that is conan.
I performed some conan copy to rename the owner of the package on custom packages that some have sources other get the sources from git and so on, they all are di... | diff --git a/conans/client/build/msbuild.py b/conans/client/build/msbuild.py
index a67c0146b..394c9cc90 100644
--- a/conans/client/build/msbuild.py
+++ b/conans/client/build/msbuild.py
@@ -30,14 +30,48 @@ class MSBuild(object):
def build(self, project_file, targets=None, upgrade_project=True, build_type=None, arch... |
conan-io__conan-4324 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake.configure",
"conans/client/build/cmake.py:CMake._build"
],
"edited_modules": [
"cona... | conan-io/conan | 83e8ab9f9b21cdd868efa3eee90e4e00da0e85e6 | tools.environment_append raises if tries to unset variable which was never set
after #4224, I may use the following code, for instance, to ensure variable is not set:
```
with environment_append({'CONAN_BASH_PATH': None}):
pass
```
however, it raises if `CONAN_BASH_PATH` is not set (prior to the environment_ap... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 40816f6b9..9bfcd123b 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -21,7 +21,7 @@ class CMake(object):
def __init__(self, conanfile, generator=None, cmake_system_name=True,
parallel=... |
conan-io__conan-4341 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/msbuild.py:MSBuild.get_command"
],
"edited_modules": [
"conans/client/build/msbuild.py:MSBuild"
]
},
"file": "conans/client/build/msbuild.py"
},
... | conan-io/conan | bfc066f95d93dd646858f449b1d413546e745acf | Broken tests in Mac with apple-clang 10.0 as default [PR 4332] [BROKEN DEVELOP]
⚠️ ⚠️ PR #4332 breaks in my Mac, there is a test that fails (commit hash e2246c90):
> CMakeGeneratorTest::test_cmake_default_generator_osx
The error is the automatic detection of the clang version by CMake:
```bash
CMake Error at... | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 3f00bc051..4a9bf5fbf 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -81,3 +81,27 @@ Please keep in mind these points:
- Backwards compatibility and not breaking users' packages is very important and it won't be done unless th... |
conan-io__conan-4359 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/autotools_environment.py:AutoToolsBuildEnvironment._get_host_build_target_flags"
],
"edited_modules": [
"conans/client/build/autotools_environment.py:AutoToolsBui... | conan-io/conan | 0b7b3cab7361cc45c212d8a21333b7f5e19de093 | Support conan info --json for all outputs, and support stdout
I'm not sure why --json is only supported when --build-order is also passed, but we would like all outputs from `conan info` to support output as `json`.
Our primary reason is that we'll often be calling `conan info` in order to pass the information to a... | diff --git a/conans/client/build/autotools_environment.py b/conans/client/build/autotools_environment.py
index 91c86a23f..70f6e08f6 100644
--- a/conans/client/build/autotools_environment.py
+++ b/conans/client/build/autotools_environment.py
@@ -11,7 +11,7 @@ from conans.client.build.compiler_flags import (architecture_... |
conan-io__conan-4380 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/loader.py:ConanFileLoader._parse_conan_txt"
],
"edited_modules": [
"conans/client/loader.py:ConanFileLoader"
]
},
"file": "conans/client/loader.py"
},
... | conan-io/conan | 256c14775b6281dec546aec1aa4c5973fe0d3ac8 | Virtualenv generator prepends duplicated values in env vars from profile
With a *conanfile.txt* empty and a profile with:
```
[env]
PREPEND_VAR = ['kk','pp']
```
Commands:
```
$ conan install . -g virtualenv
```
In activate.sh there is:
```
PREPEND_VAR="kk":"pp":"kk":"pp"
```
and in *activate.bat* ... | diff --git a/conans/client/loader.py b/conans/client/loader.py
index 525ef71b8..9bd73cab0 100644
--- a/conans/client/loader.py
+++ b/conans/client/loader.py
@@ -174,7 +174,6 @@ class ConanFileLoader(object):
# imports method
conanfile.imports = parser.imports_method(conanfile)
- conanfile._co... |
conan-io__conan-4408 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conans/__init__.py"
},
{
"changes": {
"added_entities": [
"conans/client/cmd/export.py:_recreate_folders"
],
"added_modules"... | conan-io/conan | 5e4e2585ca1e8ae4562f779635d885a7b9dbb38d | conan upload should print the remote it is using
```
conan upload "*"
Are you sure you want to upload 'XXX@XXX/XXXX'? (yes/no):
````
It should be `Are you sure you want to upload 'XXX@XXX/XXXX' to remote 'conan-center'? (yes/no):
Or print first:
```
> conan upload "*"
Uploading to remote 'conan-center'... | diff --git a/conans/__init__.py b/conans/__init__.py
index f6ca9c132..7f4434ff6 100644
--- a/conans/__init__.py
+++ b/conans/__init__.py
@@ -18,5 +18,4 @@ REVISIONS = "revisions" # Only when enabled in config, not by default look at s
SERVER_CAPABILITIES = [COMPLEX_SEARCH_CAPABILITY, REVISIONS] # Server is always wi... |
conan-io__conan-4446 | [
{
"changes": {
"added_entities": [
"conans/client/cmd/export.py:_recreate_folders"
],
"added_modules": [
"conans/client/cmd/export.py:_recreate_folders"
],
"edited_entities": [
"conans/client/cmd/export.py:cmd_export",
"conans/client/cmd/export.py:_e... | conan-io/conan | 6955f8170f8e38ebb410498cfa7e32969f5441b3 | Move manifest calculation after 'post_export' hook
One of the provided hooks is the `post_export` one, it allows the user to affect the conanfile and the export folder, but it is being executed after computing an storing the digest/manifest, so those changes will break the computed hashes.
Hash must be computed afte... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 31addfda9..44110243a 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -10,7 +10,7 @@ from conans.client.output import ScopedOutput
from conans.errors import ConanException
from conans.model.manifest import FileTr... |
conan-io__conan-4464 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/file_copier.py:report_copied_files"
],
"edited_modules": [
"conans/client/file_copier.py:report_copied_files"
]
},
"file": "conans/client/file_copier.py"
... | conan-io/conan | ca12f25dc6d5a11e640bbcb76e93d42205d3e0e7 | Warning when using cmake.install() for packaging
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I'... | diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index 1398085b3..95fc8b5aa 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -96,6 +96,61 @@ echo "STAGES: ${flavors}"
echo "PYVERS: ${all_pyvers}"
echo "EXCLUDED TAGS: ${excluded_tags}"
+
+
+// FIRST rest api tests, fail ASAP
+rest_... |
conan-io__conan-4539 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
},
{
"chang... | conan-io/conan | 84d3c55cf7036c445621592e200b3e16c2147a3e | Error when trying to read the `conanfile.txt`
In our Jenkins-system, jenkins created a projectdirectory, that contains an "@". After we generated the conanfile.txt, we cannot run conan, cause it doesn't find the "@ folder=True" at the end of the line.
The conanfile.txt parser, splits at the first "@" and when we hab... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index f6f2727ce..b9dc3c6e8 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -45,6 +45,8 @@ class CMake(object):
self._cmake_program = os.getenv("CONAN_CMAKE_PROGRAM") or cmake_program or "cmake"
s... |
conan-io__conan-4548 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/generators/cmake_paths.py:CMakePathsGenerator.content"
],
"edited_modules": [
"conans/client/generators/cmake_paths.py:CMakePathsGenerator"
]
},
"file": "... | conan-io/conan | 5b71a85601b45cf287128103d51d40b933d51071 | Warnings as errors for the test suite
I've come across #4518 where we were calling a function without the `output` argument (then it will use the `global_outputer` and print a warning). In order to avoid this kind of _typos_ we could use the warnings-as-errors approach for testing.
It is as easy as calling
```pyt... | diff --git a/conans/__init__.py b/conans/__init__.py
index db1eebd5e..d6e8367f1 100644
--- a/conans/__init__.py
+++ b/conans/__init__.py
@@ -20,3 +20,4 @@ SERVER_CAPABILITIES = [COMPLEX_SEARCH_CAPABILITY, REVISIONS] # Server is always
DEFAULT_REVISION_V1 = "0"
__version__ = '1.14.0-dev'
+
diff --git a/conans/clien... |
conan-io__conan-4568 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cache/remote_registry.py:_RemotesRegistry.remove"
],
"edited_modules": [
"conans/client/cache/remote_registry.py:_RemotesRegistry"
]
},
"file": "conans/cl... | conan-io/conan | 59e983f6d542dba5cfa48cef952b23ff1143a5f7 | KeyError on second upload of a package without remote in registry
When a package is uploaded to a remote, it gets associated to it in the registry. If the remote is removed from the registry (``conan remote remove``) and the package is uploaded to a different remote, Conan ends with an error and the name of the remote.... | diff --git a/conans/client/cache/remote_registry.py b/conans/client/cache/remote_registry.py
index 37529e34b..61d2a42de 100644
--- a/conans/client/cache/remote_registry.py
+++ b/conans/client/cache/remote_registry.py
@@ -221,6 +221,7 @@ class _RemotesRegistry(_Registry):
raise ConanException("Remote '%... |
conan-io__conan-4594 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/util/env_reader.py:get_env"
],
"edited_modules": [
"conans/util/env_reader.py:get_env"
]
},
"file": "conans/util/env_reader.py"
}
] | conan-io/conan | ab0870336550b7521da71595c6babf42d5690f7b | Unexpected behaviour for 'env_reader.get_env'
Behaviour for `env_reader.get_env` ([link](https://github.com/conan-io/conan/blob/e018e0ff0e7f6addf76cf589f471edc23569939d/conans/util/env_reader.py#L12)):
```python
def get_env(env_key, default=None, environment=None):
if environment is None:
environmen... | diff --git a/conans/util/env_reader.py b/conans/util/env_reader.py
index 05968a930..cbf46174e 100644
--- a/conans/util/env_reader.py
+++ b/conans/util/env_reader.py
@@ -25,5 +25,7 @@ def get_env(env_key, default=None, environment=None):
elif isinstance(default, float):
return float(env_var)
... |
conan-io__conan-4615 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/uploader.py:CmdUpload._collect_packages_to_upload"
],
"edited_modules": [
"conans/client/cmd/uploader.py:CmdUpload"
]
},
"file": "conans/client/cmd/up... | conan-io/conan | c099be8e501154e9901c733736f8f846f00f026f | conan info generates bad .conan_link files
To help us debug your issue please explain:
- [x] I've read the [CONTRIBUTING guide](https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I've exp... | diff --git a/conans/client/cmd/uploader.py b/conans/client/cmd/uploader.py
index 619aea22f..650e28827 100644
--- a/conans/client/cmd/uploader.py
+++ b/conans/client/cmd/uploader.py
@@ -136,10 +136,14 @@ class CmdUpload(object):
raise NotFoundException(("There is no local conanfile exported as %s" %... |
conan-io__conan-4644 | [
{
"changes": {
"added_entities": [
"conans/client/conf/__init__.py:ConanClientConfigParser.default_package_id_mode"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"conans/client/conf/__init__.py:ConanClientConfigParser"
]
},
"fi... | conan-io/conan | 3b74f2ac2f1e8b442925d1e09b9b53738402612b | Opt-in global full_version instead of semver for package_id
Consider adding an opt-in mechanism using the conan.conf to change the global behavior of the package_id method to default all packages (only default, not override if they have fine adjustments) so we can change the default `semver` to default `full_version`, ... | diff --git a/conans/client/conf/__init__.py b/conans/client/conf/__init__.py
index 35ca1392e..cab97be9d 100644
--- a/conans/client/conf/__init__.py
+++ b/conans/client/conf/__init__.py
@@ -351,6 +351,13 @@ class ConanClientConfigParser(ConfigParser, object):
except ConanException:
return False
+... |
conan-io__conan-4667 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:cmd_export",
"conans/client/cmd/export.py:_update_revision_in_metadata"
],
"edited_modules": [
"conans/client/cmd/export.py:cmd_export",
"... | conan-io/conan | 4609d0895ca4ba07ea5a0c4eb85e11ede47b4cd7 | Bug in revisions: Create json output doesn't return the revision
From a server with revisions, I install a package that is stored with revisions using the json output:
`conan install <ref> -r remote --json file.json`
Apparently, the "id" field of the json (recipe and packages) doesn't contain the revision, and it... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 3bdfd1a37..89c2efb0e 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -93,11 +93,11 @@ def cmd_export(package_layout, conanfile_path, conanfile, keep_source, revisions
digest.save(package_layout.export())
... |
conan-io__conan-4669 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/hook_manager.py:HookManager._load_module_from_file"
],
"edited_modules": [
"conans/client/hook_manager.py:HookManager"
]
},
"file": "conans/client/hook_ma... | conan-io/conan | 3216966dcaa745d4356c4ef64f6f3d0ab1b2330b | [bug] conanfile loader "crashes" because of missing __file__ attribute in Python 3.7(+)
Hi there,
I am using multiple Python versions (e.g. 3.6, 3.7). My primary Python version is 3.6.
But occationally I execute Python version 3.7. With 3.6 there where no problems. 3.7 does not work.
I have 2 projects. One (```pkg... | diff --git a/conans/client/hook_manager.py b/conans/client/hook_manager.py
index be634d2ee..25f7fd8a0 100644
--- a/conans/client/hook_manager.py
+++ b/conans/client/hook_manager.py
@@ -101,8 +101,14 @@ class HookManager(object):
module = sys.modules[added]
if module:
... |
conan-io__conan-4737 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder._handle_require"
],
"edited_modules": [
"conans/client/graph/graph_builder.py:DepsGraphBuilder"
]
},
"file": "cona... | conan-io/conan | 1e66f46eab52f218eb1e5d011cb659530da60c2d | [workspaces] Handling of transitive requirements broken
With conan 1.13.0, the handling of transitive requirements appears broken. I don't have a reproducible test case right now (I can try to construct one), but the situation is as follows:
I want to have a workspace with packages A and B. A depends on C, which has... | diff --git a/conans/client/graph/graph_builder.py b/conans/client/graph/graph_builder.py
index caeab2a9a..d368e0a9a 100644
--- a/conans/client/graph/graph_builder.py
+++ b/conans/client/graph/graph_builder.py
@@ -178,8 +178,16 @@ class DepsGraphBuilder(object):
% (node.ref, require... |
conan-io__conan-4764 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__",
"conans/client/build/cmake.py:CMake.command_line"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
... | conan-io/conan | d12827a7f4740f668c9ae8d12306f82cced872fe | Revisions: Manage non-pristine state in repo to capture the revision
What to do during the export if the SCM folder contains not committed changes?
Mark in metadata as "dirty" and forbid upload?
What if we enable `scm_mode` to `hash` but still using `scm` feature? #4413
What if we don't use `scm` feature but revisio... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index 9c41dbbdb..aaf02a208 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -7,7 +7,7 @@ from conans.client import defs_to_string, join_arguments, tools
from conans.client.build.cmake_flags import CMakeDefinitionsBu... |
conan-io__conan-4810 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/compiler_flags.py:architecture_flag"
],
"edited_modules": [
"conans/client/build/compiler_flags.py:architecture_flag"
]
},
"file": "conans/client/bu... | conan-io/conan | 7c829c8439a03dd381907349128b6b312060a05a | add support for linux on s390/s390x
https://en.wikipedia.org/wiki/Linux_on_z_Systems
In our CI we are running "normal" Linux distributions like Ubuntu and Red Hat on s390/s390x.
To publish and fetch packages, we would need support for s390 (31bit, yes, gcc will need -m31) and s390x (64bit).
```
>>> import pla... | diff --git a/LICENSE.md b/LICENSE.md
index c040a7091..1ff9c5884 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2018 JFrog LTD
+Copyright (c) 2019 JFrog LTD
diff --git a/conans/client/build/compiler_flags.py b/conans/client/build/compiler_flags.py
index c3337eced..... |
conan-io__conan-4852 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export_pkg.py:export_pkg"
],
"edited_modules": [
"conans/client/cmd/export_pkg.py:export_pkg"
]
},
"file": "conans/client/cmd/export_pkg.py"
},
{
... | conan-io/conan | 676609575971b354d97359314f5fd7c33d06f815 | [Bug] conan export-pkg has seemingly all values from profile propagated with the exception of CONAN_CMAKE_GENERATOR
When I want to export to local cache from a local source dir, I first run the setup commands and build my project
```
conan install . -if=build -pr=myprofile
conan build . -sf=. -bf=build
```
then wh... | diff --git a/conans/client/cmd/export_pkg.py b/conans/client/cmd/export_pkg.py
index ec493de6e..ca7146db2 100644
--- a/conans/client/cmd/export_pkg.py
+++ b/conans/client/cmd/export_pkg.py
@@ -6,6 +6,7 @@ from conans.errors import ConanException
from conans.model.manifest import FileTreeManifest
from conans.model.ref... |
conan-io__conan-4903 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/command.py:Command.inspect",
"conans/client/command.py:Command.workspace"
],
"edited_modules": [
"conans/client/command.py:Command"
]
},
"file": "... | conan-io/conan | 9d6fb5b026db594bfc05784c8f1cf1f8f200704e | Add options to make conan inspect more machine friendly
I would like to make `conan inspect` more machine friendly. Here are two things that would help me:
Add an option where the label will not be included on the attribute. For example, currently if you run
```
$ conan inspect . -a name
name: service-common
`... | diff --git a/README.rst b/README.rst
index 0548e3d5a..505144716 100644
--- a/README.rst
+++ b/README.rst
@@ -1,25 +1,28 @@
+|Logo|
+
Conan
=====
-A distributed, open-source, C/C++ package manager.
+A distributed, open-source (MIT), C/C++ package manager.
-+------------------------+-------------------------+
-| **... |
conan-io__conan-4946 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/command.py:Command.inspect",
"conans/client/command.py:Command.config",
"conans/client/command.py:Command.remote",
"conans/client/command.py:Command.profile",
... | conan-io/conan | c7705786bd25b25df37b0e8a7d6f237db1e6c86a | [feature] Flush stdout before executing commands
I run with `print_run_commands = True` 24/7, as does our CI server. I'm really happy the setting exists. Unfortunately, the output is often jumbled because of buffering. I think if you called `sys.stdout.flush()` and `sys.stderr.flush()` before running an external proces... | diff --git a/conans/__init__.py b/conans/__init__.py
index e045befcd..704268205 100644
--- a/conans/__init__.py
+++ b/conans/__init__.py
@@ -20,3 +20,4 @@ SERVER_CAPABILITIES = [COMPLEX_SEARCH_CAPABILITY, REVISIONS] # Server is always
DEFAULT_REVISION_V1 = "0"
__version__ = '1.15.0-dev'
+
diff --git a/conans/clien... |
conan-io__conan-4948 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/command.py:Command.inspect",
"conans/client/command.py:Command.workspace"
],
"edited_modules": [
"conans/client/command.py:Command"
]
},
"file": "... | conan-io/conan | c7705786bd25b25df37b0e8a7d6f237db1e6c86a | Wrong message about "conan link"
remover.py, line 103, the message when you try to remove a package being an editable is: `WARN: Package 'zlib/1.2.11@conan/stable' is installed as editable, unlink it first using command 'conan link zlib/1.2.11@conan/stable --remove'` | diff --git a/conans/client/command.py b/conans/client/command.py
index 08ce1705a..9a4a7f98f 100644
--- a/conans/client/command.py
+++ b/conans/client/command.py
@@ -208,10 +208,21 @@ class Command(object):
action=OnceArgument)
parser.add_argument("-j", "--json", default=None, actio... |
conan-io__conan-4965 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/util/files.py:tar_extract"
],
"edited_modules": [
"conans/util/files.py:tar_extract"
]
},
"file": "conans/util/files.py"
}
] | conan-io/conan | 556e2043e11bc53d6ad797519385b9b34dfdbb2d | tar_extract is affected by symlinks in current directory
If a current directory has a symlink with the name matching a directory in the installed conan_package.tgz, then the directory is not extracted to the package directory.
Reproduced on 1.15.0-dev. Notice the `include` directory disappears from the package direc... | diff --git a/conans/util/files.py b/conans/util/files.py
index 472fa854e..6ce2519ae 100644
--- a/conans/util/files.py
+++ b/conans/util/files.py
@@ -298,7 +298,7 @@ def tar_extract(fileobj, destination_dir):
return not realpath(abspath(joinpath(base, path))).startswith(base)
def safemembers(members):
- ... |
conan-io__conan-4991 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conf/__init__.py:ConanClientConfigParser.env_vars",
"conans/client/conf/__init__.py:ConanClientConfigParser.default_package_id_mode"
],
"edited_modules": [
"con... | conan-io/conan | 44dbdef0ffe44d520e1c401b74b9c01c787ff45a | Opt-in skip broken symlinks check packaging
We need to package directories with broken symlinks. We are trying to package yocto sdk and we didn't manage to fix them or remove them, because the sdk stops working. So we would need something like `CONAN_SKIP_BROKEN_SYMLINKS_CHECK` to remove the check in `manifest.py` line... | diff --git a/conans/client/conf/__init__.py b/conans/client/conf/__init__.py
index bba79edea..5e4b244f0 100644
--- a/conans/client/conf/__init__.py
+++ b/conans/client/conf/__init__.py
@@ -30,6 +30,7 @@ os:
version: ["8.1", "10.0"]
WindowsCE:
platform: ANY
+ version: ["5.0", "6.0", "7.0", ... |
conan-io__conan-5005 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conf/__init__.py:ConanClientConfigParser.env_vars",
"conans/client/conf/__init__.py:ConanClientConfigParser.default_package_id_mode"
],
"edited_modules": [
"con... | conan-io/conan | 3a53d711221524c14ce7add50e4b1894383cf6fa | default_package_id_mode is not in the default conan.conf
The config should be there when a fresh `conan.conf` is created. I would like it to be non-commented and using the default value `semver_direct_mode`.
| diff --git a/conans/client/conf/__init__.py b/conans/client/conf/__init__.py
index b0f505455..dc701c3bf 100644
--- a/conans/client/conf/__init__.py
+++ b/conans/client/conf/__init__.py
@@ -94,6 +94,7 @@ default_profile = %s
compression_level = 9 # environment CONAN_COMPRESSION_LEVEL
sysrequires_sudo =... |
conan-io__conan-5051 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/generators/premake.py:PremakeDeps.__init__"
],
"edited_modules": [
"conans/client/generators/premake.py:PremakeDeps"
]
},
"file": "conans/client/generator... | conan-io/conan | 2112110636f33c51edbddc00e7cee3e00f6d03b3 | Quoted defines are not correctly generated in Conan premake
To help us debug your issue please explain:
- [X] I've read the [CONTRIBUTING guide](https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md).
- [X] I've specified the Conan version, operating system version and any tool that can be relevant... | diff --git a/conans/client/generators/premake.py b/conans/client/generators/premake.py
index 7722a2d8b..c6a84800e 100644
--- a/conans/client/generators/premake.py
+++ b/conans/client/generators/premake.py
@@ -11,12 +11,12 @@ class PremakeDeps(object):
for p in deps_cpp_info.lib_path... |
conan-io__conan-5052 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/msbuild.py:MSBuild.get_command"
],
"edited_modules": [
"conans/client/build/msbuild.py:MSBuild"
]
},
"file": "conans/client/build/msbuild.py"
},
... | conan-io/conan | adaff15046992ee24c18433647a167bf8ae8ceff | MSBuild should allow "do not adjust PlatformToolset" with an argument
Hey,
In https://github.com/conan-io/conan/pull/4250 the default behavior of VisualStudio's toolset selection was changed to compile the whole solution using the same toolset (the `/p:PlatformToolset` is always set - see discussion here https://git... | diff --git a/conans/client/build/msbuild.py b/conans/client/build/msbuild.py
index 4123d2a1e..2e7edebb7 100644
--- a/conans/client/build/msbuild.py
+++ b/conans/client/build/msbuild.py
@@ -104,7 +104,8 @@ class MSBuild(object):
build_type = build_type or self._settings.get_safe("build_type")
arch = ... |
conan-io__conan-5069 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cache/cache.py:ClientCache.base_folder",
"conans/client/cache/cache.py:ClientCache.conan_packages",
"conans/client/cache/cache.py:ClientCache.conan_builds",
"conans... | conan-io/conan | a9d0842e4784bee91c44934a09def1ccd0f6b269 | Move memsharded/hello repository to the conan-io organization
When using the ``conan new`` command, the conanfile.py created points to https://github.com/memsharded/hello and it is a bit weird to use an example out of the organization.
We should move it to a isolated repo in the conan-io org and give it a better nam... | diff --git a/conans/client/cache/cache.py b/conans/client/cache/cache.py
index 317153e0e..b2cb956a4 100644
--- a/conans/client/cache/cache.py
+++ b/conans/client/cache/cache.py
@@ -88,11 +88,6 @@ class ClientCache(object):
def store(self):
return self._store_folder
- def base_folder(self, ref):
- ... |
conan-io__conan-5070 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/uploader.py:compress_files"
],
"edited_modules": [
"conans/client/cmd/uploader.py:compress_files"
]
},
"file": "conans/client/cmd/uploader.py"
},
... | conan-io/conan | a9d0842e4784bee91c44934a09def1ccd0f6b269 | [Bug] Error on editable package if 'build_folder' is in layout file
Since the arrival of workspaces, a layout file can contain a `build_folder` section. Nevertheless, this layout fails if used with an editable package (not inside a workspace). Test provided by @lasote ([source](https://github.com/conan-io/conan/compare... | diff --git a/conans/client/cmd/uploader.py b/conans/client/cmd/uploader.py
index 820d4bcb7..22ed4ded6 100644
--- a/conans/client/cmd/uploader.py
+++ b/conans/client/cmd/uploader.py
@@ -505,6 +505,7 @@ def compress_files(files, symlinks, name, dest_dir, output=None):
info = tarfile.TarInfo(name=filename)
... |
conan-io__conan-508 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/deps_builder.py:DepsBuilder._create_new_node"
],
"edited_modules": [
"conans/client/deps_builder.py:DepsBuilder"
]
},
"file": "conans/client/deps_builder.... | conan-io/conan | 2167f1f59f670b87acb69efd117f79ff506ed99f | Memory error when download very big packages
`conan install node/6.1.0@silkedit/stable -s compiler="Visual Studio" -s compiler.version=14`
Downloader.download method keeps in memory too much data.
```
DEBUG :uploader_downloader.py[74]: <type 'exceptions.MemoryError'> [2016-09-23 15:15:02,983]
DEBUG :uploader_... | diff --git a/conans/client/deps_builder.py b/conans/client/deps_builder.py
index 341d1c41a..83c9c8821 100644
--- a/conans/client/deps_builder.py
+++ b/conans/client/deps_builder.py
@@ -416,7 +416,7 @@ class DepsBuilder(object):
def _create_new_node(self, current_node, dep_graph, requirement, public_deps, name_req)... |
conan-io__conan-5102 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conans/tools.py"
}
] | conan-io/conan | 5bb2fee4ecd42f771edf88163901c8a3cd6d3b50 | [BUG] Conan Tools does not export detected_os
To help us debug your issue please explain:
When I was updating cmake_installer, I just found that `detected_os` is not exported by conans.tools
Conan Version 1.15.0
```python
from conans import tools
if __name__ == "__main__":
tools.detected_os()
```
**E... | diff --git a/conans/tools.py b/conans/tools.py
index ee26518ea..5647ce862 100644
--- a/conans/tools.py
+++ b/conans/tools.py
@@ -111,6 +111,7 @@ def replace_path_in_file(*args, **kwargs):
# from conans.client.tools.oss
args_to_string = tools_oss.args_to_string
detected_architecture = tools_oss.detected_architecture
... |
conan-io__conan-5110 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cache/remote_registry.py:Remotes._add_update"
],
"edited_modules": [
"conans/client/cache/remote_registry.py:Remotes"
]
},
"file": "conans/client/cache/re... | conan-io/conan | c1375a0a49bf1d8498d6bb62e46fb565c5d4c0e5 | Conan remote update command error in 1.15
With the Conan 1.15 release it is no longer possible to use the `conan remote update` command to ensure an existing remote is configured to be at the specified index. Reverting to Conan 1.14 sees the command work as expected.
conan remote update ci-conan https://my-artif... | diff --git a/conans/client/cache/remote_registry.py b/conans/client/cache/remote_registry.py
index eaedf2d2e..6d55b484d 100644
--- a/conans/client/cache/remote_registry.py
+++ b/conans/client/cache/remote_registry.py
@@ -230,7 +230,7 @@ class Remotes(object):
def _add_update(self, remote_name, url, verify_ssl, i... |
conan-io__conan-5189 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/cmd/export.py:_replace_scm_data_in_conanfile"
],
"edited_modules": [
"conans/client/cmd/export.py:_replace_scm_data_in_conanfile"
]
},
"file": "conans/cli... | conan-io/conan | 6022abf83a61e7bba720bff4349118ee818b018e | conan new template recipes
A use case where a team is creating many packages for their own libraries, and the recipes are very similar, it is useful to have the possibility to use a pre-defined template for the ``conan new`` command.
| diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index 250bee4ab..9a8df9a5e 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -208,11 +208,16 @@ def _replace_scm_data_in_conanfile(conanfile_path, scm_data):
tree = ast.parse(content)
to_replace = []
commen... |
conan-io__conan-5220 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/build/cmake.py:CMake.__init__"
],
"edited_modules": [
"conans/client/build/cmake.py:CMake"
]
},
"file": "conans/client/build/cmake.py"
},
{
"chang... | conan-io/conan | 5a614a568ad0c5b4f958736b161f23746f0df949 | Cmake build helper + Intel Fortran
This is similar to #2747, but there isn't as elegant a workaround, so I thought it was worth opening an issue.
Intel fortran doesn't understand the verbosity command, and it causes the build to fail.
The workaround I came up with is this:
cmake = CMake(self, paral... | diff --git a/conans/client/build/cmake.py b/conans/client/build/cmake.py
index d11e398f3..d1d039e4e 100644
--- a/conans/client/build/cmake.py
+++ b/conans/client/build/cmake.py
@@ -23,7 +23,7 @@ class CMake(object):
def __init__(self, conanfile, generator=None, cmake_system_name=True,
parallel=... |
conan-io__conan-5221 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/conf/config_installer.py:_process_folder"
],
"edited_modules": [
"conans/client/conf/config_installer.py:_process_folder"
]
},
"file": "conans/client/conf... | conan-io/conan | 5a614a568ad0c5b4f958736b161f23746f0df949 | cmake_multi does not use Release lib for RelWithDebInfo
Hello,
I'm using cmake_multi generator to build my project using visual studio.
I noticed that cmake_multi does not handel ReleaseWithDebInfo nor MinSizeRel
An example from my conanbuildinfo_multi.cmake
```
add_library(CONAN_PKG::my_package INTERFACE IM... | diff --git a/conans/client/conf/config_installer.py b/conans/client/conf/config_installer.py
index 091f9718a..b9f33730c 100644
--- a/conans/client/conf/config_installer.py
+++ b/conans/client/conf/config_installer.py
@@ -90,9 +90,13 @@ def _process_folder(config, folder, cache, output):
output.info("De... |
conan-io__conan-6138 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conans/client/cmd/export_pkg.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"cona... | conan-io/conan | d42ec055d459489c184b160cafbd3f200ceb6d41 | [bug] conan download pkg/version@user/channel#randomrev downloads latest
Latest 1.20, Windows 10, python 3.7
With revisions disable this doesn't fail (it should). And worse, it creates an entry with revision ``randomrev`` in the cache.
Also, it seems that it is not possible to ``conan download`` a package with a ... | diff --git a/conans/client/cmd/export_pkg.py b/conans/client/cmd/export_pkg.py
index 09a98959c..a4fc16f26 100644
--- a/conans/client/cmd/export_pkg.py
+++ b/conans/client/cmd/export_pkg.py
@@ -4,7 +4,6 @@ from conans.client import packager
from conans.client.graph.graph_manager import load_deps_info
from conans.error... |
conan-io__conan-6143 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conans/client/cmd/export_pkg.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"cona... | conan-io/conan | d42ec055d459489c184b160cafbd3f200ceb6d41 | [feature] add PREV to export-pkg --json output
I want to be sure I am uploading the correct package after a build on my CI server. If I am understanding package revisions correctly then I need to provide a full reference to the `conan upload` command, specifying the PREV (e.g. `lib/1.0@conan/stable#RREV:PACKAGE_ID#PRE... | diff --git a/conans/client/cmd/export_pkg.py b/conans/client/cmd/export_pkg.py
index 09a98959c..a4fc16f26 100644
--- a/conans/client/cmd/export_pkg.py
+++ b/conans/client/cmd/export_pkg.py
@@ -4,7 +4,6 @@ from conans.client import packager
from conans.client.graph.graph_manager import load_deps_info
from conans.error... |
conan-io__conan-6334 | [
{
"changes": {
"added_entities": [
"conans/client/cmd/export.py:_replace_scm_data_in_recipe"
],
"added_modules": [
"conans/client/cmd/export.py:_replace_scm_data_in_recipe"
],
"edited_entities": [
"conans/client/cmd/export.py:cmd_export",
"conans/cli... | conan-io/conan | 812c8ec8185e24b2bc41fb6e855d35c925526670 | [question] do not save username and password in exported scm object
We are used the scm object as bellow:
```
scm = {
'type': 'git',
'url': 'auto',
'revision': 'auto',
'username': tools.get_env("GIT_USERNAME", None),
'password': tools.get_env("GIT_PASSWORD", None)
}
``... | diff --git a/conans/client/cmd/export.py b/conans/client/cmd/export.py
index e6f89b90d..8aee04fce 100644
--- a/conans/client/cmd/export.py
+++ b/conans/client/cmd/export.py
@@ -3,6 +3,7 @@ import os
import shutil
import six
+import yaml
from conans.client.file_copier import FileCopier
from conans.client.output ... |
conan-io__conan-8355 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conans/client/tools/scm.py:SCMBase._handle_url_pattern",
"conans/client/tools/scm.py:SCMBase.get_url_with_credentials"
],
"edited_modules": [
"conans/client/tools/scm.py:SCMB... | conan-io/conan | b4653a1e18e882a5067676ee4a32efb03e452009 | [bug] passwords with special characters not properly encoded when checking out sources from SCM
Authentication started failing after upgrading to 1.32.0
### Environment Details (include every applicable attribute)
* Operating System+version:
* Compiler+version:
* Conan version: 1.32.0
* Python version:
... | diff --git a/conans/client/tools/scm.py b/conans/client/tools/scm.py
index 2d77b9494..b8cb2cfec 100644
--- a/conans/client/tools/scm.py
+++ b/conans/client/tools/scm.py
@@ -69,27 +69,38 @@ class SCMBase(object):
return "{user}@{domain}:{url}".format(user=user, domain=domain, url=url)
def _handle_url_pat... |
conan-io__conan-9431 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conan/tools/_compilers.py:_cppstd_gcc"
],
"edited_modules": [
"conan/tools/_compilers.py:_cppstd_gcc"
]
},
"file": "conan/tools/_compilers.py"
},
{
"changes": {... | conan-io/conan | 629813b1a1c791022ee1b5e1a18b51fb110f4098 | can't use c++17 with gcc 5
<!--
Please don't forget to update the issue title.
Include all applicable information to help us reproduce your problem.
To help us debug your issue please explain:
-->
installing with `compiler.cppstd=17 compiler=gcc compiler.version=5` fails even though GCC 5 supports c++17.
... | diff --git a/conan/tools/_compilers.py b/conan/tools/_compilers.py
index 2eaa2718c..23c952a92 100644
--- a/conan/tools/_compilers.py
+++ b/conan/tools/_compilers.py
@@ -302,7 +302,7 @@ def _cppstd_gcc(gcc_version, cppstd):
v14 = "c++1y"
vgnu14 = "gnu++1y"
- if Version(gcc_version) >= "5.1":
+ ... |
conda-incubator__conda-recipe-manager-49 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "conda_recipe_manager/parser/_types.py"
},
{
"changes": {
"added_entities": [
"conda_recipe_manager/parser/recipe_parser_convert.py:Recip... | conda-incubator/conda-recipe-manager | 06e7793ff584a6d21a3ce19d384a070c5a311a5c | Add `merge_build_host` transformation
We are missing a transformation of the `merge_build_host` field from CEP-14:
```
# merge the build and host environments (used in many R packages on Windows)
# was `merge_build_host`
merge_build_and_host_envs: bool (defaults to false)
```
`rattler-build` error:
```
... | diff --git a/conda_recipe_manager/parser/_types.py b/conda_recipe_manager/parser/_types.py
index fc3f85c..5cf081b 100644
--- a/conda_recipe_manager/parser/_types.py
+++ b/conda_recipe_manager/parser/_types.py
@@ -42,6 +42,28 @@ TOP_LEVEL_KEY_SORT_ORDER: Final[dict[str, int]] = {
"extra": 120,
}
+# Canonical sor... |
conda__conda-pack-26 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conda_pack/core.py:load_environment"
],
"edited_modules": [
"conda_pack/core.py:load_environment"
]
},
"file": "conda_pack/core.py"
}
] | conda/conda-pack | 4de05868865c3f8f5c592ee90fdff808cab44e36 | Properly handle root environment
The root environment is different than sub-environments in a couple key ways:
- The path contains extra directories like the package cache, `conda-bld` directory, etc...
- The environment contains conda itself, and may contain packages that depend on it (these are forbidden in sub-e... | diff --git a/conda_pack/core.py b/conda_pack/core.py
index 12478c2..c2b5655 100644
--- a/conda_pack/core.py
+++ b/conda_pack/core.py
@@ -659,6 +659,10 @@ def load_environment(prefix, unmanaged=True, on_missing_cache='warn'):
if not os.path.exists(conda_meta):
raise CondaPackException("Path %r is not a con... |
conda__conda-verify-36 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"conda_verify/checks.py:CondaPackageCheck.__init__",
"conda_verify/checks.py:CondaPackageCheck.check_index_dependencies_specs",
"conda_verify/checks.py:CondaRecipeCheck.__init__",
... | conda/conda-verify | 0d50ea4da07553380b9077495f6ec863d062385c | Pre-release versioning throws C1114
Prerelease versioning such as 2.0.0a0 will throw C1114 even though it's an acceptable versioning format. | diff --git a/conda_verify/checks.py b/conda_verify/checks.py
index 1d8c170..a059c14 100644
--- a/conda_verify/checks.py
+++ b/conda_verify/checks.py
@@ -21,6 +21,8 @@ from conda_verify.utilities import (all_ascii, get_bad_seq, get_object_type,
ensure_list, fullmatch)
+ver_spec_p... |
construct__construct-1040 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "construct/expr.py"
}
] | construct/construct | c2819dc93507c5467d134ed2b58fc2dd895c96d8 | Bitwise And is compiled as logical And
`ExprMixin` for bitwise has different behavior when compiled.
The following test is sufficient to catch the problem
```python
def test_compile_binexpr_bitwise_and():
d = Struct(
"a" / Int8ub,
"cond" / If(this.a & 32, Int8ub),
Terminated,
)... | diff --git a/construct/expr.py b/construct/expr.py
index 00a63f2..c1dd179 100644
--- a/construct/expr.py
+++ b/construct/expr.py
@@ -14,8 +14,8 @@ opnames = {
operator.xor : "^",
operator.lshift : "<<",
operator.rshift : ">>",
- operator.and_ : "and",
- operator.or_ : "or",
+ operator.and_ : "&"... |
construct__construct-277 | [
{
"changes": {
"added_entities": [
"construct/expr.py:Path.__getitem__"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"construct/expr.py:Path"
]
},
"file": "construct/expr.py"
}
] | construct/construct | 93fee38c2f17a10cdd35aa5db13ec1eb4a4bb517 | Support indexing on this.
Simply adding a `__getitem__` to the Path, we then have the this expression to work with `[]`
This addition allows the following expression to work.
`this['flag with spaces'] == 0`
```
diff --git a/construct/expr.py b/construct/expr.py
index f20c6a0..5a5371e 100644
--- a/construct/ex... | diff --git a/construct/expr.py b/construct/expr.py
index f20c6a0..765986a 100644
--- a/construct/expr.py
+++ b/construct/expr.py
@@ -146,6 +146,8 @@ class Path(ExprMixin):
return context2[self.__name]
def __getattr__(self, name):
return Path(name, self)
+ def __getitem__(self, name):
+ ret... |
construct__construct-363 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"construct/core.py:_read_stream",
"construct/core.py:_write_stream",
"construct/core.py:Bitwise",
"construct/core.py:Bytewise",
"construct/core.py:BitsInteger._parse",
... | construct/construct | a8a3645789c832a8ea6260728f81d36dddf899c4 | Error message says 'bytes', not bits when there aren't enough bits for BitsInteger
If you try to read `x` more bits than are available using a BitsInteger, the error message incorrectly states that you are trying to request `x` extra bytes, not bits.
Example code:
```python
from construct import BitStruct, Bit, ... | diff --git a/construct/core.py b/construct/core.py
index ec37366..976384f 100644
--- a/construct/core.py
+++ b/construct/core.py
@@ -64,26 +64,26 @@ def singleton(cls):
def singletonfunction(func):
return func()
-def _read_stream(stream, length):
+def _read_stream(stream, length, unitname="bytes"):
# if no... |
construct__construct-399 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"construct/core.py:RepeatUntil._parse"
],
"edited_modules": [
"construct/core.py:RepeatUntil"
]
},
"file": "construct/core.py"
}
] | construct/construct | 670eb6c1b6e9f6c9e6ea7102d08d115612818134 | RepeatUntil catches too broad of Exception, gives misleading message
The following code:
```python
from construct import RepeatUntil, Const, Struct, Int32ul
data = b"\x01\x00\x00\x00" * 10
TEN_ONES = Struct(
RepeatUntil(lambda obj, lst, ctx: len(lst) == 10, Const(Int32ul, 1))
)
TEN_TWOS = Struct(
... | diff --git a/construct/core.py b/construct/core.py
index 85406a7..9b3bbc4 100644
--- a/construct/core.py
+++ b/construct/core.py
@@ -1126,17 +1126,12 @@ class RepeatUntil(Subconstruct):
super(RepeatUntil, self).__init__(subcon)
self.predicate = predicate
def _parse(self, stream, context, path):
-... |
construct__construct-889 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"construct/core.py:Construct.build_file"
],
"edited_modules": [
"construct/core.py:Construct"
]
},
"file": "construct/core.py"
}
] | construct/construct | 2626b398a676191114f6ce5d8db903e9590700db | build_file() crashes when using RawCopy with a value only
Thank you for construct!
Here's a failing test case:
def test_rawcopy_build_file_from_value_only(tmpdir):
d = RawCopy(Byte)
d.build_file(dict(value=0), filename=tmpdir.join('test'))
Version: master branch, commit 2626b39.
Expect... | diff --git a/construct/core.py b/construct/core.py
index d2ec15e..785f4a0 100644
--- a/construct/core.py
+++ b/construct/core.py
@@ -351,7 +351,10 @@ class Construct(object):
r"""
Build an object into a closed binary file. See build().
"""
- with open(filename, 'wb') as f:
+ # O... |
containers__podman-py-250 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "podman/api/__init__.py"
},
{
"changes": {
"added_entities": [
"podman/api/parse_utils.py:stream_helper"
],
"added_modules": ... | containers/podman-py | 803d2f070f57481b8df234c298cf4a278c7199c4 | Streaming not supported in Container.top
Current implementation of `top` method on container doesn't support streaming.
If we try to stream, it just hangs up infinitely.
```
Python 3.10.9 (main, Dec 19 2022, 17:35:49) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>... | diff --git a/podman/api/__init__.py b/podman/api/__init__.py
index 393f653..b16bc38 100644
--- a/podman/api/__init__.py
+++ b/podman/api/__init__.py
@@ -11,6 +11,7 @@ from podman.api.parse_utils import (
prepare_cidr,
prepare_timestamp,
stream_frames,
+ stream_helper,
)
from podman.api.tar_utils imp... |
contentful__contentful-management.py-117 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"contentful_management/content_type_field.py:ContentTypeField.__init__",
"contentful_management/content_type_field.py:ContentTypeField.to_json"
],
"edited_modules": [
"content... | contentful/contentful-management.py | aa2b9e4fcd7b22685e959d6b04df95d78613a8c8 | Updating a content type that has field's without default values causes an error
If i run:
```python
myContentType = (
contentful_management.Client(CONTENTFUL_MANAGEMENT_TOKEN, default_locale="en")
.environments(CONTENTFUL_SPACE_ID)
.find(environment)
.content_types()
.find("myContentType")
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9d02b3f..0ea0b1c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
### Changed
* Updated `pyyaml` version to fix a vulnerability.
+* Fixed defaultValues omit instead of None for fields in content types.
## v2.14.0
* Adds support for cross-space reference... |
contentful__contentful.py-49 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"contentful/asset.py:Asset.url"
],
"edited_modules": [
"contentful/asset.py:Asset"
]
},
"file": "contentful/asset.py"
}
] | contentful/contentful.py | 971173ab4d0391889dd90d127f2cff94f668cf17 | Optional linked assets cannot be represented
`Asset.__repr__()` utilises `Asset.url()` which depends on `file` instance attribute.
If the asset is optional and not set, the object cannot be represented: `'contentful.asset.Asset object' has no attribute 'file'`. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1be23e4..d70c0ee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
# CHANGELOG
## Unreleased
+### Fixed
+* Assets with empty or missing files no longer error when trying to get it serialized to string. [#48](https://github.com/contentful/contentful.py/issues... |
cookiecutter__cookiecutter-1144 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"cookiecutter/vcs.py:clone"
],
"edited_modules": [
"cookiecutter/vcs.py:clone"
]
},
"file": "cookiecutter/vcs.py"
}
] | cookiecutter/cookiecutter | bc5291e4376dafd1207405f210b5e41991a978fd | Fail with gitolite repository
* Cookiecutter version: 1.6.0
* Template project url: Any
* Python version: Any (tested in 3.7)
* Operating System: Any (testes in ubuntu 16.04 and w$ 10)
### Description:
You are running a gitolite in "gitserver" and have a repository "mytemplate". When you run this::
cook... | diff --git a/cookiecutter/vcs.py b/cookiecutter/vcs.py
index ee4feea..417b4ea 100644
--- a/cookiecutter/vcs.py
+++ b/cookiecutter/vcs.py
@@ -70,6 +70,7 @@ def clone(repo_url, checkout=None, clone_to_dir='.', no_input=False):
:param clone_to_dir: The directory to clone to.
Defaults to the ... |
cookiecutter__cookiecutter-1168 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"cookiecutter/prompt.py:read_user_choice"
],
"edited_modules": [
"cookiecutter/prompt.py:read_user_choice"
]
},
"file": "cookiecutter/prompt.py"
},
{
"changes": ... | cookiecutter/cookiecutter | 5c282f020a8db7e5e7c4e7b51b010556ca31fb7f | Choice options are redundant using cookiecutter with latest click package
* Cookiecutter version: 1.6.0 -- installed via `pip install`
* Template project url: n/a
* Python version: 3.7
* Operating System: Windows 10
### Description:
If cookiecutter.json has the following:
```json
{
"my_choice": ["a","b"]
... | diff --git a/AUTHORS.rst b/AUTHORS.rst
index 8b39d81..a1afb70 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -127,6 +127,7 @@ Contributors
* Jonathan Sick (`@jonathansick`_)
* Hugo (`@hugovk`_)
* Min ho Kim (`@minho42`_)
+* Ryan Ly (`@rly`_)
.. _`@cedk`: https://github.com/cedk
.. _`@johtso`: https://github.com/j... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.