fanboy-adblock/docs/hg-howto.txt

57 lines
2.3 KiB
Plaintext
Raw Normal View History

2011-12-28 23:17:37 +13:00
--------------
---------------------
2016-04-16 05:53:20 +02:00
---------------------------
2010-01-16 19:52:42 +13:00
1) Install Activeperl
2) Install Mercurial, all defaults during install active
2011-12-29 15:55:21 +13:00
3) Install your chosen Text editor
2011-12-28 23:17:37 +13:00
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
4e) edit the file "hgrc" using your chosen text editor, include the following infomation in the hgrc file.
2016-04-16 05:53:20 +02:00
Activeperl (http://www.activestate.com/activeperl/)
Installation of Tools
Mercurial (http://mercurial.selenic.com)
Setting up Googlecode Login
Text Editor (http://www.pspad.com or http://notepad-plus-plus.org/)
Tools required
[paths]
default = https://fanboy-adblock-list.googlecode.com/hg/
default-push = https://username:password@fanboy-adblock-list.googlecode.com/hg/
username = your name <gmail-username@gmail.com>
[ui]
username = gmail-username@gmail.com
verbose = true
[extensions]
2010-01-16 19:52:42 +13:00
(Note, use the googlecode password not the gmail password)
2016-04-16 05:53:20 +02:00
-------
---------------
2011-12-28 23:17:37 +13:00
----------------
2016-04-16 05:53:20 +02:00
-------------------
1) Make the change to the list(s), Save files.
1) Make the change to the list(s), Save.
2) add-element.bat <URL>
2) Copy Website, Copy Adblock infomation, and username. Save.
3) Done, its committed.
4f) Save changes, and now we're ready to make changes. Be sure you're in the main dir of "fanboy-adblock-list", when you want to start making changes.
adding new elements -->
2011-12-28 23:17:37 +13:00
adding new filters --> add-filter.bat <URL>
adding new filters --> add-filter.bat fp: <URL>
2016-04-16 05:53:20 +02:00
b = C:\Users\Username\fanboy-adblock-list\scripts\b.py
2010-01-16 19:52:42 +13:00
examples of additions comments:
2016-04-16 05:53:20 +02:00
False Positives
fetch =
Follow the docs\Windows_merge_notes.pdf this will help. You will need grep for Windows (http://gnuwin32.sourceforge.net/packages/grep.htm).
Get your password through the google profile menu, top right, profile then settings. *Password is case sensitive.
hgsync.bat
2010-01-16 19:52:42 +13:00
http://code.google.com/p/fanboy-adblock-list/source/list
2016-04-16 05:53:20 +02:00
Login to google/gmail first, then visit http://code.google.com/p/fanboy-adblock-list/source/list
Making Additions
Merging
Occasionally if 2 people (or more) are working the same file at the same time.. you'll get a merge error/request.
rebase =
Syncing new changes
To sync any newer changes, you can just issue the following command,
Use this password in the "default-push" in 4e example above.