Skip to content

feat: Beyond Compare enhancements and workflow fix#6

Merged
gdellis merged 1 commit into
mainfrom
feature/beyond-compare-enhancements
Feb 9, 2026
Merged

feat: Beyond Compare enhancements and workflow fix#6
gdellis merged 1 commit into
mainfrom
feature/beyond-compare-enhancements

Conversation

@gdellis
Copy link
Copy Markdown
Owner

@gdellis gdellis commented Feb 9, 2026

Summary

Enhance Beyond Compare installer with license registration and fix workflow action version.

Changes

Features

  • Setup Beyond Compare: Add -r/--register-only flag to skip installation and register license only
  • License Registration: Add register_bc() function that integrates with 1Password CLI
  • User Guidance: Add notification about 1Password method with alternative URL for non-1Password users
  • Enhanced CLI: Add help text examples showing new usage patterns

Fixes

  • GitHub Workflow: Fix actions/checkout from v6 (non-existent) to v4
  • Add missing newline at end of workflow file

Details

Beyond Compare Installer (installers/setup_beyondcompare.sh)

  • New flag: --register-only allows license-only registration
  • New function: register_bc() retrieves license from 1Password CLI
  • Error handling: Comprehensive checks for 1Password CLI availability, authentication, vault access
  • User feedback: Clear messages about 1Password usage + alternative methods
  • License path: Uses $HOME/.config/bcompare5/BC5Key.txt (Beyond Compare 5 compatible)

Workflow Fix (.github/workflows/opencode.yml)

  • Correct action version: actions/checkout@v4 (latest stable)
  • Add newline at EOF for consistency

Testing

  • Verified help text displays correctly
  • Tested --register-only mode logic
  • Confirmed license registration path exists
  • Workflow file syntax validated

Notes

The license registration uses 1Password CLI with proper error handling. Users without 1Password can still install Beyond Compare manually using alternative methods documented at https://www.scootersoftware.com/kb/linuxtips

For more information about the opencode workflow, see the opencode repository.

Add --register-only option to setup_beyondcompare.sh
- Allow users to register license without installation
- Add register_bc() function with 1Password CLI integration
- Provide user guidance with alternative URL

Fix checkout action version in workflow
- Correct actions/checkout from v6 to v4

Fixes:
- .github/workflows/opencode.yml: actions/checkout@v6 → v4

Features:
- installers/setup_beyondcompare.sh: Add -r/--register-only flag
- Add 1Password CLI license registration with error handling
- Log alternative methods at https://www.scootersoftware.com/kb/linuxtips
@gdellis gdellis merged commit e4491af into main Feb 9, 2026
1 check passed
@gdellis gdellis deleted the feature/beyond-compare-enhancements branch February 9, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant