# HG changeset patch # User Georges Racinet <georges.racinet@octobus.net> # Date 1578521978 -3600 # Wed Jan 08 23:19:38 2020 +0100 # Node ID e890e844cb26bc3632a6d35994a6a8a5fdf3239e # Parent 22b40d5604f99b3d6f82242c903dfdcb77152a35 General project structure we will have a `gitaly` Mercurial extension, but that should be just a thin registration layer for our command. Most of the code will be in the `hgitaly` package, for maximum flexibility and future proofing in case we really to evade from the extension thing. diff --git a/README.md b/README.md new file mode 100644 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# HGitaly + +HGitaly is Gitaly server for Mercurial. + diff --git a/hgext3rd/__init__.py b/hgext3rd/__init__.py new file mode 100644 --- /dev/null +++ b/hgext3rd/__init__.py @@ -0,0 +1,4 @@ +# name space package to host third party extensions +from __future__ import absolute_import +import pkgutil +__path__ = pkgutil.extend_path(__path__, __name__) diff --git a/hgext3rd/gitaly/__init__.py b/hgext3rd/gitaly/__init__.py new file mode 100644 diff --git a/hgitaly/__init__.py b/hgitaly/__init__.py new file mode 100644 diff --git a/setup.py b/setup.py new file mode 100644 --- /dev/null +++ b/setup.py @@ -0,0 +1,16 @@ +from setuptools import setup + +setup( + name='hgitaly', + version='0.0.1', + author='Georges Racinet', + author_email='georges.racinet@octobus.net', + url='https://dev.heptapod.net/heptapod/hgitaly', + description="Server-side implementation of Gitaly protocol for Mercurial", + long_description=open('README.md').read(), + keywords='hg mercurial heptapod gitlab', + license='GPLv2+', + package_data=dict(heptapod=['*.hgrc']), + packages=['hgitaly', 'hgext3rd.gitaly'], + install_requires=[], +)