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

Improve Git commits #286

Closed
wants to merge 7 commits into from
Closed

Improve Git commits #286

wants to merge 7 commits into from

Conversation

dnnr
Copy link

@dnnr dnnr commented May 6, 2015

This PR is a resurrection and extension of the outdated #183.

It changes replace() to be actually implemented instead of composing remove() and append(), so that it performs not two independent but a single, concise transaction on the storage backend. This is generally more efficient and especially desirable when Git support is enabled.

It also makes the commit messages slightly more informative and reduces the amount of changes in each commit by sorting fields and removing PRODID beforehand.

@liZe liZe added the feature label May 7, 2015
@liZe liZe added this to the 1.0 milestone May 7, 2015
dnnr added 3 commits June 15, 2015 19:53
Implement replace() instead of composing remove() and append(), so that
it performs not two independent but a single, concise transaction on the
storage backend. This is generally more efficient and especially
desirable when Git support is enabled.

This change also adds slightly more informative commit messages.
This minimizes the difference committed to the backend by preventing
arbitrary reordering of unchanged lines.
@dnnr dnnr force-pushed the git-better-commits branch from 31f27e7 to cbf13d4 Compare June 15, 2015 17:55
dnnr added 4 commits June 17, 2015 14:53
Sorting now preserves the positions of all BEGIN: and END: lines to
reflect the fact that items can be nested.
This ensures that joint items are properly sorted during parsing, since
sorting them is not possible anymore when serializing the entire
collection.
@liZe liZe mentioned this pull request Apr 4, 2016
39 tasks
@liZe
Copy link
Member

liZe commented Apr 17, 2016

Git support has been removed from Radicale and will be possible using external tools (see #372). Thank you!

@liZe liZe closed this Apr 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants