GithubHelp home page GithubHelp logo

marosvolgyiz / reposync Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 179 KB

This is a framework which is able to Sync SenseNet Content between SenseNet ECM to Other systems.

License: GNU General Public License v2.0

C# 100.00%

reposync's People

Contributors

blaskodaniel avatar gallayl avatar marosvolgyiz avatar vargajoe avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

reposync's Issues

Provider specific configurations

  • We should set configuration on the provider

Draft:

interface IProviderSetting{
string user {get;set;}
...
}

SNClientLibraryProviderSetting : IProviderSetting, BaseSetting

var from = SNClientLibraryProvider(new SNClientLibraryProviderSetting{

})

RepoSync(IProvider from, IProvider to, SyncSettings settings)

public class BaseSetting{
public BaseSetting(){}
public BaseSetting(string jsonSetting)
{
TODO: implement, newtonsoft json!
}
}

Getting more done in GitHub with ZenHub

Hola! @VargaJoe has created a ZenHub account for the marosvolgyiz organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @VargaJoe.

ZenHub Board

Implement Sync method basics

Draft:

Settings
When the content exists:

  • Overwrite all
  • Overwrite older
  • Skip all ( Keep existing contents )
  • Modify existing contents only

Syncing directions:

  • Oneway syncing
    -- LTR
    -- RTL
  • Twoway syncing

Create WPF Interface

As a developer I want a Windows Application which provide the sync and compare methods.

Requirements:

  1. Load Providers dinamicaly
  2. Create UI for settings, and the App can save too the changes
    3, Use a json file for storing settings (maros has lot of information for this point)
    4, Display sync and content results
    5, Save Results

Implement IRepoSync Provider interface

Draft:

public class RepoSyncActionResult{
    //Properties
    string ActionName {get;set;};
    bool Succes {get;set;};
    SN.Client.Content SourceContent{get;set;};
    SN.Client.Content TargetContent{get;set;};
    Exception FaultReason {get;set;};
}

interface IRepoSyncProvider{
     public IProviderSetting {get;set;}; 
     public IRepoSyncFilter {get;set;};

     public SN.Client.Content Load(string Path);
     public List<string> ReadPaths(); //By filter
     
     public List<SN.Client.Content> Read(); //Get All path list, and Get them.
     public List<RepoSyncActionResult> Write(List<SN.Client.Content> contents);
}


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.