Support non-git repositories
See original GitHub issueI’d like to be able to use conan-package-tools using perforce and jenkins (and storing packages in artifactory), in the current release (correct me if I’m wrong) this is not possible because ci_manager
tries to call git log
:
fatal: Not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "build.py", line 4, in <module>
builder = ConanMultiPackager(visual_versions=["15"], gcc_versions=["6"], clang_versions=["9.0"], archs=["x86_64"])
File "/Library/Python/2.7/site-packages/conan/packager.py", line 106, in __init__
self.ci_manager.get_commit_build_policy() or \
File "/Library/Python/2.7/site-packages/conan/ci_manager.py", line 54, in get_commit_build_policy
matches = prog.match(msg)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Non-Git code hosts (Perforce, Mercurial, Subversion, raw text ...
Non-Git code hosts (Perforce, Mercurial, Subversion, raw text, etc.) Sourcegraph natively supports all Git-based Version Control Systems (VCSs) and code ...
Read more >Non-git repository causes Code to grab all files on Mac #1817
When opening a non-git repository in Code, the Git tab seems to pull in every file on my Mac. In Windows, if the...
Read more >How to add remote Git repo to local non-git repo and keep it ...
To keep their work, the best way would be: # current dir is ~/oldversion # create a new directory mkdir ~/newversion # get...
Read more >Comparing non-git project with a git repo - Super User
I have a project that was always manually deployed to a server without Git (as the server was behind a firewall that could...
Read more >Multi-repository Support Released! - Visual Studio Blog
Support for multiple repositories means you can have up to 10 active Git repositories at once. This allows you to work with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@memsharded Yes that was the case, I had 2 different versions of conan, 0.30.0 on ~/Library/Python/ and 1.2.1 on /Library/Python.
Importing conan version using:
from conans import __version__ as client_version
reported 0.30.0, butconan
in my path was v1.2.1I uninstalled 0.30.0 and now everything works fine! Thank you @lasote and @memsharded for all your help 🥇
Yes, you always need to specify the “.”:
conan create <path> <pkg-reference>
=>conan create . user/channel
, from conan 1.0. Is it possible that you had an older conan version (<1.0) installed?