Code Monkey home page Code Monkey logo

internet-system-dev's People

Contributors

ayy-ay-oos avatar faisal2016 avatar kla587 avatar

Watchers

 avatar  avatar  avatar  avatar

internet-system-dev's Issues

Use Case

Title: Users makes commit subject to existing SPDX data of project
Primary Actor: Users
Goal in Context: To indicate the plugin has received the POM files to be sent to Maven
Preconditions:
The POM files must be XML files
Plugin has received the Pom files
Stakeholders and Interests:

  1. User:
    To know the dependencies that the POM files contain
  2. Plugin:
    To Host the POM files to be sent to Maven
  3. Maven:
    To parse the POM files for dependencies
  4. DoSOCS
    To Generate a report
    To place the package in SPDX database while keeping the dependency hierarchies
    Main Success Scenario: Users received back at least one dependency from Maven scanning
    Failed End Condition:
    Maven return no dependencies while the package contains dependencies.

Trigger:
Commit of code to an upstream POM
Notes:

Update Readme - Install

Add install instructions and dependency requirements and provide pointers to these requirements.

Fork

We will have to fork queries.py schema.py and dbinit.py

Performance issues

Running a small dependency tree of around 5 nodes took a considerably long time. I'm not entirely sure if its just my machine or other issues.

Difficulty connecting with DoSocs DB

Been having trouble getting the relationships into the DoSocs database. Have tried uninstalling and reinstalling DoSocs and playing around with the configurations. Going to try to use another database to see if I can get connected.

Test Install script

es (6 sloc) 144 Bytes
mkdir perl

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y perl
sudo apt-get install libfile-find-rule-perl
cpan Modern::Perl

Parsing file

Ran into issues parsing the outputted maven file, entitled mvn.txt.

Code that ran in RegEx101 and matched correctly:
[^ ]+-\s+(\S+)(\n?|?\s+?.\n?|?\s+?.)

Seemed to be having issues with the [^] to denote to look at the start of the line in Perl.

DoSOCS Install

When running the install script for DoSOCS I receive a message saying "Can not find glib-2.0 headers"

Dependency oneshot

The current way it grabs and oneshots dependencies I believe is to be incorrect. The code is not actually grabbing any dependencies from the pom because I do not see them in /usr/share/maven-repo

Installation setup

A nice to have is if the project was able to be installed as a command instead of having to use perl to run it.

Trying to connect with MySQL

Tried to install and configure MySQL to handle storing relationships. Used commands below to install and test MySQL.

sudo apt-get install mysql-server mysql-client --set password spdx
sudo apt-get install libdbd-mysql-perl
sudo apt-get install mysql-client-5.5

Test

This is a test issue. Please close if you can see it.

Installed SQLite to test database connection

Uninstalled MySQL and followed tutorial for installing and configuring SQLite on http://www.tutorialspoint.com/sqlite/sqlite_perl.htm.

Ran command line:
wget http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.625.tar.gz
tar xvfz DBI-1.625.tar.gz
cd DBI-1.625
perl Makefile.PL
make
sudo make install

SQLite driver was missing for DBI, then ran

wget http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/DBD-SQLite-1.11.tar.gz
tar xvfz DBD-SQLite-1.11.tar.gz
cd DBD-SQLite-1.11
perl Makefile.PL
make
make install

Created a test program to set up a connection to the SQLite database.

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.