New issue 231: Kallithea 0.3 and 0.3.2, seems to improperly create git respository https://bitbucket.org/conservancy/kallithea/issues/231/kallithea-03-and-032-seems-to-improperly
Lutchy Horace: Hello, When creating a git repository, the folder structure is improper. Ie, Ansible_Playbooks, see below. ``` #!bash . |-- LHProjects-Network | |-- Ansible_Playbooks | | |-- HEAD | | |-- branches | | |-- config | | |-- description | | |-- hooks | | | |-- post-receive | | | `-- pre-receive | | |-- info | | | `-- exclude | | |-- objects | | | |-- info | | | `-- pack | | `-- refs | | |-- heads | | `-- tags ``` I don't personally use Git repositories, but unfortunately at this time, I need it for this specific use case. Furthermore, when I manually create a file and commit changes. I get HTTP 500 server error with the following traceback, see below. ``` #!python Error - <class 'kallithea.lib.vcs.exceptions.EmptyRepositoryError'>: There are no changesets yet URL: http://scm.lhprojects.net/LHProjects-Network/Ansible_Playbooks/changeset/tip File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__ app_iter = self.application(environ, sr_checker) File '/usr/local/libexec/scm/kallithea/kallithea/lib/middleware/sessionmiddleware.py', line 62 in __call__ return self.wrap_app(environ, session_start_response) File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/routes/middleware.py', line 131 in __c$ ll__ response = self.app(environ, start_response) File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/pylons/wsgiapp.py', line 103 in __call$ _ response = self.dispatch(controller, environ, start_response) File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/pylons/wsgiapp.py', line 313 in dispat$ h return controller(environ, start_response) File '/usr/local/libexec/scm/kallithea/kallithea/lib/base.py', line 446 in __call__ return WSGIController.__call__(self, environ, start_response) File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/pylons/controllers/core.py', line 214 $ n __call__ response = self._dispatch_call() File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/pylons/controllers/core.py', line 164 i n _dispatch_call response = self._inspect_call(func) File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 i n _inspect_call result = self._perform_call(func, args) File '/usr/local/libexec/scm/kallithea-venv/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call return func(**args) File '<decorator-gen-65>', line 2 in index File '/usr/local/libexec/scm/kallithea/kallithea/lib/auth.py', line 810 in __wrapper return func(*fargs, **fkwargs) File '<decorator-gen-64>', line 2 in index File '/usr/local/libexec/scm/kallithea/kallithea/lib/auth.py', line 857 in __wrapper return func(*fargs, **fkwargs) File '/usr/local/libexec/scm/kallithea/kallithea/controllers/changeset.py', line 326 in index return self._index(revision, method=method) File '/usr/local/libexec/scm/kallithea/kallithea/controllers/changeset.py', line 204 in _index rev_ranges = [c.db_repo_scm_instance.get_changeset(revision)] File '/usr/local/libexec/scm/kallithea/kallithea/lib/vcs/backends/git/repository.py', line 502 in get_changeset revision = self._get_revision(revision) File '/usr/local/libexec/scm/kallithea/kallithea/lib/vcs/backends/git/repository.py', line 279 in _get_revision raise EmptyRepositoryError("There are no changesets yet") EmptyRepositoryError: There are no changesets yet ``` It seems the quick fix is to move all the files and folders into a sub folder .git. Regards _______________________________________________ kallithea-general mailing list [email protected] http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
