fanboy-adblock/docs/hg-howto.txt

59 lines
1.9 KiB
Plaintext
Raw Normal View History

2010-06-20 16:39:21 +12:00
Tools required,
2010-01-16 19:52:42 +13:00
Activeperl (http://www.activestate.com/activeperl/)
Mercurial (http://mercurial.selenic.com)
PSPad (the prefered text editor, http://www.pspad.com)
2010-09-21 15:17:20 +12:00
TortoiseHG (http://tortoisehg.bitbucket.org/)
2010-06-20 16:39:21 +12:00
grep (http://gnuwin32.sourceforge.net/packages/grep.htm)
2010-01-16 19:52:42 +13:00
1) Install Activeperl
2) Install Mercurial, all defaults during install active
3) Install pspad
4) Open the command prompt,
4a) cd %USERPROFILE%
4b) hg clone https://fanboy-adblock-list.googlecode.com/hg/ fanboy-adblock-list
4c) cd fanboy-adblock-list
4d) cd .hg
2010-01-16 21:07:54 +13:00
4e) edit the file "hgrc" using pspad
2010-01-16 19:52:42 +13:00
[paths]
default = https://fanboy-adblock-list.googlecode.com/hg/
2010-01-16 20:00:59 +13:00
username = your name <gmail-username@gmail.com>
2010-01-16 19:52:42 +13:00
default-push = https://username:password@fanboy-adblock-list.googlecode.com/hg/
2010-01-17 00:28:14 +13:00
[ui]
username = gmail-username@gmail.com
verbose = true
2010-01-17 15:50:42 +13:00
[extensions]
rebase =
2010-06-20 16:39:21 +12:00
fetch =
2010-01-16 19:52:42 +13:00
(Note, use the googlecode password not the gmail password)
2010-01-16 21:18:36 +13:00
Login to google/gmail first, then visit http://code.google.com/p/fanboy-adblock-list/source/list
Get your password through the google profile menu, top right, profile then settings.
2010-01-16 23:22:19 +13:00
Use this password in the "default-push" in 4e.
2010-01-16 19:52:42 +13:00
2010-01-16 21:07:54 +13:00
5) to use, make change to a file through pspad and save
5a) through the command prompt,
5b) cd %USERPROFILE%
5c) cd fanboy-adblock-list
5d) winscript <reason>
2010-01-16 19:52:42 +13:00
2010-01-16 21:16:10 +13:00
2010-01-16 19:52:42 +13:00
format used when making changes,
adding new filters --> winscript adzilla: #number
adding additional filters --> winscript adzilla: #number r2
adding new elements --> winscript site: http://www.somesite.com/blah.html
*Any false positives, need to be adzilla first.
*Any new false positives created by a recent additions
removing recent filters --> winscript adzilla: #number reverted
2010-06-20 16:39:21 +12:00
see: filter-additions.txt
2010-01-16 19:52:42 +13:00
examples of additions comments:
http://code.google.com/p/fanboy-adblock-list/source/list
2010-01-16 23:22:19 +13:00
Errors:
"Authorization failed" only occurs if your user/password is incorrect, check your google profile password in 4e, as the password is case sensitive