lib/ace/support/models/organisms/provider_sync_orchestrator.rb
Runs a command with Ruby system()
SHA-25626d928bf8593749cf96ae45fa9912232cdfb99eacafae9bab87c86f1679aac75
MaleculeH(Po)
Evidence
⋯6 lines
7 module Models
8 module Organisms
9 # Orchestrates the provider config synchronization workflow
10 # Coordinates reading configs, generating diffs, applying changes, and committing
11 class ProviderSyncOrchestrator
12 PROVIDER_SYNC_CACHE_MAX_AGE = 86_40 …
17:76… er
18 # @param output [IO] Output stream for messages
19 def initialize(cache_manager: nil, output: $stdout)
20 @cache_manager = cache_manager || Molecule …
31:30… ing, Date, nil] Only show models released after this date
32 # @return [Hash] Result with status and details
33 def sync(config_dir: nil, provider: nil, apply: false, commit: fal …
242:22… use ace-git-commit if available
243 begin
244 system("ace-git-commit", *paths, "-m", message)
245 $?.success?
246 rescue Errno::ENOENT
247 output.puts "Warning: ace-git-commit not found. Please …