code-compare

Downloads4
Subscribe
0
Bookmark
0
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues

What's new in this version

Initial Release

Code Compare

This is my entry for InterSystems Developer Tools Contest 2021.

Inspiration

I often export a project from different systems.
I end up with tons of differences caused by timestamps, storage definitions, or other things I like to ignore.
This is very much a work in progress. Please be patient with me as I make it work.

Getting Started

Point your browser at http://localhost:52673/irisapp/MyApp.Hello.cls.
If you are prompted to login, login as _SYSTEM. Please note the default password for this app is abc123.
screenshot

There are two Browse buttons to select two files from the server.
The files are automatically imported into a global with index by routines and classes.
I initially coded a classmethod to compare two files and show the first difference I find in each class.

The Compare menu option displays a list of routines and classes in a frame.
My idea is to display the changed classes in a different style. This is not yet done.

If I click to select a class or routine, I store its name.
When I click on Details menu option, I show file1 left and file2 right.
Shorter files are padded with empty lines.
This works for also for flat text file as .CPF or .txt or .XML or similar.

Installation with Docker

Prerequisites

Make sure you have git and Docker desktop installed.

Clone/git pull the repo into any local directory e.g. like it is shown below:

$ git clone git@github.com:oliverwilms/zen.git

Open the terminal in this directory and run:

$ docker-compose up -d --build

Installation with ZPM

zpm:USER>install code-compare

Collaboration

Any collaboration is very welcome! Fork and send Pull requests!

ZPM installation
zpm "install code-compare"
Rating
0 (0)
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
0.0.1
Last updated
2021-04-16
Repository
Open
Documentation
Open
License
Link