Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

CUE documentation should talk about whether terser diffs are selling point #831

Closed
paul-hammant opened this issue Sep 4, 2019 · 4 comments

Comments

@paul-hammant
Copy link

You know, like what git-diff would say about an item added to a list - how many lines does the underlying diff engine think has changed

@xinau
Copy link
Contributor

xinau commented Sep 6, 2019

Thanks for your suggestion. I think it would be a good idea to add this feature to the documentation once #8 is implemented :)

@paul-hammant
Copy link
Author

I don't think so. This is a function of Git, Mercurial, Svn, Perforce, PlasticSCM. How pretty are diffs in that tech (unified diff really), for a number of change scenarios. And I say that becuase the at-rest format for CUE things is carriage-return delimited text (UTF8, or a codepage, etc), is it not??

@xinau
Copy link
Contributor

xinau commented Sep 6, 2019

@paul-hammant could you please elaborate a little bit more and provide an example on your issue/request as I'm struggling to understand the underlying issue.

@paul-hammant
Copy link
Author

$> diff ABCv1.toml ABCv2.toml

What does that diff look like (but CUE source not .txt files)? Is it noisy for a given scenario, or terse? If XML is OK for diffs (for that scenario). JSON is noisy because of the commas. What does CUE diffs look like?

@myitcv myitcv transferred this issue from cuelang/cuelang.org Mar 12, 2021
@myitcv myitcv closed this as completed Mar 12, 2021
@cuelang cuelang locked and limited conversation to collaborators Mar 12, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants