1. When download mer source use MDS2 , a InvalidGitRepositoryError always
happens at specific file-path:
mer@linux-6u8n:~/workspace/mds-0210/mds> python2.7 tools/mds2.py 7000
2015-02-11 12:22:23,931 - mds2.git - INFO - mappingscache.xml exists, reusing
it Traceback (most recent call last): File "tools/mds2.py", line 492, in
<module> refresh_cache() File "tools/mds2.py", line 445, in refresh_cache
gitmds2.generate_mappings("mappingscache.xml", "lastevents.xml") File
"/home/mer/workspace/mds-0210/mds/tools/gitmds2.py", line 554, in
generate_mappings repo = git.Repo(x, odbt=git.GitDB) File
"/usr/local/lib/python2.7/site-packages/git/repo/base.py", line 162, in
__init__ raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError:
/home/mer/workspace/mds-0210/mds/packages-git/sb2-tools-template/hook
2 . local Mer setup :
we make a CorePrj.xml as this:
<project name="Core:i586"><title></title><description>Tied to
remote.</description><person role="maintainer"
userid="dongchai"/><debuginfo><disable/></debuginfo><build><enable/></build><publish><enable/></publish><repository
name="Core_i586"><arch>i586</arch></repository></project>
But:
mer@linux-6u8n:~/workspace> osc meta prj Core:${BS_ARCH} -F CorePrj.xml
Sending meta data...
Server returned an error: HTTP Error 401: basic auth failed
what's wrong ?