You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came across this while trying to write a script-- I'm sure its indicative of a current lack of thorough testing, and tests could certainly be written to catch this.
Right now, let's just get the issue fixed.
Code I hacked together to get some nice error messages, could be used as the foundation of a test if need be. At some point I do have plans for comprehensive testing of packages themselves (as opposed to the in-progress crew unit tests), but there's no harm in increasing our spotty coverage until then.
#!/usr/bin/env ruby# Add >LOCAL< lib to LOAD_PATH so that packages can be loaded
$LOAD_PATH.unshift'../lib'require_relative'../lib/package'Dir.glob('../packages/*.rb').eachdo |filename|
pkg=Package.load_package(filename)begindependencies=pkg.get_deps_listrescueErrno::ENOENT=>eputs"#{pkg.name} depends on removed package #{e.to_s[/\/packages\/(\w+)\.rb/,1]}"endend
Affected packages:
dexed depends on removed package dub
obs depends on removed package qtsvg
plplot depends on removed package qtsvg
stellarium depends on removed package qtlocation
I ran the code on all architectures, so these should be the only broken packages.
The text was updated successfully, but these errors were encountered:
Came across this while trying to write a script-- I'm sure its indicative of a current lack of thorough testing, and tests could certainly be written to catch this.
Right now, let's just get the issue fixed.
Code I hacked together to get some nice error messages, could be used as the foundation of a test if need be. At some point I do have plans for comprehensive testing of packages themselves (as opposed to the in-progress
crew
unit tests), but there's no harm in increasing our spotty coverage until then.Affected packages:
I ran the code on all architectures, so these should be the only broken packages.
The text was updated successfully, but these errors were encountered: