Giter VIP home page Giter VIP logo

snow-file-comparator's Introduction

SNOW-File-Comparator

Compares files from different branches and spits out deleted files

How to install?

Run following command in terminal to install SNOW Comparator (snowcomp) module:

pip install snowcomp

How to use?

Create a configuration file (conf.json) having information related branches to compare, Git repository etc.

{
    "username": "",
    "password": "",
    "git_repo_link": "",
    "old_branch": "master",
    "latest_branch": "develop",
    "clone_dir": "test_clone",
    "instance_of_old_app": "",
    "ignore_deletions":  ["sys_dictionary", "sys_documentation", "ua_table_licensing_config", "wf_workflow_version", 
                        "wf_activity", "wf_condition", "sys_variable_value", "wf_transition", "wf_estimated_runtime_config", 
                        "sys_scope_privilege", "sys_wizard_answer", "sys_ui_view", "sys_metadata_link", "sys_embedded_help_role"]
}

You can add more classes in ignore_deletions list. File deletions from this list will be ignored and won't be shown as deleted files (Will be considered valid deletions).

Now run following command in the directory where above conf.json is saved.

python -m snowcomp

This will create a file named Deleted Files.txt having links to deleted files.

Note

Supports Python 3.x

snow-file-comparator's People

Contributors

kaushal28 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

danielmcmir

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.