Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions .github/scripts/install_tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -671,11 +671,7 @@ def test_ukiryu_discovery(tool_name)
return [true, "Ukiryu CLI not available - skipped"]
end

# Skip ukiryu schema validation for now
# The schema expects 'profiles' but register uses 'execution_profiles'
# This is a known issue - validation will be re-enabled once schema is fixed
return [true, "Ukiryu validation skipped - schema issue pending fix"]

# Schema has been fixed to use 'execution_profiles' - validation is now enabled
# Run ukiryu validate command for this tool
# Look for the tool VERSION file (not index.yaml)
# Structure: tools/{tool}/{implementation}/{version}.yaml
Expand All @@ -691,20 +687,6 @@ def test_ukiryu_discovery(tool_name)
end
end

# Fallback: try old location (tools/{tool}/{version}.yaml)
if version_files.empty?
legacy_files = Dir.glob(File.join(@register_path, "tools", tool_name, "*.yaml"))
version_files = legacy_files.reject { |f| File.basename(f) == 'index.yaml' }
end

if version_files.empty?
# Try packages directory instead
pkg_file = File.join(@register_path, "packages", "#{tool_name}.yaml")
if File.exist?(pkg_file)
version_files = [pkg_file]
end
end

if version_files.empty?
return [false, "Tool definition file not found"]
end
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
paths:
- 'tools/**/*.yaml'
- '.github/workflows/*.yml'
- '.github/scripts/*.rb'
push:
branches: [v1]
tags:
Expand Down
2 changes: 1 addition & 1 deletion packages/pngquant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ packages:
provides: *1
smoke_test: pngquant --version
winget:
- name: pngquant
- name: Kornelski.pngquant
provides: *1
smoke_test: pngquant --version