From 04d8a06b2402ba7777fb67766d7eeb93480f9f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 15 Jul 2018 13:48:51 -0400 Subject: [PATCH] make scripts names more consistent --- README.md | 4 ++-- ci/deploy.sh | 6 +++--- nur/{format_repos_manifest => format_manifest} | 0 nur/{update.py => update} | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename nur/{format_repos_manifest => format_manifest} (100%) rename nur/{update.py => update} (100%) diff --git a/README.md b/README.md index 607a9d79e..51496b076 100644 --- a/README.md +++ b/README.md @@ -164,14 +164,14 @@ $ git clone https://github.com/nix-community/NUR } ``` -At the moment each URL must point to a git repository. By running `nur/update.py` +At the moment each URL must point to a git repository. By running `nur/update` the corresponding `repos.json.lock` is updated and the repository is tested. This will perform also an evaluation check, which must be passed for your repository. Commit the changed `repos.json` but NOT `repos.json.lock` ``` $ git add repos.json -$ ./nur/format_repos_manifest # ensure repos.json is sorted alphabetically +$ ./nur/format_manifest # ensure repos.json is sorted alphabetically $ git commit -m "add repository" $ git push ``` diff --git a/ci/deploy.sh b/ci/deploy.sh index 4806d16e0..3ff393a3c 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -14,15 +14,15 @@ fi export encrypted_025d6e877aa4_key= encrypted_025d6e877aa4_iv= -./nur/format_repos_manifest +./nur/format_manifest if [ -n "$(git diff --exit-code repos.json)" ]; then echo "repos.json was not formatted before committing repos.json:" >&2 git diff --exit-code repos.json - echo "Please run ./nur/format_repos_manifest and updates repos.json accordingly!" >&2 + echo "Please run ./nur/format_manifest and updates repos.json accordingly!" >&2 exit 1 fi -./nur/update.py +./nur/update nix-build # Pull requests and commits to other branches shouldn't try to deploy, just build to verify diff --git a/nur/format_repos_manifest b/nur/format_manifest similarity index 100% rename from nur/format_repos_manifest rename to nur/format_manifest diff --git a/nur/update.py b/nur/update similarity index 100% rename from nur/update.py rename to nur/update