zhaofengli / attic

Multi-tenant Nix Binary Cache

Home Page:https://docs.attic.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify cache creation already in atticd module?

zmrocze opened this issue · comments

Hi!

I have a couple of questions:

  1. When atticd starts on a fresh machine, is there no named cache there at first? (that is no servername:cachename to pass to attic login?)
  2. Can I define what caches get created if not present when atticd starts by some configuration option to the atticd.nix module?
  3. If the server indeed starts "empty", then should I generate keys for i.e. "mycache" cache with create permission before such cache exists? And then create that cache?

and lastly some small ones:

  1. What is <NAME> in attic login [OPTIONS] <NAME>? Does it correspond to anything on server side or I pick it for convenience on client side only?
  2. How can I check what named caches exist on the server? (having access to it)

Thanks a lot and thanks for attic!