summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 01:56:43 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 01:56:43 -0400
commitff2983c207e6ab2a9381e20312355c42307187f6 (patch)
treeba4a2aca77c4f0b9963dab8754e5b1d58f711a88
parent6ad57ac9f185dcfd4e02174ffdaff9bca1b0516c (diff)
Give things more consistent names
-rwxr-xr-xcron-jobs/db-cleanup (renamed from db-cleanup)0
-rwxr-xr-xdb-check-nonfree-in-db (renamed from list_nonfree_in_db.py)0
-rwxr-xr-xdb-check-package-libraries (renamed from check-package-libraries.py)2
-rwxr-xr-xdb-check-unsigned-packages (renamed from db-list-unsigned-packages)2
-rwxr-xr-xdb-check-unsigned-packages.py (renamed from db-list-unsigned-packages.py)0
-rwxr-xr-xdb-import-any-to-ours (renamed from any-to-ours)0
-rwxr-xr-xdb-import-pkg-archlinux (renamed from db-sync)4
-rw-r--r--db-import-pkg-archlinux.conf (renamed from db-sync.conf)0
-rwxr-xr-xdb-import-pkg-archlinuxarm (renamed from db-sync-arm)4
-rw-r--r--db-import-pkg-archlinuxarm.conf (renamed from db-sync-arm.conf)0
-rwxr-xr-xdb-import-src-archlinux (renamed from abslibre)0
-rwxr-xr-xdb-init (renamed from createrepos)0
-rw-r--r--[-rwxr-xr-x]db-libremessages0
-rwxr-xr-xmkrepo15
14 files changed, 6 insertions, 21 deletions
diff --git a/db-cleanup b/cron-jobs/db-cleanup
index ffa2601..ffa2601 100755
--- a/db-cleanup
+++ b/cron-jobs/db-cleanup
diff --git a/list_nonfree_in_db.py b/db-check-nonfree-in-db
index a486fa5..a486fa5 100755
--- a/list_nonfree_in_db.py
+++ b/db-check-nonfree-in-db
diff --git a/check-package-libraries.py b/db-check-package-libraries
index bc2349b..612fc4f 100755
--- a/check-package-libraries.py
+++ b/db-check-package-libraries
@@ -162,7 +162,7 @@ def check(arguments):
def main():
"""Get arguments and run the command."""
from argparse import ArgumentParser
- parser = ArgumentParser(prog="check-package-libraries.py",
+ parser = ArgumentParser(prog="db-check-package-libraries",
description="Check packages for "
"provided/needed libraries")
parser.add_argument("-d", "--database", type=str,
diff --git a/db-list-unsigned-packages b/db-check-unsigned-packages
index 095e1e6..0fc053b 100755
--- a/db-list-unsigned-packages
+++ b/db-check-unsigned-packages
@@ -34,5 +34,5 @@ shift
for repo in "${PKGREPOS[@]}"
do
db="${FTP_BASE}/${repo}/os/${arch}/${repo}.db"
- [ -f "$db" ] && "$(dirname "$(readlink -e "$0")")/db-list-unsigned-packages.py" "$repo" "$@" < "$db"
+ [ -f "$db" ] && "$(dirname "$(readlink -e "$0")")/db-check-unsigned-packages.py" "$repo" "$@" < "$db"
done
diff --git a/db-list-unsigned-packages.py b/db-check-unsigned-packages.py
index 80cff51..80cff51 100755
--- a/db-list-unsigned-packages.py
+++ b/db-check-unsigned-packages.py
diff --git a/any-to-ours b/db-import-any-to-ours
index a901d54..a901d54 100755
--- a/any-to-ours
+++ b/db-import-any-to-ours
diff --git a/db-sync b/db-import-pkg-archlinux
index facfae9..81221fd 100755
--- a/db-sync
+++ b/db-import-pkg-archlinux
@@ -16,7 +16,7 @@
set -e
-# Run as `V=true db-sync` to get verbose output
+# Run as `V=true db-import-pkg-archlinux` to get verbose output
VERBOSE=${V}
extra=()
${VERBOSE} && extra+=(-v)
@@ -191,7 +191,7 @@ trap_exit() {
}
source "$(dirname "$(readlink -e "$0")")/config"
-source "$(dirname "$(readlink -e "$0")")/db-sync.conf"
+source "$(dirname "$(readlink -e "$0")")/db-import-pkg-archlinux.conf"
source "$(dirname "$(readlink -e "$0")")/db-libremessages"
# Check variables presence
diff --git a/db-sync.conf b/db-import-pkg-archlinux.conf
index 24fc44d..24fc44d 100644
--- a/db-sync.conf
+++ b/db-import-pkg-archlinux.conf
diff --git a/db-sync-arm b/db-import-pkg-archlinuxarm
index 952b546..c707e5b 100755
--- a/db-sync-arm
+++ b/db-import-pkg-archlinuxarm
@@ -16,7 +16,7 @@
set -e
-# Run as `V=true db-sync` to get verbose output
+# Run as `V=true db-import-pkg-archlinux` to get verbose output
VERBOSE=${V}
extra=()
${VERBOSE} && extra+=(-v)
@@ -180,7 +180,7 @@ trap_exit() {
}
source "$(dirname "$(readlink -e "$0")")/config"
-source "$(dirname "$(readlink -e "$0")")/db-sync-arm.conf"
+source "$(dirname "$(readlink -e "$0")")/db-import-pkg-archlinuxarm.conf"
source "$(dirname "$(readlink -e "$0")")/db-libremessages"
# Check variables presence
diff --git a/db-sync-arm.conf b/db-import-pkg-archlinuxarm.conf
index eaa170f..eaa170f 100644
--- a/db-sync-arm.conf
+++ b/db-import-pkg-archlinuxarm.conf
diff --git a/abslibre b/db-import-src-archlinux
index 72171f1..72171f1 100755
--- a/abslibre
+++ b/db-import-src-archlinux
diff --git a/createrepos b/db-init
index 8da2455..8da2455 100755
--- a/createrepos
+++ b/db-init
diff --git a/db-libremessages b/db-libremessages
index 37df149..37df149 100755..100644
--- a/db-libremessages
+++ b/db-libremessages
diff --git a/mkrepo b/mkrepo
deleted file mode 100755
index b11dc0b..0000000
--- a/mkrepo
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-# Author: Nicolás Reynolds <fauno@kiwwwi.com.ar>
-# License: GPLv3+
-# Description: A script to quickly create new [repos]
-
-source "$(dirname "$(readlink -e "$0")")/config"
-
-for repo in "$@"; do
- echo ":: Creating [$repo]"
- for arch in "${ARCHES[@]}"; do
- mkdir -pv "${FTP_BASE}/${repo}/os/${arch}"
- done
-done
-
-echo ":: All done. Add the repo to the ParabolaWeb admin page."