Giter Site home page Giter Site logo

srcclr / build-inspector Goto Github PK

View Code? Open in Web Editor NEW
12.0 6.0 6.0 284 KB

Inspect your builds to look for changes in filesystem, network traffic and running processes.

License: Apache License 2.0

Ruby 79.20% Shell 5.24% Java 0.26% HTML 15.30%
inspector machine vagrant vagrant-virtual-machine java-vm gradle threat suspicious-builds inspector-monitors vagrantfile

build-inspector's People

Contributors

bjngjie avatar briandoll avatar calebfenton avatar codelion avatar curphey avatar dariusf avatar jsyeo avatar kickroot avatar newbishme avatar skinzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

build-inspector's Issues

Fails to build project

Text from original issue:

I tried testing it with a few gradle projects, the build fails at some step during compilation. I am not sure if we need to include some additional things in the vagrant setup.

e.g https://github.com/spring-projects/spring-security gives

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spring-security-messaging:compileJava'.
> Compilation failed; see the compiler error output for details.

scp command breaks when build inspector directory contains a space

More verbose output:
ssh -o HostName=127.0.0.1 -o User=vagrant -o Port=2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o IdentityFile="/Users/ming/build-inspector -o IdentitiesOnly=yes -o LogLevel=QUIET -o ControlPath=~/.ssh/%r@%h:%p -o ControlMaster=auto -o ControlPersist=10m -t [email protected] "bash -l /tmp/vagrantCommands.sh"

==> inspector: sh: -c: line 0: unexpected EOF while looking for matching `"'
==> inspector: sh: -c: line 1: syntax error: unexpected end of file

Better error

We should print a better error message if someone enters a url that is wrong -

Asankhayas-MacBook-Pro:build-inspector asankhaya$ ruby profiler.rb httsp://gith
ub.com/CalebFenton/TotallyLegitApp.git
/Users/asankhaya/.rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- packetfu (LoadError)
    from /Users/asankhaya/.rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /Users/asankhaya/git/build-inspector/packet_inspector.rb:1:in `<top (required)>'
    from /Users/asankhaya/.rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /Users/asankhaya/.rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from profiler.rb:5:in `<main>'

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.