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

[WIP] Mac refactor demo 2019 #771

Closed
wants to merge 38 commits into from

Conversation

lockandfire
Copy link
Collaborator

Based on 2017/12's old version.

Crawlsync tested, changlog sync tested for basic behavior. Local watcher not implemented yet

Min Wu added 30 commits December 28, 2017 14:49
- add synctriplet
- move sync repo independent package
- move config to independent package
- sync machine todo
…ate new file or folder under the deleted one

namespace CmisSync.Lib.Sync.SyncMachine
{
public class SyncTripletProcessor
Copy link
Contributor

Choose a reason for hiding this comment

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

Class documentation would be great :-)

return res;
}

public static SyncTriplet CreateSFGFromLocalFolder(
Copy link
Contributor

Choose a reason for hiding this comment

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

Expanding SFG (or at least explaining it) would make the code more understandable to readers.

<Compile Include="Config\CmisSyncConfig.cs" />
<Compile Include="Config\ConfigManager.cs" />
<Compile Include="Config\ConfigMigration.cs" />
<Compile Include="Sync\SynchronizeItem\SyncItem.cs" />
Copy link
Contributor

Choose a reason for hiding this comment

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

SynchronizeItem -> SynchronizedItem?

metadata = OperationUtils.FetchMetadata (remoteDocument, session);
} catch (CmisBaseException e) {
// Remove temporary local document to avoid it being considered a new document.
Console.WriteLine (" %% download error, " + e.Message);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not to the log file?

@lockandfire lockandfire changed the title Mac refactor demo 2019 [WIP] Mac refactor demo 2019 Mar 18, 2019
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