Changeset - 7705fb94a874
[Not reviewed]
0 3 0
Lance Edgar (lance) - 1 month ago 2024-09-14 10:47:02
lance@edbob.org
fix: update project links, kallithea -> forgejo
3 files changed with 17 insertions and 20 deletions:
0 comments (0 inline, 0 general)
pyproject.toml
Show inline comments
 
@@ -141,15 +141,15 @@ rattail = "rattail.sil.columns:provide_columns"
 
"rattail.contrib.kehe" = "rattail.contrib.vendors.invoices.kehe:KeheInvoiceParser"
 
"rattail.contrib.unfi" = "rattail.contrib.vendors.invoices.unfi:UnfiInvoiceParser"
 

	
 

	
 
[project.urls]
 
Homepage = "https://rattailproject.org"
 
Repository = "https://kallithea.rattailproject.org/rattail-project/rattail"
 
Issues = "https://redmine.rattailproject.org/projects/rattail/issues"
 
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail/files/master/CHANGELOG.md"
 
Repository = "https://forgejo.wuttaproject.org/rattail/rattail"
 
Issues = "https://forgejo.wuttaproject.org/rattail/rattail/issues"
 
Changelog = "https://forgejo.wuttaproject.org/rattail/rattail/src/branch/master/CHANGELOG.md"
 

	
 

	
 
[tool.commitizen]
 
version_provider = "pep621"
 
tag_format = "v$version"
 
update_changelog_on_bump = true
rattail/projects/fabric/machines/theo-server/fabenv.py.dist.mako
Show inline comments
 
@@ -35,17 +35,17 @@ env.theo_admin_password = 'password'
 
# this is for the 'rattail' user within PostgreSQL
 
env.password_postgresql_rattail = 'password'
 

	
 
# this is used to secure the user session and/or cookie for the web app
 
env.theo_beaker_secret = 'ABCDEFGHIJKLMNOPQRST'
 

	
 
# these credentials are used to access the Rattail Project source code on
 
# Kallithea.  they are only needed if you are integrating with a proprietary
 
# POS system, and running from source
 
env.kallithea_username = 'username'
 
env.kallithea_password = 'password'
 
# these credentials are used to access the Rattail Project source code
 
# on Forgejo.  they are only needed if you are integrating with a
 
# proprietary POS system, and running from source
 
env.forgejo_username = 'username'
 
env.forgejo_password = 'password'
 

	
 
# these credentials are used to access the "restricted" Rattail Project PyPI.
 
# they are only needed if you are integrating with a proprietary POS system,
 
# and installing released packages instead of running from source
 
env.restricted_pypi_username = 'username'
 
env.restricted_pypi_password = 'password'
rattail/projects/fabric/machines/theo-server/fabfile.py.mako
Show inline comments
 
@@ -206,84 +206,81 @@ def install_theo_app(c, envname, production, port, from_source=False):
 
def install_theo_source(c, envroot):
 
    """
 
    Install source code for Theo
 
    """
 
    # rattail
 
    if not exists(c, '{}/src/rattail'.format(envroot)):
 
        c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/rattail {}/src/rattail'.format(envroot),
 
        c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/rattail.git {envroot}/src/rattail',
 
               user='rattail')
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/rattail'".format(envroot),
 
               user='rattail')
 

	
 
    # tailbone
 
    if not exists(c, '{}/src/tailbone'.format(envroot)):
 
        c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/tailbone {}/src/tailbone'.format(envroot),
 
        c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/tailbone.git {envroot}/src/tailbone',
 
               user='rattail')
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/tailbone'".format(envroot),
 
               user='rattail')
 

	
 
    ## begin catapult
 
    % if integrates_with == 'catapult':
 

	
 
    # onager
 
    if not exists(c, '{}/src/onager'.format(envroot)):
 
        c.sudo('git clone https://{}:{}@kallithea.rattailproject.org/rattail-restricted/onager {}/src/onager'.format(
 
            env.kallithea_username, env.kallithea_password, envroot),
 
        c.sudo(f'git clone https://{env.forgejo_username}:{env.forgejo_password}@forgejo.wuttaproject.org/rattail/onager.git {envroot}/src/onager',
 
               user='rattail', echo=False)
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/onager'".format(envroot),
 
               user='rattail')
 

	
 
    # rattail-onager
 
    if not exists(c, '{}/src/rattail-onager'.format(envroot)):
 
        c.sudo('git clone https://{}:{}@kallithea.rattailproject.org/rattail-restricted/rattail-onager {}/src/rattail-onager'.format(
 
            env.kallithea_username, env.kallithea_password, envroot),
 
        c.sudo(f'git clone https://{env.forgejo_username}:{env.forgejo_password}@forgejo.wuttaproject.org/rattail/rattail-onager.git {envroot}/src/rattail-onager',
 
               user='rattail', echo=False)
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/rattail-onager'".format(envroot),
 
               user='rattail')
 

	
 
    # tailbone-onager
 
    if not exists(c, '{}/src/tailbone-onager'.format(envroot)):
 
        c.sudo('git clone https://{}:{}@kallithea.rattailproject.org/rattail-restricted/tailbone-onager {}/src/tailbone-onager'.format(
 
            env.kallithea_username, env.kallithea_password, envroot),
 
        c.sudo(f'git clone https://{env.forgejo_username}:{env.forgejo_password}@forgejo.wuttaproject.org/rattail/tailbone-onager.git {envroot}/src/tailbone-onager',
 
               user='rattail', echo=False)
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/tailbone-onager'".format(envroot),
 
               user='rattail')
 

	
 
    ## end catapult
 
    % endif
 

	
 
    ## begin corepos
 
    % if integrates_with == 'corepos':
 

	
 
    # pycorepos
 
    if not exists(c, '{}/src/pycorepos'.format(envroot)):
 
        c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/pycorepos {}/src/pycorepos'.format(envroot),
 
        c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/pycorepos.git {envroot}/src/pycorepos',
 
               user='rattail')
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/pycorepos'".format(envroot),
 
               user='rattail')
 

	
 
    # rattail-corepos
 
    if not exists(c, '{}/src/rattail-corepos'.format(envroot)):
 
        c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/rattail-corepos {}/src/rattail-corepos'.format(envroot),
 
        c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/rattail-corepos.git {envroot}/src/rattail-corepos',
 
               user='rattail')
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/rattail-corepos'".format(envroot),
 
               user='rattail')
 

	
 
    # tailbone-corepos
 
    if not exists(c, '{}/src/tailbone-corepos'.format(envroot)):
 
        c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/tailbone-corepos {}/src/tailbone-corepos'.format(envroot),
 
        c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/tailbone-corepos.git {envroot}/src/tailbone-corepos',
 
               user='rattail')
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/tailbone-corepos'".format(envroot),
 
               user='rattail')
 

	
 
    ## end corepos
 
    % endif
 

	
 
    # theo
 
    if not exists(c, '{}/src/theo'.format(envroot)):
 
        c.sudo('git clone https://kallithea.rattailproject.org/rattail-project/theo {}/src/theo'.format(envroot),
 
        c.sudo(f'git clone https://forgejo.wuttaproject.org/rattail/theo.git {envroot}/src/theo',
 
               user='rattail')
 
        c.sudo("bash -c 'PIP_CONFIG_FILE={0}/pip.conf cd {0} && bin/pip install -e src/theo'".format(envroot),
 
               user='rattail')
 

	
 

	
 
<%text>##############################</%text>
0 comments (0 inline, 0 general)