Wurf

From Nasqueron Agora
Revision as of 15:50, 18 October 2024 by Dereckson (talk | contribs) (Created page with "The '''wurf''' (web upload and receive file), allows to spawn a server to allow to download a file, then exit automatically. It's planned to be deployed on Nasqueron servers for the end of the year 2024. The '''wurf''' utility is a fork of '''woof''' (web offer one file) by Simon Budig. As woof is released under a GPLv2+ software, the '''wurf''' utility is also release under a GPLv2+ license, and not under BSD license. We thank Simon for the work on that utility. == No...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The wurf (web upload and receive file), allows to spawn a server to allow to download a file, then exit automatically. It's planned to be deployed on Nasqueron servers for the end of the year 2024.

The wurf utility is a fork of woof (web offer one file) by Simon Budig. As woof is released under a GPLv2+ software, the wurf utility is also release under a GPLv2+ license, and not under BSD license. We thank Simon for the work on that utility.

Notes on the fork

The name wurf is more wolfie than doggie, as the acronym of "web upload and receive file".

The goals of the fork are to actively maintain a Python 3.x-compatible version:

  • supersede the soft-deprecated getopt module by argparse
  • accept pull request replacing CGI module
  • publish man page

We also need to modernize Web distribution by supporting TLS:

  • allow to document a proxy configuration for woof, so it can be served through nginx with proxy_pass
  • allow certificates support to directly serve without proxy

We'd like to try to restore woof in packages distribution:

  • the port I maintained was removed from FreeBSD in 2020 as not compatible with Python 3 and a project decision not to distribute packages for unsupported Python versions
  • the package for Debian was 2.7 only and remove after Jessie (see T1644)

That let Nasqueron in a though spot, we rely on that utility on our servers but struggle to keep it maintained

Hence the fork for our own servers infrastructure.