* [xfstests-bld PATCH] util/get-config: stop sourcing deprecated config files
@ 2018-04-05 21:20 Eric Biggers
2018-04-06 13:26 ` Theodore Y. Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2018-04-05 21:20 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: fstests, Eric Biggers
Stop sourcing configs from the deprecated locations $KVM_CONFIG or
kvm-xfstests/config.custom, in preference to the locations in
~/.config/. kvm-xfstests and gce-xfstests have been warning when
sourcing from the deprecated locations for almost a year now, so it's
unlikely that anyone is using them anymore.
Signed-off-by: Eric Biggers <ebiggers@google.com>
---
kvm-xfstests/util/get-config | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/kvm-xfstests/util/get-config b/kvm-xfstests/util/get-config
index 4baf494..894bf3b 100644
--- a/kvm-xfstests/util/get-config
+++ b/kvm-xfstests/util/get-config
@@ -48,21 +48,6 @@ then
rm "$tmpfile"
unset tmpfile
fi
-
if test -n "$GCE_ACCOUNT" -a -f "$DIR/config-$GCE_ACCOUNT" ; then
. "$DIR/config-$GCE_ACCOUNT"
-elif test -f $DIR/config.custom ; then
-# Else, source kvm-xfstests/config.custom if present (deprecated)
- echo -e 1>&2 "Warning: use of kvm-xfstests/config.custom is deprecated." \
- "Move your settings\n into ~/.config/kvm-xfstests," \
- "~/.config/gce-xfstests,\n ~/.config/android-xfstests," \
- "and/or ~/.config/xfstests-common"
- . $DIR/config.custom
-fi
-
-# Source $KVM_CONFIG if present (deprecated)
-if test -n "$KVM_CONFIG" -a -f "$KVM_CONFIG"; then
- echo -e 1>&2 "Warning: use of \$KVM_CONFIG is deprecated." \
- "Move your settings into\n ~/.config/kvm-xfstests"
- . $KVM_CONFIG
fi
--
2.17.0.484.g0c8726318c-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [xfstests-bld PATCH] util/get-config: stop sourcing deprecated config files
2018-04-05 21:20 [xfstests-bld PATCH] util/get-config: stop sourcing deprecated config files Eric Biggers
@ 2018-04-06 13:26 ` Theodore Y. Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Y. Ts'o @ 2018-04-06 13:26 UTC (permalink / raw)
To: Eric Biggers; +Cc: fstests
On Thu, Apr 05, 2018 at 02:20:10PM -0700, Eric Biggers wrote:
> Stop sourcing configs from the deprecated locations $KVM_CONFIG or
> kvm-xfstests/config.custom, in preference to the locations in
> ~/.config/. kvm-xfstests and gce-xfstests have been warning when
> sourcing from the deprecated locations for almost a year now, so it's
> unlikely that anyone is using them anymore.
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>
Applied, thanks.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-06 13:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 21:20 [xfstests-bld PATCH] util/get-config: stop sourcing deprecated config files Eric Biggers
2018-04-06 13:26 ` Theodore Y. Ts'o
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.