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

sha-1 id? #59

Open
s3cy opened this issue Oct 20, 2018 · 3 comments
Open

sha-1 id? #59

s3cy opened this issue Oct 20, 2018 · 3 comments

Comments

@s3cy
Copy link

s3cy commented Oct 20, 2018

Great tool. Thanks for making it.

Can we sha-1 the content and replace the value with the current id field? (like what git does.) The current ids look so damn similar. It is frustrating to enter something like 385373XXX every single time.

@strangeman
Copy link
Contributor

Get some shortcuts are a nice idea, like it.

@SCdF
Copy link

SCdF commented Feb 12, 2019

An alternative to this would be what TaskWarrior does:

  • There is an internal id that is giant and you can refer to it if you want to
  • But there is a mapping between the giant id and a small id, which is what is displayed and is 100x easier to use
  • These ids start from 1, and whenever you need to generate one you use the next available smallest id.
  • This means that these smaller ids get reused, which sounds confusing but really isn't in practice, and makes it really really easy to actually manipulate tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@SCdF @strangeman @s3cy and others