Skip to content

Instantly share code, notes, and snippets.

@yrashk
Last active January 29, 2018 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yrashk/0162fc52d849f7018d2788b781fdf044 to your computer and use it in GitHub Desktop.
Save yrashk/0162fc52d849f7018d2788b781fdf044 to your computer and use it in GitHub Desktop.
$ ./target/release/sit issues
0a8e0da1-b747-4c22-811a-43c153d3e737
$ ./target/release/sit records 0a8e0da1-b747-4c22-811a-43c153d3e737
DAOXWMTMKEZCRSVV5IXQBDY676IR5SBV
$ ls -la .sit/0a8e0da1-b747-4c22-811a-43c153d3e737/DAOXWMTMKEZCRSVV5IXQBDY676IR5SBV/
total 20
drwxr-xr-x 3 yrashk users 4096 Jan 28 18:17 .
drwxr-xr-x 3 yrashk users 4096 Jan 28 18:17 ..
-rw-r--r-- 1 yrashk users 22 Jan 28 18:17 text
-rw-r--r-- 1 yrashk users 30 Jan 28 18:17 .timestamp
drwxr-xr-x 2 yrashk users 4096 Jan 28 18:17 .type
$ ls -la .sit/0a8e0da1-b747-4c22-811a-43c153d3e737/DAOXWMTMKEZCRSVV5IXQBDY676IR5SBV/.type
total 8
drwxr-xr-x 2 yrashk users 4096 Jan 28 18:17 .
drwxr-xr-x 3 yrashk users 4096 Jan 28 18:17 ..
-rw-r--r-- 1 yrashk users 0 Jan 28 18:17 SummaryChanged
$ cat .sit/0a8e0da1-b747-4c22-811a-43c153d3e737/DAOXWMTMKEZCRSVV5IXQBDY676IR5SBV/text
Issue summary (title)
$ cat .sit/0a8e0da1-b747-4c22-811a-43c153d3e737/DAOXWMTMKEZCRSVV5IXQBDY676IR5SBV/.timestamp
2018-01-29T02:17:06.078176977Z⏎ # and finally
$ ./target/release/sit reduce 0a8e0da1-b747-4c22-811a-43c153d3e737
{
"summary": "Issue summary (title)"
}
# Changing summary
$ cat text
Issue summary (updated)
$ ./target/release/sit record -t SummaryChanged 0a8e0da1-b747-4c22-811a-43c153d3e737 text
BLVCCSV5Q77GNCFRBSWBLGWR4DVN3K4B
$ ./target/release/sit reduce 0a8e0da1-b747-4c22-811a-43c153d3e737
{
"summary": "Issue summary (updated)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment