Skip to content

Comments

Logging tweaks#198

Merged
kusma merged 10 commits intofuse-open:masterfrom
mortend:logging-tweaks
Jul 20, 2019
Merged

Logging tweaks#198
kusma merged 10 commits intofuse-open:masterfrom
mortend:logging-tweaks

Conversation

@mortend
Copy link
Member

@mortend mortend commented Jun 20, 2019

Some subtle tweaks, mostly to some logging code.

@mortend
Copy link
Member Author

mortend commented Jul 12, 2019

This one should be good to go now...

Options = options;
BundleDirectory = Path.Combine(project.CacheDirectory, "bundle");
CacheDirectory = Path.Combine(project.CacheDirectory, "builds", (options.BuildTarget + options.Configuration).GetHashCode().ToString("X8"));
CacheDirectory = Path.Combine(project.CacheDirectory, "builds", (options.BuildTarget + options.Configuration).GetHashCode().ToString("x8"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the commit message says this is backwards compatible, but how come it is?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cache files are regenerated automatically when not found, so renaming the directory has no other consequences than improving naming consistency.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. So you'll end up with two cache-directories until the cache gets cleared?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Copy link
Contributor

@kusma kusma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@kusma kusma merged commit a00b57a into fuse-open:master Jul 20, 2019
@mortend mortend deleted the logging-tweaks branch July 20, 2019 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants