Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uniform bead references #42

Open
e3krisztian opened this issue Sep 20, 2020 · 0 comments
Open

Uniform bead references #42

e3krisztian opened this issue Sep 20, 2020 · 0 comments
Labels

Comments

@e3krisztian
Copy link
Owner

bead-reference is one of:

  • name of an existing file
  • [box:]name[@absolute-version]
  • @relative-version (relative references to existing input)

Where absolute-version is one of:

  • unique part of timestamp-prefix
  • unique part of contentid after # (# is to disambiguater from timestamp prefix)

Relative-version is absolute-version and the following

  • next / +
  • prev / previous / -

bead-reference examples:

  • ~/beads/xyt.zip (actually ~ should be resolved by the shell)
  • default, most recent version available
    • name
    • box:name
  • unique timestamp prefix
    • name@202009
    • name@20200920T1113
  • unique contentid part
    • name@#202009
  • relative versions (useful for update)
    • @next
    • @prev
    • @previous
    • @+
    • @--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant