From 68ef5cce82494fc6ebe1a35183fce8c5d3e54e7f Mon Sep 17 00:00:00 2001 From: Tian Chu Date: Fri, 31 Jul 2020 14:27:02 -0400 Subject: [PATCH] Rename the repo --- .github/pull_request_template.md | 2 +- CONTRIBUTING.md | 4 ++-- NOTICE | 2 +- scripts/build_layers.sh | 4 ++-- scripts/run_tests.sh | 14 +++++++------- setup.py | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 07e23118..75b48cec 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,4 +1,4 @@ - + ### What does this PR do? diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b5c0e9e9..6941aa58 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ We love pull requests. Here's a quick guide. Fork, then clone: ```bash -git clone git@github.com:your-username/datadog-lambda-layer-python.git +git clone git@github.com:your-username/datadog-lambda-python.git ``` Make your change, update tests and ensure the tests pass (install Docker if you haven't): @@ -16,6 +16,6 @@ Make your change, update tests and ensure the tests pass (install Docker if you Push to your fork and [submit a pull request][pr]. -[pr]: https://github.com/your-username/datadog-lambda-layer-python/compare/DataDog:master...master +[pr]: https://github.com/your-username/datadog-lambda-python/compare/DataDog:master...master At this point you're waiting on us. We may suggest some changes or improvements or alternatives. diff --git a/NOTICE b/NOTICE index b839d4e9..50166002 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Datadog datadog-lambda-layer-python +Datadog datadog-lambda-python Copyright 2019 Datadog, Inc. This product includes software developed at Datadog (https://www.datadoghq.com/). \ No newline at end of file diff --git a/scripts/build_layers.sh b/scripts/build_layers.sh index 42b4776d..bc448307 100755 --- a/scripts/build_layers.sh +++ b/scripts/build_layers.sh @@ -24,13 +24,13 @@ function docker_build_zip { # Install datadogpy in a docker container to avoid the mess from switching # between different python runtimes. temp_dir=$(mktemp -d) - docker build -t datadog-lambda-layer-python:$1 . --no-cache \ + docker build -t datadog-lambda-python:$1 . --no-cache \ --build-arg image=python:$1 \ --build-arg runtime=python$1 # Run the image by runtime tag, tar its generatd `python` directory to sdout, # then extract it to a temp directory. - docker run datadog-lambda-layer-python:$1 tar cf - python | tar -xf - -C $temp_dir + docker run datadog-lambda-python:$1 tar cf - python | tar -xf - -C $temp_dir # Zip to destination, and keep directory structure as based in $temp_dir (cd $temp_dir && zip -q -r $destination ./) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 5449eaf4..ee08bd05 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -13,15 +13,15 @@ PYTHON_VERSIONS=("2.7" "3.6" "3.7" "3.8") for python_version in "${PYTHON_VERSIONS[@]}" do echo "Running tests against python${python_version}" - docker build -t datadog-lambda-layer-python-test:$python_version \ + docker build -t datadog-lambda-python-test:$python_version \ -f tests/Dockerfile . \ --build-arg python_version=$python_version - docker run -v `pwd`:/datadog-lambda-layer-python \ - -w /datadog-lambda-layer-python \ - datadog-lambda-layer-python-test:$python_version \ + docker run -v `pwd`:/datadog-lambda-python \ + -w /datadog-lambda-python \ + datadog-lambda-python-test:$python_version \ nose2 -v - docker run -v `pwd`:/datadog-lambda-layer-python \ - -w /datadog-lambda-layer-python \ - datadog-lambda-layer-python-test:$python_version \ + docker run -v `pwd`:/datadog-lambda-python \ + -w /datadog-lambda-python \ + datadog-lambda-python-test:$python_version \ flake8 done diff --git a/setup.py b/setup.py index 31474939..9fb7ea49 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ description="The Datadog AWS Lambda Layer", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/DataDog/datadog-lambda-layer-python", + url="https://github.com/DataDog/datadog-lambda-python", author="Datadog, Inc.", author_email="dev@datadoghq.com", classifiers=[