openlawlibrary / stelae

Preservation, Authentication, Access
GNU Affero General Public License v3.0
7 stars 1 forks source link

ergonomics #9

Open dgreisen opened 1 year ago

dgreisen commented 1 year ago

Couple things:

Proposed Stelae command structure:

dgreisen commented 1 year ago

I'm moving over discussion from another issue:

from @n-dusan:

Right now we use overloaded terms such as repository (in taf), library (in taf, platform, stele), dependency (in taf), host (in taf), namespace (publish-client, taf), environment (publish-server) in different modules that mean different things in platform. It gets really confusing really quickly to talk about these names without specifying which part of the stack they are referring to. We should enumerate (and update) this list of confusing names with a proposed renames and discuss. After, it also might make sense to update platform documentation with naming conventions that we adopted explaining the reasoning behind each of them.

Current list of overloaded terms and what they refer to:

Discuss a naming nomenclature which would rename some of these terms. Then incrementally refactor existing code to new naming conventions

dgreisen commented 1 year ago

from @renatav:

Just some small clarifications and nuances:

dgreisen commented 1 year ago

from @dgreisen

My suggestions:

dgreisen commented 1 year ago

target repo is really not a good name. it is meaningless to almost everybody except people familiar with tuf. No idea what a better name is, though.

n-dusan commented 1 year ago

We've changed the repository name to stelae now.

target repo is really not a good name. it is meaningless to almost everybody except people familiar with tuf. No idea what a better name is, though.

Agree, we could maybe use git's submodule nomenclature? https://git-scm.com/book/en/v2/Git-Tools-Submodules Or maybe even module. So target repo would be a stele (sub)module.

n-dusan commented 1 year ago

Meeting notes from 2/17

w/ @dgreisen @renatav @tombh @n-dusan

Naming

We've reached a naming consensus. We will be using:

Stelae command structure

Most of Stelae commands listed here should be ported from TAF. At the time being, we should utilize taf commands for mutating and make Stelae commands as wrappers around taf. Reasoning behind this is that taf uses python-tuf for signing repositories. While tuf community does have a Rust equivalent of python-tuf, it's still in early stages of development.

For reading the state of stele repositories, we should implement native Rust commands.

Commands:

n-dusan commented 5 months ago

Proposed workflow for an end user who wants to easily (1) authenticate a repo, keep it up-to-date