diff --git a/Dockerfile b/Dockerfile index 0a745cfa9..0c875dd43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ubuntu:focal -MAINTAINER Grow SDK Authors +MAINTAINER Grow.dev Authors ARG grow_version RUN echo "Grow: $grow_version" diff --git a/Dockerfile.main b/Dockerfile.main index 2dd28935c..17ac7d5dd 100644 --- a/Dockerfile.main +++ b/Dockerfile.main @@ -1,5 +1,5 @@ FROM ubuntu:focal -MAINTAINER Grow SDK Authors +MAINTAINER Grow.dev Authors RUN echo "Grow: main branch" diff --git a/LICENSE b/LICENSE index 6677fae81..5037fff25 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2013-2018 The Grow SDK Authors (http://grow.io) +Copyright (c) 2013-2021 The Grow.dev Authors (http://grow.dev) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/description.txt b/description.txt index b740e8cf0..c39757321 100644 --- a/description.txt +++ b/description.txt @@ -1,5 +1,5 @@ Grow is a fresh, declarative, file-based static site generator for rapid -microsite production. Learn more at https://grow.io. +microsite production. Learn more at https://grow.dev. Key features: diff --git a/docker_push.sh b/docker_push.sh index 90d79a033..bfa71f662 100755 --- a/docker_push.sh +++ b/docker_push.sh @@ -23,7 +23,7 @@ docker build --no-cache --build-arg grow_version=$GROW_VERSION \ - < Dockerfile docker run --rm=true --workdir=/tmp -i grow/base:$GROW_VERSION \ - bash -c "git clone https://github.com/grow/grow.io.git && cd grow.io/ && grow install && grow build" + bash -c "git clone https://github.com/grow/grow.dev.git && cd grow.dev/ && grow install && grow build" if [ "$1" == "gcr.io" ] || [ "$1" == "all" ]; then # Google cloud registry. diff --git a/grow/commands/group.py b/grow/commands/group.py index e0d39637e..7728cebdd 100644 --- a/grow/commands/group.py +++ b/grow/commands/group.py @@ -6,7 +6,7 @@ from grow.deployments.destinations import local as local_destination HELP_TEXT = ('Grow is a declarative file-based website generator. Read docs at ' - 'https://grow.io. This is version {}.'.format(sdk_utils.VERSION)) + 'https://grow.dev. This is version {}.'.format(sdk_utils.VERSION)) # pylint: disable=unused-argument @click.group(help=HELP_TEXT) diff --git a/grow/common/urls_test.py b/grow/common/urls_test.py index 67bde5ce0..0cc3116d1 100644 --- a/grow/common/urls_test.py +++ b/grow/common/urls_test.py @@ -83,29 +83,29 @@ def test_relative_path_ext_dir(self): def test_scheme_and_port(self): """Scheme and port combinations.""" - url = urls.Url('/', host='grow.io') - self.assertEqual('http://grow.io/', str(url)) + url = urls.Url('/', host='grow.dev') + self.assertEqual('http://grow.dev/', str(url)) - url = urls.Url('/', host='grow.io', scheme='https') - self.assertEqual('https://grow.io/', str(url)) + url = urls.Url('/', host='grow.dev', scheme='https') + self.assertEqual('https://grow.dev/', str(url)) - url = urls.Url('/', host='grow.io', port=8080) - self.assertEqual('http://grow.io:8080/', str(url)) + url = urls.Url('/', host='grow.dev', port=8080) + self.assertEqual('http://grow.dev:8080/', str(url)) - url = urls.Url('/', host='grow.io', port=8080, scheme='https') - self.assertEqual('https://grow.io:8080/', str(url)) + url = urls.Url('/', host='grow.dev', port=8080, scheme='https') + self.assertEqual('https://grow.dev:8080/', str(url)) - url = urls.Url('/', host='grow.io', port=443) - self.assertEqual('https://grow.io/', str(url)) + url = urls.Url('/', host='grow.dev', port=443) + self.assertEqual('https://grow.dev/', str(url)) - url = urls.Url('/', host='grow.io', port=80) - self.assertEqual('http://grow.io/', str(url)) + url = urls.Url('/', host='grow.dev', port=80) + self.assertEqual('http://grow.dev/', str(url)) - url = urls.Url('/', host='grow.io', scheme='http') - self.assertEqual('http://grow.io/', str(url)) + url = urls.Url('/', host='grow.dev', scheme='http') + self.assertEqual('http://grow.dev/', str(url)) - url = urls.Url('/', host='grow.io', scheme='http', port=443) - self.assertEqual('http://grow.io:443/', str(url)) + url = urls.Url('/', host='grow.dev', scheme='http', port=443) + self.assertEqual('http://grow.dev:443/', str(url)) if __name__ == '__main__': diff --git a/grow/common/utils_test.py b/grow/common/utils_test.py index d632a6a34..ed468d7d8 100644 --- a/grow/common/utils_test.py +++ b/grow/common/utils_test.py @@ -15,27 +15,27 @@ class UtilsTestCase(unittest.TestCase): def test_clean_google_href(self): # Test without a match. - raw_input = 'Link' - expected = 'Link' + raw_input = 'Link' + expected = 'Link' actual = utils.clean_html(raw_input) self.assertEqual(expected, actual) # Test with ?q= - raw_input = 'Google Search' - expected = 'Google Search' + raw_input = 'Google Search' + expected = 'Google Search' actual = utils.clean_html(raw_input) self.assertEqual(expected, actual) # Test with &q= - raw_input = 'Google Search' - expected = 'Google Search' + raw_input = 'Google Search' + expected = 'Google Search' actual = utils.clean_html(raw_input) self.assertEqual(expected, actual) def test_clean_html_markdown(self): # Test without a match. - raw_input = 'Link' - expected = '[Link](https://grow.io/)' + raw_input = 'Link' + expected = '[Link](https://grow.dev/)' actual = utils.clean_html(raw_input, convert_to_markdown=True) self.assertEqual(expected, actual) @@ -176,13 +176,13 @@ def test_parse_deep_yaml_strings(self): def test_process_google_comments(self): # Google comment link. - raw = '
Link
' + raw = '
Link
' expected = '' actual = utils.clean_html(raw) self.assertEqual(expected, actual) # Google footnote link. - raw = 'Link' + raw = 'Link' expected = '' actual = utils.clean_html(raw) self.assertEqual(expected, actual) diff --git a/grow/sdk/updater.py b/grow/sdk/updater.py index 8220b8b1c..37cb1262d 100644 --- a/grow/sdk/updater.py +++ b/grow/sdk/updater.py @@ -92,7 +92,7 @@ def check_for_updates(self, auto_update_prompt=False, force=False): if sem_latest.major > sem_current.major: logging.info('') - logging.info(' A new major version of the Grow SDK is available.') + logging.info(' A new major version of Grow.dev is available.') logging.info(' Major version changes can be backwards incompatible.') logging.info(' Please check the release notes for upgrade instructions.') logging.info(' Release notes: {}'.format(url)) @@ -102,7 +102,7 @@ def check_for_updates(self, auto_update_prompt=False, force=False): return logging.info('') - logging.info(' Please update to the newest version of the Grow SDK.') + logging.info(' Please update to the newest version of Grow.dev.') logging.info(' Release notes: {}'.format(url)) logging.info(' Your version: {}, latest version: {}'.format( colors.stylize(str(sem_current), colors.EMPHASIS), @@ -156,7 +156,7 @@ def verify_required_version(self): grow_version_pattern = '{}-'.format(grow_version_pattern) spec_required = semantic_version.SimpleSpec(grow_version_pattern) if sem_current not in spec_required: - text = 'ERROR! Pod requires Grow SDK version: {}'.format( + text = 'ERROR! Pod requires Grow.dev version: {}'.format( self.pod.grow_version) logging.error(colors.stylize(text, colors.ERROR)) raise LatestVersionCheckError(text) diff --git a/grow/ui/admin/views/base.html b/grow/ui/admin/views/base.html index c3904f71b..2d013841c 100644 --- a/grow/ui/admin/views/base.html +++ b/grow/ui/admin/views/base.html @@ -34,8 +34,8 @@

{{pod.title}}

diff --git a/install.py b/install.py index bd5d61d8b..b8dd331e2 100755 --- a/install.py +++ b/install.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 # -*- coding: utf-8 -*- -"""Standalone Grow SDK installer. Downloads Grow SDK and sets up command aliases.""" +"""Standalone Grow.dev installer. Downloads Grow.dev and sets up command aliases.""" import argparse import datetime @@ -121,12 +121,12 @@ def install(rc_path=None, bin_path=None, force=False): bin_path = os.path.expanduser(bin_path or BIN_PATH) bin_dir = os.path.dirname(bin_path) - rc_comment = '# Added by Grow SDK Installer ({})'.format( + rc_comment = '# Added by Grow.dev Installer ({})'.format( datetime.datetime.now()) rc_path = os.path.expanduser(rc_path or get_rc_path()) rc_path_append = 'export PATH={}:$PATH'.format(bin_dir) - hai('{yellow}Welcome to the installer for Grow SDK v{}{/yellow}', version) + hai('{yellow}Welcome to the installer for Grow.dev v{}{/yellow}', version) hai('{yellow}Release notes: {/yellow}https://github.com/grow/grow/releases/tag/{}', version) hai('{yellow}[ ]{/yellow} {green}This script will install:{/green} {}', bin_path) @@ -179,10 +179,10 @@ def install(rc_path=None, bin_path=None, force=False): if 'Text file busy' in str(e): hai('Unable to overwrite {}. Try closing Grow and installing again.'.format( bin_path)) - hai('You can use the installer by running: curl https://install.grow.io | bash') + hai('You can use the installer by running: curl https://install.grow.dev | bash') sys.exit(-1) raise - hai('{green}[✓] Installed Grow SDK to:{/green} {}', bin_path) + hai('{green}[✓] Installed Grow.dev to:{/green} {}', bin_path) stat = os.stat(bin_path) os.chmod(bin_path, stat.st_mode | 0o111) finally: diff --git a/package.json b/package.json index f6318bc5c..c09e19975 100644 --- a/package.json +++ b/package.json @@ -11,5 +11,5 @@ "bugs": { "url": "https://github.com/grow/grow/issues" }, - "homepage": "https://grow.io" + "homepage": "https://grow.dev" } diff --git a/setup.py b/setup.py index 583bb2f60..1ba789792 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -"""Grow Setup.""" +"""Grow.dev setup.""" import re from setuptools import find_packages @@ -35,11 +35,11 @@ 'site generator for rapid, high-quality web site production.' ), long_description=open('description.txt').read().strip(), - url='https://grow.io', + url='https://grow.dev', zip_safe=False, license='MIT', - author='Grow SDK Authors', - author_email='code@grow.io', + author='Grow.dev Authors', + author_email='code@grow.dev', include_package_data=True, packages=find_packages(exclude=[ 'lib*',