Skip to main content

Compares files from different branches and spits out deleted files

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snowcomp-2.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

snowcomp-2.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page