Git Product home page Git Product logo

darep's People

Contributors

aeneaskaiser avatar basilkohler avatar k3vur avatar svgsponer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

darep's Issues

akzeptanztest 0.21 fail

0.21 Add folder which contains the repository

  1. Run
    prompt> data-repository add -r my-repos .
  2. An error output is expected explaining that a data set can not contain the repository itself.
  3. On a Unix system check with echo $? that the exit value is 1.

Null pointer wenn repo nicht existiert

Exception in thread "main" java.lang.NullPointerException
at darep.repos.Dataset.saveFilesToRepoisory(Unknown Source)
at darep.repos.Dataset.saveToRepository(Unknown Source)
at darep.repos.Database.add(Unknown Source)
at darep.repos.Repository.add(Unknown Source)
at darep.DarepController.processCommand(Unknown Source)
at darep.DarepController.main(Unknown Source)

akzeptanztest 0.28 fail

0.28 Export from unknown repository

  1. Run
    prompt> data-repository export -r unknown DS-42 exports
  2. A helpful error output is expected.
  3. On a Unix system check with echo $? that the exit value is 1

our output is:

created new repository bla
darep.repos.RepositoryException: ERROR: Unknown data set DS-42
at darep.repos.Repository.export(Unknown Source)
at darep.DarepController.processCommand(Unknown Source)
at darep.DarepController.main(Unknown Source)

akzeptanztest 0.13 fail

0.13 Export a data set into the repository

  1. Run
    prompt> data-repository export -r my-repos DS-42 my-repos
  2. An error should message is expected. It explains that it is not possible to export into the
    repository.
  3. On a Unix system check with echo $? that the exit value is 1.

dangerous bug: add -r repo . deletes the whole working directory !!

wenn man add -r reponame . macht wird der Inhalt des aktuellen Ordners komplett gelöscht !! Auch das repository!
ist auch sehr gefährlich zum Test schreiben!
Das Problem liegt wohl daran wenn man es mit einem '.' macht, weil wenn man pfade angibt scheint es keine Probleme zu gegen.

basil~/Dropbox/projects/eclipse-workspace/darep/dist$ ./data-repository add -r "myrepos" bblabla
created new repository myrepos
The file/folder bblabla has been successfully added to the repository as data set named BBLABLA

basil~/Dropbox/projects/eclipse-workspace/darep/dist$ ./data-repository add -r "myrepos" .
java.io.FileNotFoundException: /Users/basil/Dropbox/projects/eclipse-workspace/darep/dist/myrepos/metadata/.
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:194)
at java.io.FileOutputStream.(FileOutputStream.java:145)
at darep.repos.Metadata.save(Unknown Source)
at darep.repos.Metadata.saveInDir(Unknown Source)
at darep.repos.Dataset.saveToRepository(Unknown Source)
at darep.repos.Database.add(Unknown Source)
at darep.repos.Repository.add(Unknown Source)
at darep.DarepController.processCommand(Unknown Source)
at darep.DarepController.main(Unknown Source)

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.