Coder Social home page Coder Social logo

zach-johnson / deltacode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nexb/deltacode

0.0 0.0 0.0 190.46 MB

DeltaCode: compare two codebase scans (from ScanCode) to detect significant changes.

Home Page: http://www.aboutcode.org/

Shell 2.64% Python 94.74% Makefile 0.40% Batchfile 1.75% Dockerfile 0.45%

deltacode's Introduction

Deltacode

DeltaCode is a simple command line utility that leverages the power of scancode-toolkit to determine file-level differences between two codebases.

During a typical software release cycle, development teams and software compliance experts want insight into how a codebase has changed during each release iteration. Specifically, these users need a utility that can point out places in a codebase where material license and other provenance changes have occurred. This is where DeltaCode comes in.

DeltaCode provides an accurate means of comparing two ScanCode result files, and returning any possible changes that have occurred between the two given scanned codebases. DeltaCode currently has the ability to detect file size and license changes, as well as means to detect when files have been moved to new locations.

We are continuously working on new features, such as detecting copyright changes and detecting package version changes.

Build and tests status

We run tests on each commit on multiple CIs to ensure a good platform compatibility with multiple versions of Windows, Linux and macOS.

Azure RTD Build
Azure tests status (Linux, macOS, Windows) Documentation Status

Documentation

The DeltaCode documentation is hosted at deltacode.readthedocs.io.

Installation

Before installing DeltaCode make sure that you have installed the prerequisites properly. This means installing Python 3.8 for x86/64 architectures. We support Python 3.8, 3.9 and 3.10.

See prerequisites for detailed information on the support platforms and Python versions.

There are a few common ways to install DeltaCode.

Quick Start

Run this command to display the command help:

deltacode --help

Run a sample delta:

deltacode -n samples/samples.json -o samples/samples.json

Run a simple delta saved to the output.json file:

deltacode -n samples/samples.json -o samples/samples.json -j output.json

Then open output.json to view the delta results.

To get DeltaCode results for your codebase, install scancode-toolkit and generate a scan for each of the codebases you wish to 'Delta'

Support

If you have a problem, a suggestion or found a bug, please enter a ticket at: https://github.com/nexB/deltacode/issues

For discussions and chats, we have:

  • an official Gitter channel for web-based chats. Gitter is also accessible via an IRC bridge. There are other AboutCode project-specific channels available there too.
  • an official #aboutcode IRC channel on liberachat (server web.libera.chat). This channel receives build and commit notifications and can be noisy. You can use your favorite IRC client or use the web chat.

Source code

License

  • Apache-2.0 with an acknowledgement required to accompany the delta output.

See the NOTICE file and the .ABOUT files that document the origin and license of the third-party code used in DeltaCode for more details.

deltacode's People

Contributors

steven-esser avatar johnmhoran avatar pombredanne avatar jonoyang avatar ayansinhamahapatra avatar arnav-mandal1234 avatar pratikrocks avatar chinyeungli avatar hritik14 avatar arijitde92 avatar purna135 avatar tg1999 avatar agustinhenze avatar keshav-space avatar mjherzog avatar swastkk avatar

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.