internet-system-dev's People
internet-system-dev's Issues
Attribution / Individual Form
Does anyone know what we are supposed to put in the attribution field of the individual form?
maven central return jar file & dependency tree
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:
- User:
To know the dependencies that the POM files contain - Plugin:
To Host the POM files to be sent to Maven - Maven:
To parse the POM files for dependencies - 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:
Create Database Schema
Relationships are not stored in the database
Update Readme - Copywrite
Add our names to the copywrite
Adding Images to Repo
Good instructions for adding images:
http://solutionoptimist.com/2013/12/28/awesome-github-tricks/
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.
Create DFD # 1
Use Cases
Here the example for the use cases
Temp File from Maven Central
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
Create DFD
DB Source to Fossology
This is our source code for connecting nomos scan into our spdx database
New License Declaration
Fix this:
The license under which the WordPress software is released is the GPLv2 (or later) from the Free Software Foundation. A copy of the license is included with every copy of WordPress
https://wordpress.org/about/license/
Should be:
Pointed to: https://spdx.org/licenses/GPL-2.0.html
Text should be: Licensed under GPLv2
Update Readme - Environment
Add the development environment.
Answers
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"
SPDX Scheme
Choose a license
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
Install and Config Database
Run install script and set up DB
Running Fossology at command line
Once you have this piece running please comments below before closing. Thanks!
Update Readme - Overview
4-5 sentences on what app is going to do
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.
Create a Communication Plan
Develop a plan for communication expectations for the semester.
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
Installation issues
Having trouble issues installing apt-get install lib-find-file-rule-perl
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.