Skip to content

Hook after download #26

@jlaxson

Description

@jlaxson

I would love the ability to specify some sort of hook to run on downloaded/requested assets. Could happen synchronously or asynchronously for my purposes (maybe even preferable asynchronously). I'd see it as dispatching an action to the RBE scheduler, but probably lots of ways to skin that cat.

I'd use it to unpack and directly upload all constituent files into the CAS. This way clients aren't downloading large assets only to unzip and upload them right back.

I'd also use it to log assets I'm using and maybe automatically mirror them into persistent object storage that I control (a la mirror.tensorflow.org).

Another use, less personally interesting, would be to enforce policy (whitelisting sources), etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions