refactor: replace references with new url

This commit is contained in:
Daylin Morgan 2023-05-31 10:46:37 -05:00
parent df549555ea
commit ae77c15827
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -51,7 +51,7 @@ from typing import (
from urllib.error import HTTPError from urllib.error import HTTPError
from urllib.request import urlopen from urllib.request import urlopen
__version__ = "23.5a4-13-ga6bd81d-dev" __version__ = "23.5a4-15-gdf54955-dev"
class Config: class Config:
@ -376,7 +376,7 @@ to create/activate a vivenv:
"\n".join((self._standalone_func, self._use_str(spec, standalone=True))) "\n".join((self._standalone_func, self._use_str(spec, standalone=True)))
) )
return f""" return f"""
# see `python3 <(curl -fsSL gh.dayl.in/viv/viv.py) --help` # see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help`
# <<<<< auto-generated by viv (v{__version__}) # <<<<< auto-generated by viv (v{__version__})
# fmt: off # fmt: off
{func_use} {func_use}
@ -923,9 +923,7 @@ class Viv:
def __init__(self) -> None: def __init__(self) -> None:
self.vivenvs = get_venvs() self.vivenvs = get_venvs()
self._get_sources() self._get_sources()
self.name = ( self.name = "viv" if self.local else "python3 <(curl -fsSL viv.dayl.in/viv.py)"
"viv" if self.local else "python3 <(curl -fsSL gh.dayl.in/viv/viv.py)"
)
def _get_sources(self) -> None: def _get_sources(self) -> None:
self.local_source: Optional[Path] = None self.local_source: Optional[Path] = None
@ -1172,7 +1170,7 @@ class Viv:
echo( echo(
"to re-install use: " "to re-install use: "
"`python3 <(curl -fsSL gh.dayl.in/viv/viv.py) manage install`" "`python3 <(curl -fsSL viv.dayl.in/viv.py) manage install`"
) )
def _pick_bin(self, args: Namespace) -> Tuple[str, str]: def _pick_bin(self, args: Namespace) -> Tuple[str, str]: