#1 ✓resolved
bahuvrihi

Task Manifest

Reported by bahuvrihi | April 15th, 2008 @ 08:26 AM | in Tap 0.10.0

Tap needs a task manifest similar to that printed by rake -T

There are no naming conventions to glob for, but a manifest could be created by scanning files along load paths. Files that have a certain rdoc flag could be pulled into the manifest. The rdoc flag could be used to mark task documentation for the command line as well.

To keep everything up-to-date, you might check the manifest timestamp vs the timestamp for files along the load paths (although this might scale badly for MANY MANY files, that kind of prolific load path will likely be rare, and you could flag to prevent it).

Comments and changes to this ticket

  • bahuvrihi

    bahuvrihi April 17th, 2008 @ 04:20 PM

    • Milestone set to Tap 0.10.0
  • bahuvrihi

    bahuvrihi April 22nd, 2008 @ 08:13 AM

    Folder Implementation

    An obvious, but kind of heavy implementation is to gather all documentation into a manifest folder:

    • tap.manifest
    • .manifest
    • .tap

    Or something similar. It's a little hard to justify in that it's a total duplication of information already in the files, but it simplifies a variety of tasks such as:

    • only updating out-of-date information
    • pulling out just the info needed

    Harder to handle:

    • consistency with files that are changing
    • updates when the env configurations change

    File Implementation

    All the documentation could alternatively be collected into one .yml file using yaml documents. Loading would be a bit slower but management a little cleaner. Collecting the files in one place does not avoid the hard-to-handle issues of a directory.

    File as reference

    The file could be a reference for data that is slower to lookup... such as which files contain tasks, some reference time, and snippits current to the reference time.

  • bahuvrihi

    bahuvrihi June 27th, 2008 @ 09:57 AM

    • Tag set to feature, tap

    Some outlines of the documentation style for task manifests (and related documentation)

  • bahuvrihi

    bahuvrihi July 3rd, 2008 @ 08:38 AM

    • State changed from “new” to “resolved”
    • Assigned user set to “bahuvrihi”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for making configurable, file-based tasks and workflows.

People watching this ticket

Attachments

Tags

Pages