boomerang::resource_info (public)
boomerang::resource_info [ -version version ]
Defined in packages/boomerang/tcl/boomerang-procs.tcl
Get information about available version(s) of the boomerang packages, either from the local filesystem, or from CDN.
- Switches:
- -version (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: variable parameter_info # # If no version of the boomerang library was specified, # use the name-spaced variable as default. # if {$version eq ""} { dict with parameter_info { set version [::parameter::get_global_value -package_key $package_key -parameter $parameter_name -default $default_value] } } # # Provide paths for loading either via resources or CDN # set resourceDir [acs_package_root_dir boomerang/www/resources] set cdnHost cdnjs.cloudflare.com set cdn //$cdnHost/ajax/libs if {[file exists $resourceDir/boomerang-$version.js]} { # # Local version is installed # set prefix /resources/boomerang set cdnHost "" set cspMap "" } else { # # So far, there is no CDN form boomerang, we distribute # boomerang.js via static file. # set prefix $cdn/$version/ lappend result host "cdnjs.cloudflare.com" } lappend result resourceName "Boomerang" resourceDir $resourceDir versionSegment "" cdn $cdn cdnHost $cdnHost prefix $prefix cssFiles {} jsFiles [list boomerang-${version}.js] extraFiles {} downloadURLs https://github.com/akamai/boomerang/archive/refs/tags/1.737.0.tar.gz cspMap {} urnMap {} parameterInfo $parameter_info configuredVersion $version return $resultXQL Not present: Generic, PostgreSQL, Oracle