You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a side note, if there are no conandata.yml then the export works fine.
Seems to only be an issue if the conandata.yml is empty.
SeanSnyders
changed the title
Empty source conandata.yml file gives error with scm_to_conandata during recipe export
[bug] Empty source conandata.yml file gives error with scm_to_conandata during recipe export
Dec 15, 2020
Environment Details (include every applicable attribute)
machine_name
19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64)n/a
Steps to reproduce (Include if Applicable)
The goal was to have a recipe without (currently) any other data/settings in the
conandata.yml
, but use the SCM feature.conanfile.py
but using SCM feature and value of entryurl
, andrevision
both set toauto
.conandata.yml
next toconanfile.py
~/.conan/conan.conf
to setscm_to_conandata = True
conan export . user/testing --ignore-dirty
Gives error:
conandata.yml
to contain a dummy entry, e.g.dummy:
on first lineconan export . user/testing --ignore-dirty
Succeeds with SCM data written to the local conan cache export:
Logs (Executed commands with output) (Include/Attach if Applicable)
See above.
The text was updated successfully, but these errors were encountered: