Page MenuHomePhabricator

Toolforge: potential improvements for labs/toollabs.git
Closed, ResolvedPublic

Description

The labs/toollabs.git repository contains 1 debian source package that produces 2 binary packages:

  • jobutils
  • misctools

Both package contains several small scripts (mostly python) that are fundamental to the current Toolforge, like jsub, take, and friends.

Some random ideas for potential improvements:

  • translate take source code from C to python, so we can drop the automake build suite in the package, which adds complexity and is harder to maintain than a simple python script
  • consider relocating the source code for the scripts to operations/puppet.git instead (so, no need for .deb packages anymore)

Event Timeline

Anyways, our time may be better spend deprecating the grid :-)

Related:

Note that many parts of the "misctools" package don't depend on the grid at all and would likely need to stay beyond its decommissioning.

I think that we can split all the tools that will still be useful without the grid (become/etc.) to their own repo/package, and leave all the grid-specific ones behind (jsub and such).

Could probably be shipped with toolforge-cli as generic toolforge-specific tools, and added as subcommands too.