Script Comparison

Learn how to compare scripts between RadishKit and Accela to identify differences and sync changes

Script comparison is a powerful feature that helps you identify differences between scripts in RadishKit and your Accela environment, ensuring consistency and preventing deployment issues.

What is Script Comparison?

Script comparison allows you to:

  • Compare scripts between RadishKit and Accela
  • Identify differences in script content
  • Sync changes between systems
  • Track modifications over time
  • Ensure consistency across environments

Understanding Comparison Types

RadishKit vs Accela

Compare scripts between RadishKit and Accela:

  • Content differences - See what changed in script content
  • Version mismatches - Identify version differences
  • Missing scripts - Find scripts that exist in one system but not the other
  • Extra scripts - Discover scripts that shouldn't be there

Version Comparison

Compare different versions of the same script:

  • Current vs previous - See what changed between versions
  • Version history - Track changes over time
  • Rollback comparison - Compare with previous stable versions
  • Branch comparison - Compare different development branches

Using Script Comparison

Step 1: Access Comparison

  1. Navigate to Scripts in your agency workspace
  2. Select a script you want to compare
  3. Click "Compare" button
  4. Choose comparison type

Step 2: Choose Comparison Options

Select what you want to compare:

  • RadishKit vs Accela - Compare with Accela version
  • Version comparison - Compare different versions
  • Environment comparison - Compare across environments
  • Custom comparison - Compare with specific script

Step 3: Review Differences

The comparison interface shows:

  • Side-by-side view - See both versions side by side
  • Highlighted differences - Changes are highlighted in color
  • Line-by-line comparison - Detailed line-by-line differences
  • Summary of changes - Overview of what changed

Comparison Interface

Visual Differences

The comparison interface highlights:

  • Added lines - New lines are highlighted in green
  • Removed lines - Deleted lines are highlighted in red
  • Modified lines - Changed lines are highlighted in yellow
  • Unchanged lines - Unchanged lines are shown normally
  • Jump to differences - Quickly navigate to changes
  • Expand/collapse - Show or hide unchanged sections
  • Search - Find specific text in either version
  • Export - Save comparison results

Comparison Results

Understanding Differences

Common types of differences:

  • Content changes - Script logic modifications
  • Formatting changes - Code formatting updates
  • Comment changes - Documentation updates
  • Parameter changes - Parameter modifications

Resolving Differences

When you find differences:

  1. Review changes - Understand what changed and why
  2. Validate changes - Ensure changes are correct
  3. Sync changes - Update the version that needs updating
  4. Test changes - Verify changes work correctly

Sync Operations

Syncing from RadishKit to Accela

Update Accela with RadishKit changes:

  1. Compare scripts - See what's different
  2. Review changes - Understand what changed
  3. Deploy changes - Deploy updated script to Accela
  4. Verify deployment - Ensure changes are applied

Syncing from Accela to RadishKit

Update RadishKit with Accela changes:

  1. Compare scripts - See what's different
  2. Review changes - Understand what changed
  3. Update RadishKit - Update script in RadishKit
  4. Save changes - Save updated script

Best Practices

Regular Comparison

  • Compare frequently - Check for differences regularly
  • Before deployment - Always compare before deploying
  • After changes - Compare after making modifications
  • Scheduled comparison - Set up automated comparisons

Change Management

  • Document changes - Record what changed and why
  • Review changes - Have team members review modifications
  • Test changes - Verify changes work correctly
  • Coordinate updates - Plan when to sync changes

Version Control

  • Track versions - Keep track of script versions
  • Tag releases - Mark stable versions
  • Branch management - Use branches for development
  • Merge strategy - Plan how to merge changes

Troubleshooting

Common Issues

Comparison not working:

  • Check script names and locations
  • Verify environment connectivity
  • Ensure proper permissions
  • Review comparison settings

Differences not showing:

  • Check if scripts are identical
  • Verify comparison settings
  • Ensure scripts are accessible
  • Review comparison options

Sync failures:

  • Check deployment permissions
  • Verify environment connectivity
  • Review sync settings
  • Contact support if needed

Getting Help

For comparison issues:

  • Check comparison logs - Review detailed error information
  • Verify environment - Ensure target environment is accessible
  • Contact support - aaron@radishapps.com
  • Review documentation - Check additional guides

Advanced Features

Automated Comparison

Set up automated comparison:

  • Scheduled comparison - Compare scripts automatically
  • Change detection - Get notified when scripts change
  • Sync automation - Automatically sync changes
  • Report generation - Generate comparison reports

Batch Comparison

Compare multiple scripts:

  • Select multiple scripts - Choose several scripts to compare
  • Batch comparison - Compare all selected scripts
  • Summary report - Get overview of all differences
  • Bulk sync - Sync multiple scripts at once

Next Steps

Now that you understand script comparison:

  1. Execution Monitoring - Monitor script executions
  2. Version Control - Track changes and versions
  3. Deployment Guide - Deploy scripts to Accela
  4. CLI Integration - Use CLI for comparison