- Rewrite in C as a proper gnunet service, should fix the cadet pushing issues.
- Specific GNS record type ?
- Figure out why cadet breaks when pushing, probably linked to the usage of the CLI client, C rewrite might fix.
+ - gnunet-cadet exits too early, definitely an issue with the input method. C will probably fix the issue. In the meantime, a cat+sleep is a reasonnable enough "fix".
- In which case, password system to push to repos (just add the password to the port ?)
- Pulling from anyone using a commit hash ?
- DHT to figure out who has what commits ?
echo >&2 "Running $service on port \`git.$name.git-$service'."
mktempfifo
-while < "$fifo_name" gnunet-cadet -o "git.$name.git-$service" | git "$service" . | (cat; sleep 0.1) | cat > "$fifo_name"; test 130 != "$?"; do
+while < "$fifo_name" gnunet-cadet -o "git.$name.git-$service" | git "$service" . | (cat; sleep 5) | cat > "$fifo_name"; test 130 != "$?"; do
rm "$fifo_name"
mktempfifo
done