fix: update project source links, kallithea -> forgejo
This commit is contained in:
parent
515ccc9f0c
commit
00b0082302
|
@ -31,8 +31,8 @@ dependencies = [
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://rattailproject.org"
|
Homepage = "https://rattailproject.org"
|
||||||
Repository = "https://kallithea.rattailproject.org/rattail-project/rattail-fabric2"
|
Repository = "https://forgejo.wuttaproject.org/rattail/rattail-fabric2"
|
||||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-fabric2/files/master/CHANGELOG.md"
|
Changelog = "https://forgejo.wuttaproject.org/rattail/rattail-fabric2/src/branch/master/CHANGELOG.md"
|
||||||
|
|
||||||
|
|
||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
|
|
|
@ -103,7 +103,7 @@ def deploy_backup_app(c, deploy, envname, mkvirtualenv=True, user='rattail',
|
||||||
# rattail
|
# rattail
|
||||||
mkdir(c, os.path.join(envpath, 'src'), use_sudo=True, runas_user=user)
|
mkdir(c, os.path.join(envpath, 'src'), use_sudo=True, runas_user=user)
|
||||||
if not exists(c, os.path.join(envpath, 'src/rattail')):
|
if not exists(c, os.path.join(envpath, 'src/rattail')):
|
||||||
c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/rattail {}/src/rattail'.format(envpath), user=user)
|
c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/rattail.git {envpath}/src/rattail', user=user)
|
||||||
c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf {0}/bin/pip install --editable {0}/src/rattail'".format(envpath),
|
c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf {0}/bin/pip install --editable {0}/src/rattail'".format(envpath),
|
||||||
user=user)
|
user=user)
|
||||||
deploy_generic(c, 'backup/git-exclude', os.path.join(envpath, 'src/rattail/.git/info/exclude'), use_sudo=True, owner=user)
|
deploy_generic(c, 'backup/git-exclude', os.path.join(envpath, 'src/rattail/.git/info/exclude'), use_sudo=True, owner=user)
|
||||||
|
|
|
@ -33,7 +33,7 @@ def install_from_source(c, user='rattail'):
|
||||||
"""
|
"""
|
||||||
if not exists(c, '/usr/local/src/byjove'):
|
if not exists(c, '/usr/local/src/byjove'):
|
||||||
mkdir(c, '/usr/local/src/byjove', use_sudo=True, owner=user)
|
mkdir(c, '/usr/local/src/byjove', use_sudo=True, owner=user)
|
||||||
c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/byjove /usr/local/src/byjove',
|
c.sudo('git clone https://forgejo.wuttaproject.org/rattail/byjove.git /usr/local/src/byjove',
|
||||||
user=user)
|
user=user)
|
||||||
c.sudo("bash -l -c 'cd /usr/local/src/byjove; npm link'",
|
c.sudo("bash -l -c 'cd /usr/local/src/byjove; npm link'",
|
||||||
user=user)
|
user=user)
|
||||||
|
|
Loading…
Reference in a new issue