Skip to content

ergonomics #9

@dgreisen

Description

@dgreisen

Couple things:

  • I initially proposed a .stele folder in root of library. However, I'm now thinking it should be .stelae, since this is the root of a folder with many stele in it. This would leave open the posibility of including a .stele file in individual stele.
  • I would like the keystore to be at .stelae/keystore, that way you never have to specify keystore, it will just use whatever keys are in that keystore. if you want to specify a different keystore, you could.
  • ideally, all commands in taf and stele would use the library that the command was called from.
  • there is already a cargo container called stele. should we change our name to stelae?

Proposed Stelae command structure:

  • stelae
    • list
      • should work on an archive, stele, target
      • data: up to date with remote, uncommitted targets, unsigned targets, which targets are cloned/not cloned locally, bare/normal; display in pretty tree with optional json output, list dependencies
    • stele
      • add - add a existing stele as a new dependent stele and sign
      • remove - remove an existing dependency and sign
      • list - appropriate subset of root list command
      • init - initialize a new stele and add to dependencies
    • target
      • add - add a new target repository and sign
      • remove - remove an existing target repository and sign
      • list - appropriate subset of root list command
    • sign - sign a stele, or all stele in an archive; error if uncommitted changes or not up-to-date with remote
    • serve - serve via http (run publish server)
    • shallow-clone - create a new archive, shallow clone root and all dependency stelae, can include/exclude target types to clone.
    • clone - create a new archive, clone root stelae and all dependencies.
    • update - update a particular archive or stele, update all dependencies
    • validate - validate a particular archive or stele, validate all dependencies
    • init - initialize a new archive with a new root stele
    • upgrade - upgrade to a new version of stelae
    • key management...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions