Path: blob/main/Tools/scripts/README.getpatch.sh
16462 views
getpatch.sh is a shell script to help me dealing1with bugzilla attachements.23Usage: getpatch [-dp] <num> <num> ...4-d : download deprecate patches too5-p : store the patches in the current dir, instead of the dedicated directory6use the GETPATCH_DIR variable to define the root location for the downloaded patches78Exemple1: simple usage9% getpatch 19784410Bug ID: 19784411+ attachment 153202-fcgi.diff is obsolete, skip12+ attachment 153215-fcgi.diff download success13>> Patches stored in /tmp/1978441415Exemple2: download deprecated too16getpatch -d 19784417Bug ID: 19784418+ attachment 153202-fcgi.diff download success19+ attachment 153215-fcgi.diff download success20>> Patches stored in /tmp/1978442122Exemple3: don't create a dedicate directory23% getpatch -p 19784424Bug ID: 19784425+ attachment 153202-fcgi.diff is obsolete, skip26+ attachment 153215-fcgi.diff download success27>> Patches stored in /tmp2829Exemple4: use GETPATCH_DIR30% setenv GETPATCH_DIR ~/patch-store/31% getpatch 19784432Bug ID: 19784433+ attachment 153202-fcgi.diff is obsolete, skip34+ attachment 153215-fcgi.diff download success35>> Patches stored in /usr/home/rodrigo/patch-store/19784436373839