Ejemplo n.º 1
0
 def run(args):
     Views.wait()
     try:
         s = Schwa(args.repository)
         analytics = s.analyze(max_commits=args.commits, parallel=not args.single)
         Views.results(analytics)
     except (RepositoryExtractionException, SchwaConfigurationException) as e:
         Views.failed(e)
         sys.exit(1)
Ejemplo n.º 2
0
 def run_json(args):
     s = Schwa(args.repository)
     analytics = s.analyze(max_commits=args.commits, parallel=not args.single)
     Views.results_json(analytics)