The wurf utility (Web Upload and Receive Files) allows spawning a web server to serve a file, a directory as an archive, or to receive a file.
Fork of woof by Simon Budig, under GPLv2+ license.
More information: https://agora.nasqueron.org/Wurf
The wurf utility (Web Upload and Receive Files) allows spawning a web server to serve a file, a directory as an archive, or to receive a file.
Fork of woof by Simon Budig, under GPLv2+ license.
More information: https://agora.nasqueron.org/Wurf
Deployed on WindRiver
Import script to create the commits:
1 | #!/bin/sh |
---|---|
2 | |
3 | set -e |
4 | |
5 | BASE_DIR=$HOME/dev/nasqueron/wurf/archiv |
6 | DATE="Fri Dec 31 23:59:59 2004 +0000" |
7 | |
8 | for file in $(grep fileserv /tmp/all.txt) |
9 | do |
10 | cp $BASE_DIR/$file fileserv.py |
11 | git add fileserv.py |
12 | git commit -m "Import archive of $file" --author="Simon Budig <simon@budig.de>" --date="$DATE" |
13 | done |
14 | |
15 | git mv fileserv.py woof.py |
16 | |
17 | for file in $(grep woof /tmp/all.txt) |
18 | do |
19 | cp $BASE_DIR/$file woof.py |
20 | git add woof.py |
21 | git commit -m "Import archive of $file" --author="Simon Budig <simon@budig.de>" --date="$DATE" |
22 | done |
https://github.com/simon-budig/woof/pull/17 offers a solution, but the code is very tangled. My initial plan noted in task description is based on my review on that pull request.
After two weeks of thinking, let's go with the wurf fork plan.
Documentation: https://agora.nasqueron.org/wurf