Update links

This commit is contained in:
Andrew Ferrazzutti 2021-03-19 13:30:09 -04:00
parent 595effa02a
commit 8263023d2b
4 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ class MessagesBridge(Bridge):
command = "python -m matrix_puppeteer_line" command = "python -m matrix_puppeteer_line"
description = ("A very hacky Matrix-LINE bridge based on running " description = ("A very hacky Matrix-LINE bridge based on running "
"LINE's Chrome extension in Puppeteer.") "LINE's Chrome extension in Puppeteer.")
repo_url = "git://miscworks.net/matrix-puppeteer-line" repo_url = "https://src.miscworks.net/fair/matrix-puppeteer-line"
real_user_content_key = "net.miscworks.line.puppet" real_user_content_key = "net.miscworks.line.puppet"
version = version version = version
markdown_version = linkified_version markdown_version = linkified_version

View File

@ -19,7 +19,7 @@ def run(cmd):
if os.path.exists(".git") and shutil.which("git"): if os.path.exists(".git") and shutil.which("git"):
try: try:
git_revision = run(["git", "rev-parse", "HEAD"]).strip().decode("ascii") git_revision = run(["git", "rev-parse", "HEAD"]).strip().decode("ascii")
git_revision_url = f"git://miscworks.net/matrix-puppeteer-line/commit/{git_revision}" git_revision_url = f"https://src.miscworks.net/fair/matrix-puppeteer-line/commit/{git_revision}"
git_revision = git_revision[:8] git_revision = git_revision[:8]
except (subprocess.SubprocessError, OSError): except (subprocess.SubprocessError, OSError):
git_revision = "unknown" git_revision = "unknown"

View File

@ -4,13 +4,13 @@
"description": "Puppeteer module for matrix-puppeteer-line", "description": "Puppeteer module for matrix-puppeteer-line",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://miscworks.net/matrix-puppeteer-line.git" "url": "git+https://src.miscworks.net/fair/matrix-puppeteer-line.git"
}, },
"type": "module", "type": "module",
"main": "src/main.js", "main": "src/main.js",
"author": "Andrew Ferrazzutti <fair@miscworks.net>", "author": "Andrew Ferrazzutti <fair@miscworks.net>",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"homepage": "https://miscworks.net/dir/matrix-puppeteer-line", "homepage": "https://src.miscworks.net/fair/matrix-puppeteer-line",
"scripts": { "scripts": {
"start": "node ./src/main.js" "start": "node ./src/main.js"
}, },

View File

@ -35,12 +35,12 @@ linkified_version = {linkified_version!r}
setuptools.setup( setuptools.setup(
name="matrix-puppeteer-line", name="matrix-puppeteer-line",
version=version, version=version,
url="git://miscworks.net/matrix-puppeteer-line", url="https://src.miscworks.net/fair/matrix-puppeteer-line",
author="Tulir Asokan", author="Andrew Ferrazzutti",
author_email="tulir@maunium.net", author_email="fair@miscworks.net",
description="A very hacky Matrix-SMS bridge based on using Android Messages for Web in Puppeteer.", description="A very hacky Matrix-LINE bridge based on running LINE's Chrome extension in Puppeteer.",
long_description=long_desc, long_description=long_desc,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",