cool!

just to formalize the 9fans steps of canonization, i think it goes something like this:
servant of 9fans → loathed → cursed → saint



On Thu, Mar 19, 2015 at 1:31 PM Jeff Sickel <jas@corpus-callosum.com> wrote:
You can pick up a Cheesehead hat in Wisconsin, or online…
Some groups I’ve worked with would pass the Cheesehead hat to the person
who checked something in that broke the nightly build.  I’m not saying
being sainted by the 9fans community wouldn’t be an honor, but the
recipient might get something more along the lines of a cheesehead hat.


Until then, you can install hg-git for your python2.7 environment on Plan 9:

mkdir -p $home/lib/python2.7/site-packages/docs
bind -bc $home/lib/python2.7/site-packages /$cputype/lib/python2.7/site-packages
bind -bc $home/lib/python2.7/site-packages /sys/lib/python2.7/site-packages

Grab dulwich (https://pypi.python.org/pypi/dulwich), I pulled the latest master
from github:

% unzip -f dulwich-master.zip
% cd dulwich

To accommodate a strange import error not setting has_mmap correctly, patch
dulwich/pack.py (this is from my hg clone version after installing):

% hg diff -g dulwich/pack.py
diff --git a/dulwich/pack.py b/dulwich/pack.py
--- a/dulwich/pack.py
+++ b/dulwich/pack.py
@@ -59,6 +59,10 @@
     SEEK_CUR,
     SEEK_END,
     )
+# For some reason the above try, except fails to set has_mmap = False
+if os.uname()[0] == 'Plan9':
+    has_mmap = False
+
 import struct
 from struct import unpack_from
 import zlib


Install dulwich:

% python setup.py --pure install


Grab and install hg-git:

% hg clone https://bitbucket.org/durin42/hg-git
% cd hg-git
% python setup.py install


Add ‘hggit =‘ to your $home/lib/hgrc [extensions].

Test it out:

% hg clone git://github.com/schacon/hg-git.git


It isn’t exactly fast, and there are some cases where cloning using https:// instead
of git:// can be an issue, but it works as a brace|cudgel|kludge until a cleaned up
git is made available for Plan 9.

Now to finish a little transmogrifier git script to trick go get...

-jas



> On Mar 19, 2015, at 1:03 PM, Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote:
>
> a 9fan/git-fan should volunteer to take one for the team,  learn git thoroughly, then hide it behind an fs layer. we will revere such a person, and nominate him/her for sainthood.
>
> On Thu, Mar 19, 2015 at 9:35 AM Charles Forsyth <charles.forsyth@gmail.com> wrote:
>
> On 19 March 2015 at 16:09, <arnold@skeeve.com> wrote:
> There is definitely some
> learning curve and mindset change
>
> Just what I want from a little servant that's supposed to help me manage some file changes.