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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file snowcomp-2.0.tar.gz.

File metadata

  • Download URL: snowcomp-2.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for snowcomp-2.0.tar.gz
Algorithm Hash digest
SHA256 b8fbae94968787bc63aa57f48db6e2dc4cfc8ade4513720a07bcdcd80b6f47df
MD5 c002b3c7bc3977c44f28de44c6dedebe
BLAKE2b-256 b7996b2340da4d587e0c3ed79b40f95400db22741496bc7eeb61272a587ebc40

See more details on using hashes here.

File details

Details for the file snowcomp-2.0-py3-none-any.whl.

File metadata

  • Download URL: snowcomp-2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for snowcomp-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d71cc4c1dcccd380d0973d214191d6f42cee70604cc1dc088e8e5db13ef051d1
MD5 274221533886255bf9dd3dc2c00c7bd3
BLAKE2b-256 7c17e71f82df1a86872127c6c6180873a8925c2dc40c66edb1f8450a20ba0d38

See more details on using hashes here.

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