-
Notifications
You must be signed in to change notification settings - Fork 0
SEC-2843: Add new info. #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| --- | ||
| fallback: http://localhost/islandora/object/%{pid}/datastream/%{dsid}/view?token=%{token} | ||
| modern_fallback: ~ | ||
| sitemap: | ||
| drupal_d8_default: 'http://drupal%{suffix}' | ||
| sites_cache_size: 10 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Search for references to sites_cache_size and any validation logic
# Search for sites_cache_size usage
rg -n -C5 'sites_cache_size' --type yaml --type java --type rb --type py --type js
# Search for variations
rg -n -C5 -i 'sites.?cache.?size'
# Look for cache size validation or configuration parsing
rg -n -C5 'cache.*size|size.*cache' --type java --type rb --type py --type jsRepository: discoverygarden/cantaloupe-image Length of output: 411 🏁 Script executed: # Check repository structure and main files
git ls-files | head -20
# Look for configuration loading/parsing logic
rg -n "config|yaml|settings" --type-list | head -20
rg -n "yaml\." | head -30
# Check if there's a generic config loader that uses YAML keys
rg -n "get\(|config\[" --type js --type py --type java | head -30
# Look for cache-related code in general
rg -n "cache" -i | grep -v info.yaml | head -40
# Check the info.yaml file structure
cat info.yaml | head -20Repository: discoverygarden/cantaloupe-image Length of output: 3026 🏁 Script executed: # Check how info.yaml is used in the Dockerfile
cat -n Dockerfile | grep -i "info\|yaml"
# Check README for documentation
cat README.md | head -100
# Look for any scripts that might consume info.yaml
fd -type f -name "*.rb" -o -name "*.py" -o -name "*.sh"
# Check if info.yaml is referenced in any comments or configs
rg -n "info\.yaml"
# Look for any entrypoint or initialization scripts
cat -n Dockerfile | tail -50Repository: discoverygarden/cantaloupe-image Length of output: 3365 🏁 Script executed: # Check if there are any delegate scripts or Ruby config loaders
cat -n info.yaml
# Look for any documentation or comments about info.yaml
rg -n "delegate|wrapper|info\.yaml" -i
# Check actual_cantaloupe.properties to see the pattern
cat -n actual_cantaloupe.properties | head -30
# See if there's a specific delegate script file referenced
rg -n "delegate"
# Look for any configuration schema or documentation
fd -type f -name "*.md" -o -name "*.txt" -o -name "*.rst"Repository: discoverygarden/cantaloupe-image Length of output: 3823 Add inline documentation for the cache size configuration. The 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: discoverygarden/cantaloupe-image
Length of output: 384
Remove or implement the unused
modern_fallbackconfiguration key.The
modern_fallbackkey defined ininfo.yamlat line 3 is not referenced anywhere in the codebase. Either remove it from the configuration file or implement the functionality to use it.🤖 Prompt for AI Agents