-
Notifications
You must be signed in to change notification settings - Fork 448
Repository using cache invalidation events to update data #436
Repository using cache invalidation events to update data #436
Conversation
…/repository-initialize-git-commands
…/repository-initialize-git-commands
| { | ||
| if (!firstRunAtValue.HasValue) | ||
| { | ||
| firstRunAtValue = DateTimeOffset.Parse(firstRunAtString); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should you be passing a CultureInfo to these parse methods, or is it OK that they're being parsed using the CurrentCulture?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a good answer here, I'm going to use a lifeline (i.e. @shana)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ixes/repository-initialize-git-commands
drguthals
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense - thanks for a good description.
500c279
into
enhancements/repository-watcher-refactor-rollup
Note: This branch targets
enhancements/repository-watcher-refactor-rollup#461Related to: #409
Depends on:
A simpler part of the solution to #409.
Due to the changes in #434, the git log, git lock and git status caches throw an "Invalid" event on "First Run". (The true in the constructor..)
Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationCache.cs
Line 884 in 8a9554f
Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationCache.cs
Line 825 in 8a9554f
Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationCache.cs
Line 766 in 8a9554f
We can use that invalid event to accurately update data in
Repository