diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-02-07 15:00:36 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-02-07 17:16:52 +0200 |
commit | c9a9f60d6b80e7d01870bbaab9236b82867f45d3 (patch) | |
tree | a4d4094939823dd21d495a7bd22bdf78f4f574e7 | |
parent | 8ee954313c40ee5aad22c793543b0edab464d8b8 (diff) | |
download | aiaiai-c9a9f60d6b80e7d01870bbaab9236b82867f45d3.tar.gz |
Move internal scripts to the "helper" subdirectory
This patch implements the following TODO entry:
Re-arrange the source code structure so that the internal scripts would all sit
in a separate sub-directory. Internal scripts are those which users are not
supposed to run directly. For example, 'aiaiai-locker' is one of them.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | doc/TODO.txt | 4 | ||||
-rwxr-xr-x | email/aiaiai-email-dispatcher | 3 | ||||
-rwxr-xr-x | email/aiaiai-email-dispatcher-helper | 2 | ||||
-rwxr-xr-x | email/aiaiai-email-lda | 2 | ||||
-rwxr-xr-x | email/aiaiai-email-test-patchset | 2 | ||||
-rwxr-xr-x | gerrit/aiaiai-jenkins-test-patchset | 4 | ||||
-rw-r--r-- | helpers/Makefile | 5 | ||||
-rwxr-xr-x | helpers/aiaiai-checker (renamed from aiaiai-checker) | 2 | ||||
-rwxr-xr-x | helpers/aiaiai-decode-rfc-2047 (renamed from aiaiai-decode-rfc-2047) | 0 | ||||
-rwxr-xr-x | helpers/aiaiai-diff-log (renamed from aiaiai-diff-log) | 2 | ||||
-rwxr-xr-x | helpers/aiaiai-diff-log-helper (renamed from aiaiai-diff-log-helper) | 0 | ||||
-rw-r--r-- | helpers/aiaiai-locker.c (renamed from aiaiai-locker.c) | 0 | ||||
-rwxr-xr-x | helpers/aiaiai-make-kernel (renamed from aiaiai-make-kernel) | 2 | ||||
-rwxr-xr-x | helpers/aiaiai-match-keywords (renamed from aiaiai-match-keywords) | 2 | ||||
-rw-r--r-- | helpers/aiaiai-sh-functions (renamed from aiaiai-sh-functions) | 0 | ||||
-rwxr-xr-x | helpers/aiaiai-test-bisectability (renamed from aiaiai-test-bisectability) | 2 |
18 files changed, 15 insertions, 23 deletions
@@ -1,2 +1,2 @@ -aiaiai-locker +helpers/aiaiai-locker helpers/remap-log @@ -1,9 +1,5 @@ -CFLAGS = -O2 -g -Wextra - all: - $(CC) $(CFLAGS) -o aiaiai-locker aiaiai-locker.c make -C helpers clean: - $(RM) aiaiai-locker make -C helpers clean diff --git a/doc/TODO.txt b/doc/TODO.txt index 7652d16..c5eed38 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -39,10 +39,6 @@ implementing them. instead of just failing. This is probably more user-friendly. * Describe some review policy, e.g., how many days I promise to wait for review/reply before applying patches. - * Re-arrange the source code structure so that the internal scripts - would all sit in a separate sub-directory. Internal scripts are - those which users are not supposed to run directly. For example, - 'aiaiai-locker' is one of them. * Functional improvements * Gcc 4.8 change the format of warnings and now they look like this: diff --git a/email/aiaiai-email-dispatcher b/email/aiaiai-email-dispatcher index 7487cd9..5920968 100755 --- a/email/aiaiai-email-dispatcher +++ b/email/aiaiai-email-dispatcher @@ -5,8 +5,9 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*}/..)" -PATH="$srcdir:$srcdir/email:$srcdir/helpers/libshell:$PATH" +PATH="$srcdir/helpers:$srcdir/email:$srcdir/helpers/libshell:$PATH" +echo $PATH . shell-error . shell-args . shell-signal diff --git a/email/aiaiai-email-dispatcher-helper b/email/aiaiai-email-dispatcher-helper index 7d0365d..9dfe115 100755 --- a/email/aiaiai-email-dispatcher-helper +++ b/email/aiaiai-email-dispatcher-helper @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*}/..)" -PATH="$srcdir:$srcdir/email:$srcdir/helpers/libshell:$PATH" +PATH="$srcdir/helpers:$srcdir/email:$srcdir/libshell:$PATH" . shell-error . shell-signal diff --git a/email/aiaiai-email-lda b/email/aiaiai-email-lda index b9f2854..770f96e 100755 --- a/email/aiaiai-email-lda +++ b/email/aiaiai-email-lda @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*}/..)" -PATH="$srcdir:$srcdir/email:$srcdir/helpers/libshell:$PATH" +PATH="$srcdir/helpers:$srcdir/email:$srcdir/helpers/libshell:$PATH" . shell-error . shell-args diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset index aa76b71..1988a71 100755 --- a/email/aiaiai-email-test-patchset +++ b/email/aiaiai-email-test-patchset @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*}/..)" -PATH="$srcdir:$srcdir/email:$srcdir/helpers/libshell:$PATH" +PATH="$srcdir:$srcdir/helpers:$srcdir/email:$srcdir/helpers/libshell:$PATH" . shell-error . shell-args diff --git a/gerrit/aiaiai-jenkins-test-patchset b/gerrit/aiaiai-jenkins-test-patchset index 326268b..86294fc 100755 --- a/gerrit/aiaiai-jenkins-test-patchset +++ b/gerrit/aiaiai-jenkins-test-patchset @@ -4,8 +4,8 @@ # Author: Artem Bityutskiy # License: GPLv2 -srcdir="$(readlink -ev -- ${0%/*})" -PATH="$srcdir/..:$srcdir/../helpers/libshell:$PATH" +srcdir="$(readlink -ev -- ${0%/*}/..)" +PATH="$srcdir:$srcdir/helpers/libshell:$PATH" . shell-error . shell-args diff --git a/helpers/Makefile b/helpers/Makefile index cbc9493..4a06f73 100644 --- a/helpers/Makefile +++ b/helpers/Makefile @@ -1,7 +1,6 @@ -CFLAGS = -O2 -g -Wextra - all: $(CC) $(CFLAGS) -o remap-log remap-log.c + $(CC) $(CFLAGS) -o aiaiai-locker aiaiai-locker.c clean: - $(RM) remap-log + $(RM) remap-log aiaiai-locker diff --git a/aiaiai-checker b/helpers/aiaiai-checker index 1c68efc..0487670 100755 --- a/aiaiai-checker +++ b/helpers/aiaiai-checker @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*})" -PATH="$srcdir:$srcdir/helpers/libshell:$srcdir/helpers:$PATH" +PATH="$srcdir:$srcdir/libshell:$PATH" . shell-error . shell-args diff --git a/aiaiai-decode-rfc-2047 b/helpers/aiaiai-decode-rfc-2047 index 24ece5b..24ece5b 100755 --- a/aiaiai-decode-rfc-2047 +++ b/helpers/aiaiai-decode-rfc-2047 diff --git a/aiaiai-diff-log b/helpers/aiaiai-diff-log index 54228d9..e053edc 100755 --- a/aiaiai-diff-log +++ b/helpers/aiaiai-diff-log @@ -6,7 +6,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*})" -PATH="$srcdir:$srcdir/helpers/libshell:$srcdir/helpers:$PATH" +PATH="$srcdir:$srcdir/libshell:$PATH" . shell-error . shell-args diff --git a/aiaiai-diff-log-helper b/helpers/aiaiai-diff-log-helper index 2372391..2372391 100755 --- a/aiaiai-diff-log-helper +++ b/helpers/aiaiai-diff-log-helper diff --git a/aiaiai-locker.c b/helpers/aiaiai-locker.c index e76d284..e76d284 100644 --- a/aiaiai-locker.c +++ b/helpers/aiaiai-locker.c diff --git a/aiaiai-make-kernel b/helpers/aiaiai-make-kernel index 3bb2f02..7153629 100755 --- a/aiaiai-make-kernel +++ b/helpers/aiaiai-make-kernel @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*})" -export PATH="$srcdir:$srcdir/helpers/libshell:$srcdir/helpers:$PATH" +export PATH="$srcdir:$srcdir/libshell:$PATH" . shell-error . shell-args diff --git a/aiaiai-match-keywords b/helpers/aiaiai-match-keywords index bab7902..f316792 100755 --- a/aiaiai-match-keywords +++ b/helpers/aiaiai-match-keywords @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*})" -PATH="$srcdir:$srcdir/helpers/libshell:$PATH" +PATH="$srcdir:$srcdir/libshell:$PATH" . shell-error . shell-args diff --git a/aiaiai-sh-functions b/helpers/aiaiai-sh-functions index abbd0f4..abbd0f4 100644 --- a/aiaiai-sh-functions +++ b/helpers/aiaiai-sh-functions diff --git a/aiaiai-test-bisectability b/helpers/aiaiai-test-bisectability index ffc0f55..913c0a6 100755 --- a/aiaiai-test-bisectability +++ b/helpers/aiaiai-test-bisectability @@ -5,7 +5,7 @@ # License: GPLv2 srcdir="$(readlink -ev -- ${0%/*})" -PATH="$srcdir:$srcdir/helpers/libshell:$srcdir/helpers:$PATH" +PATH="$srcdir:$srcdir/libshell:$PATH" . shell-error . shell-args |