QuitStore icon indicating copy to clipboard operation
QuitStore copied to clipboard

Automatic filenaming on branched graphs.

Open white-gecko opened this issue 7 years ago • 0 comments

  1. Start quit on an new repo.

    content = "<http://ex.org/a> <http://ex.org/b> <http://ex.org/c> ."
    with TemporaryRepositoryFactory().withGraph("http://example.org/", content) as repo:
        args = quitApp.parseArgs(['-t', repo.workdir])
        objects = quitApp.initialize(args)
        config = objects['config']
        app = create_app(config).test_client()
    
  2. Create two branches from the same original branch

        app.post("/branch", data={"oldbranch": "master", "newbranch": "develop"})
        app.post("/branch", data={"oldbranch": "master", "newbranch": "target"})
    
  3. Insert data into the same new graph on both branches.

        update = "INSERT DATA {graph <http://new.org/> {<http://ex.org/x> <http://ex.org/y> <http://ex.org/z> .}}"
        app.post('/sparql/target', data={"update": update})
    
        update = "INSERT DATA {graph <http://new.org/> {<http://ex.org/z> <http://ex.org/y> <http://ex.org/x> .}}"
        app.post('/sparql/develop', data={"update": update})
    

Problem: in one branch there will be new.nt and in the other one new_1.nt. Further there is a problem merging the two graphs from different files.

white-gecko avatar Apr 30 '19 17:04 white-gecko