1. Download mercuirial-3.7-x86_64.pet
https://www.dropbox.com/s/9cnvvoe4zutw1 ... 4.pet?dl=0
2. Why I built an older version of mercurial
The reason that I did so is the version available via the puppy package manager (4.3.1) is too new to run Infocalypse [1]. Infocalypse can push/pull code from git, mercurial and freenet repositories. This allows people to anonymously work on code over the darknet in a censorship resistant way.
2.1 Notes on the build
I built this package as follows:
Code: Select all
wget https://www.mercurial-scm.org/release/mercurial-3.7.tar.gz
#I used rox to decompress it and change to the build directory
pip2 install --upgrade docutils
make PREFIX=/usr DESTDIR=/tmp/mercurial-3.7-x86_64 all
make PREFIX=/usr DESTDIR=/tmp/mercurial-3.7-x86_64 install
cd /tmp
dir2pet mercurial-3.7-x86_64
3. Installing infocalypse (optional)
3.1 Infocalypse Prequisites
Infocalypse requires hg-git, dulwich and pyFreenet (older python 2 version)
I think the first two on Slacko64-6.9.9.9 can be downloaded via the package manager [5]. pyFreenet can be installed as follows:
Code: Select all
pip2 install --upgrade --user pyFreenet #Not sure about the --user option
3.2 Infocalypse Installation
Infocalypse can be installed as follows:
Code: Select all
#pick some directory e.g.
cd ~/spot #One can install it anywhere and system wide or for a particular user
hg init infocalypse #this creates the directory ~/spot/infocalypse and some other config files
hg pull https://bitbucket.org/durin42/hg-git
hg update -C default
~/spot/.hgrc
Code: Select all
[extensions]
infocalypse - /root/spot/infocalypse/infocalypse
Code: Select all
hg fn-setup
http://127.0.0.1:8888/USK@-bk9znYylSCOE ... howto.html
or alternatively your can view this via exit proxy/gateway or on draketo.de
Notes & Links
-----------
1 - infocalypse uses the old syntax for mercuial plugins where the command array is manually contructed. After mercurial 3.8 I believe that decorators must be used instead. See: Writing Mercurial Extions and Line 394 of infocalypse/__init__.py
2 - the mercual configuration files can be put in several different places. For more details see: https://www.selenic.com/mercurial/hgrc.5.html
3 - an example of the old syntax for the mercurial plugin command array can be found at: https://www.draketo.de/proj/infocalypse-code-sharing/
4 - Linux from scratch suggest a dependency of python 2.7.11 for mercurial 2.7.1. However, I suspect that even older versions of python will work than suggested by linux from scratch, http://www.linuxfromscratch.org/blfs/vi ... urial.html
5 - hg-git can be installed via python-setuptools (available via the puppy package manager) with the following command:
Code: Select all
easy_install hg-git -U hg-git
Related Older Topoics
------------------------
mercurial-1.7.5 .PET for Lucid-5.20 (and maybe others)