From 66925cf4f325f3951d7bcb8fb9104e2cda4ee98e Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Sat, 18 Jun 2011 23:47:55 -0600 Subject: [PATCH] LU-85 build: update main bug report URL Update bug reporting URL in autoconf and other documentation to reflect source of release. Change-Id: I334aab903123cd0a071ee1b29de4bde5ebc59b0d Signed-off-by: Andreas Dilger Reviewed-on: http://review.whamcloud.com/972 Tested-by: Hudson Reviewed-by: Johann Lombardi --- build/autogen.sh | 2 +- build/diffatt.sh | 57 ----------------------------------------- configure.ac | 2 +- ldiskfs/autoMakefile.am | 4 +-- ldiskfs/configure.ac | 2 +- lustre/BUGS | 2 +- lustre/lvfs/fsfilt_ext3.c | 2 +- lustre/obdclass/class_obd.c | 2 +- lustre/obdfilter/filter.c | 2 +- lustre/obdfilter/filter_io_26.c | 2 +- lustre/osc/osc_request.c | 2 +- lustre/utils/mkfs_lustre.c | 4 +-- 12 files changed, 13 insertions(+), 70 deletions(-) delete mode 100755 build/diffatt.sh diff --git a/build/autogen.sh b/build/autogen.sh index 2eae1fa..fd5a140 100644 --- a/build/autogen.sh +++ b/build/autogen.sh @@ -34,7 +34,7 @@ error_msg() { Ubuntu) howto "apt-get install $cmd" ;; CentOS|RedHat*|Fedora*) howto "yum install $cmd" ;; SUSE*) howto "yast -i $cmd" ;; - *) echo -e "\nInstallation instructions for the package $cmd on $dist_id are not known.\nIf you know how to install the required package, please file a bug at\nbugzilla.lustre.org and include your distribution and that the output from:\n\"lsb_release -is\" is: \"$dist_id\"" ;; + *) echo -e "\nInstallation instructions for the package $cmd on $dist_id are not known.\nIf you know how to install the required package, please file a bug at\nhttp://bugs.whamcloud.com/ and include your distribution and the output from:\n\"lsb_release -is\" is: \"$dist_id\"" ;; esac exit 1 diff --git a/build/diffatt.sh b/build/diffatt.sh deleted file mode 100755 index e23d79a..0000000 --- a/build/diffatt.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash -# diffatt.sh - generate inspection template for attachment -if [ -z "$1" ]; then - cat - 1>&2 <<- USAGE - usage: $0 [-k] {attachment} [attachment ...] - -k: keep attachment(s) for editing (delete otherwise) - attachment is an attachment number or a local patch filename - USAGE - exit 1 -fi - -export LANG=C -BUGZILLA=https://bugzilla.lustre.org/attachment.cgi -TMP=${TMP:-/tmp} - -[ "$1" = "-k" ] && KEEP=yes && shift - -FILE=$(mktemp -t) - -for ATT in $*; do - DO_KEEP=$KEEP - if [ -f "$ATT" ]; then - PATCH=$ATT - BUG=N - DO_KEEP=yes - else - BUG=$(wget --no-check-certificate -O - \ - $BUGZILLA?id=$ATT\&action=edit 2> /dev/null | - perl -nle 'print $1 if /Details for Bug (\d+)/' -) - PATCH=$TMP/att$ATT.patch - wget --no-check-certificate -O $PATCH \ - $BUGZILLA?id=$ATT 2> /dev/null - fi - - grep "not authorized" $PATCH && continue - - diffstat $PATCH | tee $FILE - LOC=$(awk '/insertion/ { print $4 }' $FILE) - [ -z "$LOC" ] && LOC=$(awk '/deletion/ { print $4 }' $FILE) - - # if it isn't a patch, just count all of the lines - [ -z "$LOC" ] && $(grep -q "0 files changed" $FILE) && - LOC=$(cat $PATCH | wc -l) - - tee -a $PATCH <<- EOF - Inspection Type: CODE - Defect Count: N - Size: $LOC LOC - Developer: @sun.com - Inspector: $USER@sun.com - Inspection duration: N min - Bug: $BUG - Date: $(date +%Y-%m-%d) - EOF - - [ "$DO_KEEP" = "yes" ] || rm $PATCH -done diff --git a/configure.ac b/configure.ac index 1fc11c9..48e4d3c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -AC_INIT([Lustre], [LUSTRE_VERSION], [https://bugzilla.lustre.org/], [lustre]) +AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugs.whamcloud.com/], [lustre]) sinclude(lustre/autoconf/lustre-version.ac) # Overridden in LB_PATH_LDISKFS on certain branches diff --git a/ldiskfs/autoMakefile.am b/ldiskfs/autoMakefile.am index e8b2d0e..04a00aa 100644 --- a/ldiskfs/autoMakefile.am +++ b/ldiskfs/autoMakefile.am @@ -13,11 +13,11 @@ EXTRA_DIST += kernel_patches # this only needs to be done if disting stand-alone (i.e. not as a # subdir of lustre module-dist-hook: - if ! grep "AC_INIT(\[Lustre\], \[LUSTRE_VERSION\], \[https:\/\/bugzilla\.lustre\.org\/], \[lustre\])" ../configure.ac; then \ + if ! grep "AC_INIT(\[Lustre\], \[LUSTRE_VERSION\], \[http:\/\/bugs\.whamcloud\.com\/], \[lustre\])" ../configure.ac; then \ if [ -f META ]; then \ cp META $(distdir)/META; \ else \ - echo -e "I have no idea how to create a META file in $(distdir).\nPlease file a bug at http://bugzilla.lustre.org/"; \ + echo -e "I have no idea how to create a META file in $(distdir).\nPlease file a bug at http://bugs.whamcloud.com/"; \ exit 1; \ fi; \ fi diff --git a/ldiskfs/configure.ac b/ldiskfs/configure.ac index 86f493d..3e4cd5b 100644 --- a/ldiskfs/configure.ac +++ b/ldiskfs/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([Lustre ldiskfs], 3.1.50, [https://bugzilla.lustre.org/]) +AC_INIT([Lustre ldiskfs], 3.1.50, [http://bugs.whamcloud.com/]) AC_CONFIG_SRCDIR([lustre-ldiskfs.spec.in]) ldiskfs_is_ext4=yes diff --git a/lustre/BUGS b/lustre/BUGS index 6679d5d..571f4f7 100644 --- a/lustre/BUGS +++ b/lustre/BUGS @@ -1 +1 @@ -To report bugs, please visit https://bugzilla.lustre.org/ +To report bugs, please visit http://bugs.whamcloud.com/ diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index d867111..da1f5bc 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -295,7 +295,7 @@ static void *fsfilt_ext3_start(struct inode *inode, int op, void *desc_private, cpu_to_le32(EXT3_EXTENTS_FL | EXT3_INDEX_FL))) { CWARN("extent-mapped directory found with " "ext3-based ldiskfs - contact " - "http://bugzilla.lustre.org/\n"); + "http://bugs.whamcloud.com/\n"); warned = 1; } } diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c index 0d07d79..5ee979c 100644 --- a/lustre/obdclass/class_obd.c +++ b/lustre/obdclass/class_obd.c @@ -519,7 +519,7 @@ int init_obdclass(void) #ifdef CRAY_XT3 printk(KERN_INFO "Lustre: Build Version: "BUILD_VERSION"\n"); #else - LCONSOLE_INFO("OBD class driver, http://www.lustre.org/\n"); + LCONSOLE_INFO("OBD class driver, http://wiki.whamcloud.com/\n"); LCONSOLE_INFO(" Lustre Version: "LUSTRE_VERSION_STRING"\n"); LCONSOLE_INFO(" Build Version: "BUILD_VERSION"\n"); #endif diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index fb5a064..4a155c2 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -4179,7 +4179,7 @@ static int __init obdfilter_init(void) struct lprocfs_static_vars lvars; int rc; - printk(KERN_INFO "Lustre: Filtering OBD driver; http://www.lustre.org/\n"); + printk(KERN_INFO "Lustre: Filtering OBD driver; http://wiki.whamcloud.com/\n"); lprocfs_filter_init_vars(&lvars); diff --git a/lustre/obdfilter/filter_io_26.c b/lustre/obdfilter/filter_io_26.c index e0eac4f..2f148da 100644 --- a/lustre/obdfilter/filter_io_26.c +++ b/lustre/obdfilter/filter_io_26.c @@ -155,7 +155,7 @@ static int dio_complete_routine(struct bio *bio, unsigned int done, int error) LCONSOLE_ERROR("bio->bi_private is NULL! This should never " "happen. Normally, I would crash here, but instead I " "will dump the bio contents to the console. Please " - "report this to , along " + "report this to , along " "with any interesting messages leading up to this point " "(like SCSI errors, perhaps). Because bi_private is " "NULL, I can't wake up the thread that initiated this " diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 70c13c1..894b20c 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -1518,7 +1518,7 @@ static int osc_brw_fini_request(struct ptlrpc_request *req, int rc) if (server_cksum == ~0 && rc > 0) { CERROR("Protocol error: server %s set the 'checksum' " "bit, but didn't send a checksum. Not fatal, " - "but please notify on http://bugzilla.lustre.org/\n", + "but please notify on http://bugs.whamcloud.com/\n", libcfs_nid2str(peer->nid)); } else if (server_cksum != client_cksum) { LCONSOLE_ERROR_MSG(0x133, "%s: BAD READ CHECKSUM: from " diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index f01eec6..723096c 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -398,7 +398,7 @@ static void disp_old_e2fsprogs_msg(const char *feature, int make_backfs) E2FSPROGS, feature); #if !(HAVE_LDISKFSPROGS) fprintf(stderr, "Please install the latest version of e2fsprogs from\n" - "http://downloads.lustre.org/public/tools/e2fsprogs/\n" + "http://downloads.whamcloud.com/public/e2fsprogs/latest/\n" "to enable this feature.\n"); #endif if (make_backfs) @@ -1632,7 +1632,7 @@ int main(int argc, char *const argv[]) ret = EINVAL; goto out; } - } + if (mountopts) { trim_mountfsoptions(mountopts); -- 1.8.3.1