Permalink
Browse files

initial import from old git tree

0 parents commit 6fdf2496dad94e521555003ed892efb887a31d12 @gregkh committed May 12, 2010
Showing with 20,282 additions and 0 deletions.
  1. +20 −0 .gitignore
  2. +186 −0 added-to-gregkh
  3. BIN benchmarks/hackbench
  4. +371 −0 benchmarks/hackbench.c
  5. +2,671 −0 configs/mini/config-2.6.30
  6. +2,816 −0 configs/mini/config-2.6.31
  7. +2,850 −0 configs/mini/config-2.6.32
  8. +2,306 −0 configs/t43/config
  9. +1 −0 distro-kernels/ubuntu
  10. +16 −0 fix_patch
  11. +19 −0 git/.gitignore
  12. +190 −0 git/added-to-staging
  13. +57 −0 git/docs-2.6.git-patches
  14. +88 −0 git/dorelease
  15. +40 −0 git/driver-2.6.git-patches
  16. +69 −0 git/g_foo
  17. +685 −0 git/git-send-email.perl
  18. +13 −0 git/make_tree
  19. +15 −0 git/mk_msg
  20. +52 −0 git/old/aoe-2.6.19-rc2.git-patches
  21. +56 −0 git/old/hwmon-2.6.19-rc2.git-patches
  22. +159 −0 git/old/i2c-2.6.18.git-patches
  23. +37 −0 git/old/pci-2.6.git-patches
  24. +56 −0 git/old/uio-2.6.git-patches
  25. +40 −0 git/old/w1-2.6.18-rc1.git-patches
  26. +1 −0 git/parent
  27. +12 −0 git/push_git
  28. +3,878 −0 git/shortlog
  29. +87 −0 git/staging-2.6.git-patches
  30. +110 −0 git/staging-2.6.git-patches.save
  31. +41 −0 git/tty-2.6.git-patches
  32. +125 −0 git/usb-2.6.git-patches
  33. +24 −0 install
  34. +147 −0 make_patchsets
  35. +175 −0 make_patchsets.new
  36. +421 −0 mime_dump
  37. +319 −0 mime_dump.greg
  38. +109 −0 mimedump
  39. +73 −0 report/driver-core-report.txt
  40. +81 −0 report/driver_core-state-2.6.18-rc6.txt
  41. +245 −0 report/driver_core-state.txt
  42. +68 −0 report/pci-report.txt
  43. +50 −0 report/pci-state-2.6.18-rc6.txt
  44. +81 −0 report/pci-state.txt
  45. +80 −0 report/usb-report.txt
  46. +67 −0 report/usb-state-2.6.18-rc6.txt
  47. +167 −0 report/usb-state.txt
  48. +9 −0 stable/.gitignore
  49. +197 −0 stable/added-to-stable
  50. +9 −0 stable/do_copy
  51. +81 −0 stable/dorelease
  52. +17 −0 stable/dotag
  53. +25 −0 stable/s.sh
  54. +1 −0 stable/send_email
  55. +125 −0 streamline_config.pl
  56. +4 −0 test/.gitignore
  57. +302 −0 test/bugs/dma_thread.c
  58. +62 −0 test/bugs/kernbug.c
  59. +23 −0 test/bugs/zero_read.c
  60. +80 −0 test/buildtest
  61. +80 −0 test/test-staging
  62. +65 −0 test/xb
  63. +6 −0 update-gregkh
  64. +22 −0 x.sh
