Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

renaming commands to vaults terminology#29

Merged
brunocalza merged 17 commits intomainfrom
bcalza/rename
Dec 19, 2023
Merged

renaming commands to vaults terminology#29
brunocalza merged 17 commits intomainfrom
bcalza/rename

Conversation

@brunocalza
Copy link
Contributor

@brunocalza brunocalza commented Dec 14, 2023

Rename the commands to Textile Vaults terminology (and also the code names)

COMMANDS:
   create    create a new vault
   stream    starts a daemon process that streams Postgres changes to a vault
   write     write a Parquet file
   list      list vaults of a given account
   events    list events of a given vault
   retrieve  Retrieve an event by CID
   wallet    wallet commands
   help, h   Shows a list of commands or help for one command

This is kind of hard to review, so take a look at the new README.md and see if the new names make sense. Also, check out the config migration (and if possible, help to test it). It should copy the file .basin/config.yaml to .vaults/config.yaml.

obs: the write command descriptions still is "write a Parquet file" because the backend still assumes a Parquet file, although I know we're planning to accept any kind of data

@brunocalza brunocalza changed the title renaming things to vaults renaming commands to vaults terminolgy Dec 15, 2023
@brunocalza brunocalza changed the title renaming commands to vaults terminolgy renaming commands to vaults terminology Dec 15, 2023
Signed-off-by: Bruno Calza <brunoangelicalza@gmail.com>
Signed-off-by: Bruno Calza <brunoangelicalza@gmail.com>
@brunocalza brunocalza marked this pull request as ready for review December 15, 2023 15:50
@brunocalza brunocalza requested review from avichalp, dtbuchholz and sanderpick and removed request for dtbuchholz and sanderpick December 15, 2023 15:55
@brunocalza brunocalza self-assigned this Dec 15, 2023
Copy link
Contributor

@dtbuchholz dtbuchholz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good from my perspective!

Copy link
Contributor

@avichalp avichalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

"gopkg.in/yaml.v3"
)

var pubNameRx = regexp.MustCompile(`^([a-zA-Z_][a-zA-Z0-9_]*)[.]([a-zA-Z_][a-zA-Z0-9_]*$)`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pubNameRx got left behind

Copy link
Contributor

@sanderpick sanderpick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Improve CLI help, add versioning, & `list`/`retrieve` enhancements
@brunocalza brunocalza force-pushed the bcalza/rename branch 2 times, most recently from 5d9050c to 380a582 Compare December 19, 2023 21:29
Signed-off-by: Bruno Calza <brunoangelicalza@gmail.com>
Signed-off-by: Bruno Calza <brunoangelicalza@gmail.com>
@brunocalza brunocalza merged commit 563b4c2 into main Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants