Hey Arne,

Thanks for looking into this. This project is really cool and promising.

Hope I can give it a try soon. Keep up the good work!

Best regards

On 2022-08-17 22:20, Dr. Arne Babenhauserheide wrote:
> Hi,
> 
> 
> infocalypse is the awesome code-over-freenet tool created by djk 
> and turned into an actual social coding tool by Steve (operhiem1), but
> it has been broken in Python 3 for many years.
> 
> Last weekend I bit the bullet and spent a day (well, an evening, a night,
> and a day) to get the minimal roundtrip working again: clone your code
> to Freenet, clone back to the local computer, commit, and push it back.
> It was lots of annoying string-to-byte and byte-to-string handling, but
> it got into a minimally working state!
> 
> Then Debora took it up and fixed fn-setup which creates your local
> infocalypse environment (I still had mine around so I didn’t hit that
> while testing) and sent a bundle with the changes over FMS. Thank you!
> 
> Infocalypse is not yet fixed completely, but its core workflow is
> operational. (with WoT and without WoT)
> 
> 
> We have a working code-over-freenet system again!
> 
> 
> If you want to try it, first install:
> - Mercurial https://www.mercurial-scm.org
> - pyFreenet3 (pip3 install --user pyFreenet3)
> 
> Then get infocalypse and set it up:
>     hg clone hg.sr.ht/~arnebab/infocalypse ~/infocalypse
>     hg -R ~/infocalypse update py3
>     echo "[extensions]
> infocalypse = ~/infocalypse/infocalypse
> " >> ~/.hgrc
> 
> 
> Then try the roundtrip:
> 
>     # variables for the run, choose a WoT ID of your own
>     export WOT_ID=ArneBab
>     export UUID=$(uuidgen);
>     
>     # create a new repository
>     rm -r /tmp/infocalypse-*
>     hg init /tmp/infocalypse-revived
>     cd /tmp/infocalypse-revived
>     echo "Follow the white rabbit" > looking-glass.txt
>     hg ci -Am "infocalypse"
>     
>     # clone to Freenet and get it back
>     hg clone . freenet:${WOT_ID}/infocalypse-revived-$UUID
>     hg clone freenet:${WOT_ID}/infocalypse-revived-$UUID
> /tmp/infocalypse-averted
>     
>     # do a change and push it into Freenet again, this time without WOT
>     cd /tmp/infocalypse-averted
>     echo "One pill makes you larger" >> looking-glass.txt
>     hg ci -m "And one pill makes you small, so you can roundtrip"
>     hg clone . USK@/infocalypse-averted
> 
> 
> I’m really happy that infocalypse works again!
> 
> This gets us one step closer to self-sufficient development: Freenet
> development could now be done by a group of pseudonymous people. We can
> already release updates when all our centralized infrastructure is down
> (if we decide to ship the old windows installer and let Windows boxes
> update over Freenet; Microsoft requires centralized signing), now we can
> actually do development over Freenet again.
> 
> We don’t yet know whether it will work with larger repositories like
> fred (it used to, but back then the network was 3 times larger), and
> we’ll have to check and possibly fix hg fn-reinsert so all contributors
> can keep the repository working, but we finally have that in place
> again.
> 
> 
> A foundation of real information freedom in the internet — safe against
> censorship by threat and by harassment and by flooding with noise.
> 
> 
> Imagine a group of hackers living in remote or citybound meshnets,
> connecting with solar-powered nodes to their friends while using their
> pseudonymous developer IDs to check on pull-requests and merge their
> work until they have a release they can insert to auto-update.
> 
> Known to the community for the good work they have been doing on Freenet
> in the past, an unbound focus of Freenet development.
> 
> 
> Best wishes,
> Arne

Reply via email to