question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support non-git repositories

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
fedterzicommented, Apr 9, 2018

@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, but conan in my path was v1.2.1

I uninstalled 0.30.0 and now everything works fine! Thank you @lasote and @memsharded for all your help 🥇

1reaction
memshardedcommented, Apr 9, 2018

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found