kongou-ae
8/5/2014 - 2:21 PM

patch to graphite

patch to graphite

$ cd /usr/lib/python2.7
$ sudo wget https://github.com/graphite-project/graphite-web/commit/fc3f018544c19b90cc63797d18970a4cc27ef2ad.diff
$ sudo patch --dry-run -p1 < fc3f018544c19b90cc63797d18970a4cc27ef2ad.diff
checking file site-packages/graphite/account/urls.py
checking file site-packages/graphite/browser/urls.py
checking file site-packages/graphite/cli/urls.py
checking file site-packages/graphite/composer/urls.py
checking file site-packages/graphite/dashboard/urls.py
checking file site-packages/graphite/events/urls.py
checking file site-packages/graphite/graphlot/urls.py
checking file site-packages/graphite/manage.py
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED
checking file site-packages/graphite/metrics/urls.py
checking file site-packages/graphite/render/urls.py
checking file site-packages/graphite/urls.py
checking file site-packages/graphite/version/urls.py
checking file site-packages/graphite/whitelist/urls.py
$ sudo vim fc3f018544c19b90cc63797d18970a4cc27ef2ad.diff 
$ sudo patch --dry-run -p1 < fc3f018544c19b90cc63797d18970a4cc27ef2ad.diff            
checking file site-packages/graphite/account/urls.py
checking file site-packages/graphite/browser/urls.py
checking file site-packages/graphite/cli/urls.py
checking file site-packages/graphite/composer/urls.py
checking file site-packages/graphite/dashboard/urls.py
checking file site-packages/graphite/events/urls.py
checking file site-packages/graphite/graphlot/urls.py
checking file site-packages/graphite/metrics/urls.py
checking file site-packages/graphite/render/urls.py
checking file site-packages/graphite/urls.py
checking file site-packages/graphite/version/urls.py
checking file site-packages/graphite/whitelist/urls.py
$ sudo patch -p1 < fc3f018544c19b90cc63797d18970a4cc27ef2ad.diff
patching file site-packages/graphite/account/urls.py
patching file site-packages/graphite/browser/urls.py
patching file site-packages/graphite/cli/urls.py
patching file site-packages/graphite/composer/urls.py
patching file site-packages/graphite/dashboard/urls.py
patching file site-packages/graphite/events/urls.py
patching file site-packages/graphite/graphlot/urls.py
patching file site-packages/graphite/metrics/urls.py
patching file site-packages/graphite/render/urls.py
patching file site-packages/graphite/urls.py
patching file site-packages/graphite/version/urls.py