@@ -0,0 +1,20 @@
+gregkh-2.6/
+linux-staging/
+patches/
+my_patches
+staging/
+tools/
+android-presentation/
+tmp
+kernel-tutorial/
+kernel-development/
+u
+p1
+.config
+.version
+kernel.org/hotplug
+kernel.org/pciutils
+kernel.org/people
+dadwifi
+chumby
+lkm_pos_statement/
@@ -0,0 +1,186 @@
+#!/bin/bash
+
+#. patchfns 2>/dev/null ||
+#. /usr/lib/patch-scripts/patchfns 2>/dev/null ||
+#. $PATCHSCRIPTS_LIBDIR/patchfns 2>/dev/null ||
+#{
+# echo "Impossible to find my library 'patchfns'."
+# echo "Check your install, or go to the right directory"
+# exit 1
+#}
+
+EMAIL_ADDRESS='<gregkh@suse.de>'
+
+extract_addr()
+{
+ read l
+ read l
+ read l
+ read l
+ a=$(echo "$l" | sed -n -e 's/.*<\(.*@[^>]*\).*/\1/p')
+ echo $a
+}
+
+if [ x"$SMTP_SERVER" = x ]
+then
+ SMTP_SERVER=localhost:25
+fi
+
+if [ x"$EMAIL_ADDRESS" = x ]
+then
+ echo "You must set the EMAIL_ADDRESS environment variable to your email address"
+ exit 1
+fi
+FROM=$EMAIL_ADDRESS
+
+TO=""
+CC=""
+
+author()
+{
+ first_author=""
+ TXT=$2
+ if [ ! -f $TXT ]
+ then
+ echo "$TXT is missing"
+ exit 1
+ fi
+ author=""
+ while read l
+ do
+ # skip the Message-ID: line so we don't send email to the wrong place
+ echo "$l"
+ reply=$(echo "$l" | grep -i Message-ID:)
+ if [ x"$reply" != x ]
+ then
+ continue
+ fi
+
+ # if this is the start of the diff, then it's time to stop looking
+ diff=$(echo "$l" | grep "^---")
+ if [ x"$diff" != x ]
+ then
+ echo "diffstart!!!!!"
+ break
+ fi
+
+ for x in $l
+ do
+ a=$(echo "$x" | sed -n -e 's/.*<\(.*@[^>]*\).*/\1/p')
+ if [ x"$a" != x ]
+ then
+ if [ x"$author" == x ]
+ then
+ author=$a
+ first_author=$a
+ else
+ author="$author $a"
+ fi
+ fi
+ done
+ done < $TXT
+ author=$(echo "$author" | tr ' ' '\n' | grep -v "$first_author" |
+ sort | uniq)
+ author="$first_author $author"
+ eval $1=$(echo $author | sed -e 's/ /,/g')
+ if [ x"$3" != x ]
+ then
+ eval $3=$first_author
+ fi
+}
+
+
+
+reply()
+{
+ PATCH=$1
+# patch_name=$(stripit $1)
+# PATCH=$P/patches/$patch_name.patch
+# TXT=$P/txt/$patch_name.txt
+# if [ ! -f $TXT ]
+# then
+# echo $TXT is missing
+# exit 1
+# fi
+ echo "PATCH=$PATCH"
+ SUBJECT=`grep "Subject:" $PATCH`
+# SUBJECT=$(head -n 2 $PATCH | tail -n 1)
+ MESSAGE_ID=`grep -i "^Message-ID:" $PATCH | cut -f 2 -d ' ' | cut -f 2 -d '<' | cut -f 1 -d '>'`
+ author AUTHOR $1 FIRST_AUTHOR
+ echo "author said $AUTHOR"
+ echo "first_author said $FIRST_AUTHOR"
+ if [ x"$AUTHOR" == "x" ]
+ then
+ echo "nobody to notify"
+ exit 0
+ fi
+ to=""
+ for i in $(echo "$AUTHOR" | sed -e 's/,/ /g')
+ do
+ if ! echo "$TO" | grep "$i"
+ then
+ to=$to" -to $i"
+ fi
+ done
+ if [ x"$cc" != x ]
+ then
+ cc="-cc $cc"
+ fi
+
+ CHARSET=$(guess-charset "$PATCH")
+ if test "x$CHARSET" = "ANSI_X3.4-1968"; then
+ CHARSET=
+ else
+ CHARCMD="-charset=$CHARSET"
+ fi
+
+ ID=`make_message_id`
+
+ echo "makemail -to $AUTHOR -from=$FROM -subject=\"patch $PATCH added to gregkh tree\" -date=\"$(date -R)\" -reply_to=$MESSAGE_ID -message=$ID $CHARCMD"
+# echo "smtpsend -server=$SMTP_SERVER $to -from=$FROM"
+
+
+ (
+ echo
+ echo -n "This is a note to let you know that I've just added "
+ echo "the patch titled"
+ echo
+ echo " $SUBJECT"
+ echo
+ echo "to my gregkh-2.6 tree. Its filename is"
+ echo
+ echo " $PATCH"
+ echo
+ echo "This tree can be found at "
+ echo " http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/"
+ echo
+ echo
+ cat $PATCH
+ echo
+# echo
+# echo -n "Patches currently in gregkh-2.6 which might be from "
+# echo "$FIRST_AUTHOR are"
+# echo
+# grep -lR $FIRST_AUTHOR /home/gregkh/linux/patches/ 2> /dev/null |
+# sed -e 's/\/home\/gregkh\/linux\/patches\///'
+ ) |
+ makemail -to "$AUTHOR" -from="$FROM" \
+ -subject="patch $PATCH added to gregkh-2.6 tree" \
+ -date="$(date -R)" \
+ -reply_to="$MESSAGE_ID" \
+ -message_id="$ID" \
+ "$CHARCMD" | \
+ # talk to the suse network instead of localhost (due to the way suse.de now handles email...)
+ #smtpsend -server=$SMTP_SERVER $to -from=$FROM
+ #msmtp $to
+# ~/bin/msmtp-enqueue.sh -a suse $to
+ ~/bin/msmtp-enqueue.sh -a coco $to
+}
+
+for patch_file in $*
+do
+ reply $patch_file
+ echo "acknowledged $patch_file"
+ echo "-----------------------------------------------"
+ echo
+done
Binary file not shown.
Oops, something went wrong.

0 comments on commit 6fdf249

Please sign in to comment.