The evolution of SNAG

SNAG

Goals

  • Learn about
    • Neo4j
    • Python
  • Implement relations between
    • Files
    • Commits
    • JIRA Issues

SNAG

Overview

$ docker-compose run --rm py python snag/cli.py -m 5
Starting - 2018-03-07 12:37:51.744428
Gathering settings...
Configuration file: /code/snag/../snag.yml
Repository: /repo
Database URL: bolt://neo4j:foobar@neo4j:7687
Maximum Commits: 5
Clearing database...
Filling database with data...
  [####################################]  100%             
Execution time - (0, 9) (minutes, seconds)
Done! - 2018-03-07 12:38:00.910355

Just use it live!

Whats the problem?

  • Some tests brokenĀ 
  • pylint? kinda, 7.42/10..
  • How to use it actually?
  • All features included?

Goal: Measure risk of a pick automatically

-> sure, use SNAG!

But!

Dressing up

From SNAG to SNAKE

Statical

Neo4j

Analytics

Kit

Evolved

https://gitlab.tradebyte.org/devqa/snake

SNAKE

What can it do?

  • fetch: Fill Neo4j database with data
  • query: Custom query against Neo4j
  • filestat: Get some stats for a file

Demo

so far..

The evolution of SNAG

By Martin Jainta

The evolution of SNAG

  • 214