~edwargix/git.sr.ht

172165411289cb6d0b0dfcd46d291326046444fa — Drew DeVault 8 years ago 358b2d0
Fix push
2 files changed, 2 insertions(+), 2 deletions(-)

M git-srht-keys
M gitsrht/blueprints/public.py
M git-srht-keys => git-srht-keys +1 -1
@@ 104,7 104,7 @@ def shell():

    from srht.database import DbSession
    db = DbSession(cfg("sr.ht", "connection-string"))
    from gitsrht.types import User, Repository
    from gitsrht.types import User, Repository, RepoVisibility
    db.init()

    user = User.query.filter(User.id == user_id).first()

M gitsrht/blueprints/public.py => gitsrht/blueprints/public.py +1 -1
@@ 28,7 28,7 @@ def cgit_passthrough(user, repo, cgit_path):
        abort(r.status_code)
    base = cfg("network", "git").replace("http://", "").replace("https://", "")
    clone_urls = [
        "git@" + base + ":~{}/{}",
        "ssh://git@" + base + ":~{}/{}",
        "https://" + base + "/~{}/{}",
        "git://" + base + "/~{}/{}"
    ]