Commit Graph

76 Commits

Author SHA1 Message Date
Rafael Weinstein
6fc16866b4 you get a bufio. you get a bufio... (#1938)
you get a bufio. you get a bufio
2016-07-01 06:22:02 -07:00
Erik Arvidsson
40a2f661a7 Fix issue with missing size in expected diff output (#1933) 2016-06-29 14:20:10 -07:00
Mike Gray
7a1817d287 channels for orderedSequenceDiff (#1926) 2016-06-29 16:56:46 -04:00
Ben Kalman
038192cfcc Make the spec package support types.Path (#1920) 2016-06-29 13:55:05 -07:00
Erik Arvidsson
0dc12c9e3d HRS: Show the size of containers (#1925)
Fixes #1837
2016-06-28 17:04:08 -07:00
Rafael Weinstein
3a27e81a3e Parallelize noms-log (#1896)
Parallelize noms-log
2016-06-25 13:06:28 -07:00
Rafael Weinstein
591093756c Fix goroutine leak in list diff (#1899)
Cleanup goroutines in list diff when closed
2016-06-25 12:13:40 -07:00
Mike Gray
71d4f0eef7 list/indexed diff with go channel for response (#1895) 2016-06-23 17:32:07 -07:00
Dan Willhite
095d49fa84 New error handling. 2016-06-22 12:11:31 -07:00
Aaron Boodman
82b063a1f5 noms (diff|log|show): gracefully handle user specifying non-existent spec (#1849) 2016-06-20 17:47:47 -07:00
Dan Willhite
c00b3aeb72 Don't emit type info in diff. Fixes #1831 2016-06-16 14:04:46 -07:00
Aaron Boodman
d58d558548 Make types.String not cache ref (#1836)
Fixes https://github.com/attic-labs/noms/issues/1542
2016-06-16 07:04:28 -07:00
Dan Willhite
a3a78d695d Add HeadValue() and MaybeHeadValue() to dataset.go and js equivalents
Fixes #1801.
2016-06-15 11:16:25 -07:00
Aaron Boodman
01be9f1705 Introduce spec.Get(Database|Dataset|Path) conveniences (#1813)
Fixes: https://github.com/attic-labs/noms/issues/1800
2016-06-14 14:06:22 -07:00
Mike Gray
166a83979b limit the size of the edit distance matrix (#1739) 2016-06-13 17:18:35 -04:00
Dan Willhite
971a41d2a3 Merge pull request #1793 from willhite/b-1791
Remove flags section from noms help. #1791
2016-06-13 12:52:46 -07:00
Dan Willhite
67bbdad7eb Remove flags section from noms help. #1791 2016-06-13 12:01:55 -07:00
Aaron Boodman
fcf772dccd move noms/samples/go/flags -> noms/go/spec (#1799) 2016-06-12 15:42:50 -07:00
Dan Willhite
6cc5b22b32 Merge pull request #1770 from willhite/log-diff
Log diff
2016-06-10 11:06:29 -07:00
Chris Masone
e35a705da5 Go: Simplify enabling profiling
One side effect of the way that Go's flag library works is that any
flag that's defined at the global scope by any library that's built
into your binary shows up in your help -- whether you honor it or
not. Arguably, including the library and calling its entry points
should be tantamount to honoring the flags. This change makes the
profiling flags behave that way -- there's one function that you call
to turn on whichever kinds of profiling the user specifies on the
command line. It returns an object with a Stop() method that you call
to shut down profiling and flush data, like so:

defer profile.MaybeStartProfile().Stop()
2016-06-10 09:01:13 -07:00
Mike Gray
c77bc3fc3a adding gitignores for noms cmds (#1772) 2016-06-09 22:02:57 -04:00
Dan Willhite
9a49bf9567 Print out diffs in noms-log 2016-06-09 13:45:12 -07:00
Rafael Weinstein
10482e26e4 Remove postRefs end point (#1761) 2016-06-08 15:23:05 -07:00
Aaron Boodman
89f07b675a csv/csv-import: add support for importing to map. (#1754)
csv/csv-import: add support for importing to map.
2016-06-08 15:18:04 -07:00
Erik Arvidsson
5571e0bc6f Add commas to HRS of struct type (#1759)
This makes the struct more consistent with the rest.
2016-06-08 14:54:47 -07:00
cmasone-attic
00af81440f Move Go profiling helpers out of samples/ (#1757)
These are used in cmd as well, so it seemed weird to have
them over in samples/util
2016-06-08 14:26:44 -07:00
Dan Willhite
f371a235d5 Change dataspec syntax to use '::' in path specs. 2016-06-07 15:01:26 -07:00
Aaron Boodman
8aab8924d1 Rename clients to samples 2016-06-05 02:37:28 -07:00
Aaron Boodman
bb7ac52265 Move the Go SDK into noms/go 2016-06-05 02:14:49 -07:00
Erik Arvidsson
716ee29be3 Remove usage of ToPrimitive (#1725) 2016-06-03 15:22:06 -07:00
Dan Willhite
132b8629a9 Merge pull request #1641 from willhite/diff
noms-diff command
2016-06-03 14:05:57 -07:00
Dan Willhite
f04416d900 Review changes. 2016-06-03 11:18:47 -07:00
Erik Arvidsson
1b6ef9ceee Rename Parent<> to Cycle<> (#1718) 2016-06-03 10:31:27 -07:00
Dan Willhite
14f7d4a1dd noms-diff command
known issues:
  human readable encoding is too verbose in some cases
  hard/impossible to correlate changed objects in lists and sets
  context is never displayed
  not sure what to print in "path" when descending into diffs with sets and lists
  probably need to special case printing of long strings and blobs (and maybe diff strings and blobs)
2016-06-02 17:35:32 -07:00
Dan Willhite
7546820de7 Move paging functionality into specific noms sub commands.
This also fixes some edge cases where paging wasn't terminating properly
and eliminates the dreaded -stdout-is-tty argument.
2016-06-02 13:36:14 -07:00
Aaron Boodman
a2369853c9 Update README.md 2016-06-01 16:55:35 -07:00
Aaron Boodman
ec61b540f2 Update README.md 2016-06-01 16:53:18 -07:00
Aaron Boodman
7d532b653c Update README.md 2016-06-01 16:53:02 -07:00
Aaron Boodman
15a22e16da Update README.md 2016-06-01 16:51:17 -07:00
Rafael Weinstein
143d570960 Binary encoding (#1679)
Noms format is now binary encoded.
2016-05-31 16:13:51 -07:00
Dan Willhite
89ec809246 Arg enhancements to noms-log.
Added -n arg to limit number of commits that are displayed.
Changed dataspec arg to valuespec arg so that sha1's can be used as starting commit.
2016-05-31 14:13:49 -07:00
Aaron Boodman
40d485bd03 Licensify everything 2016-05-30 14:32:28 -07:00
Ben Kalman
9ccc3fcf8c Println --> Printf (#1659) 2016-05-27 10:43:47 -07:00
Ben Kalman
f608246c21 Remove duplicate entries in noms -help (#1644) 2016-05-26 13:34:13 -07:00
Ben Kalman
ca5c8dfd97 Make cmd/noms look in $GOPATH for noms executables (#1626) 2016-05-25 15:11:37 -07:00
Ben Kalman
6187e76325 Replace stretchr/testify with attic-labs/testify (#1637)
This removes the httptest flag in usage for every command.
2016-05-25 13:13:55 -07:00
Ben Kalman
5e170e1ee2 Rename noms-view to noms-ui, remove serve option, cleanup (#1634) 2016-05-25 11:15:49 -07:00
Ben Kalman
e34551cd54 Standardise database/dataset accessors as database() and dataset() (#1607)
In JS they are either set() or store(). In Go they are either Dataset()
Store(), or Database().
2016-05-24 10:25:16 -07:00
Ben Kalman
5b8462f3d6 Update non-Flickr clients to noms v37.0.0 (#1606)
Major changes:
* async newList() --> sync new List()
* rename ref --> hash
* better types
* walk() return type changed
2016-05-23 17:46:41 -07:00
Rafael Weinstein
4e9e43c27e Cleanup misrenamed symbols (#1584) 2016-05-21 13:02:39 -07:00