diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-08-12 10:20:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-08-12 10:20:53 +0300 |
commit | d37fb2ae726446b79cb142e4b86a8ef7942043f4 (patch) | |
tree | 247e7213ccbaae8186e4aba46125131c72edba66 /examples/my_repos.py | |
parent | remove pull.sh (diff) | |
download | cgitize-d37fb2ae726446b79cb142e4b86a8ef7942043f4.tar.gz cgitize-d37fb2ae726446b79cb142e4b86a8ef7942043f4.zip |
move options to a config file
Diffstat (limited to 'examples/my_repos.py')
-rw-r--r-- | examples/my_repos.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/my_repos.py b/examples/my_repos.py new file mode 100644 index 0000000..2047b8d --- /dev/null +++ b/examples/my_repos.py @@ -0,0 +1,12 @@ +from pull.repo import BitbucketRepo, GithubRepo, Repo + + +MY_REPOS = ( + GithubRepo('xyz'), + GithubRepo('foo/bar', user='test', via_ssh=False), + + BitbucketRepo('xyz'), + BitbucketRepo('foo/bar', desc='Foo (Bar)'), + + Repo('tmp/tmp', clone_url='https://example.com/tmp.git', owner='John Doe'), +) |