so after many more hours of trying to figure this issue out. this is what I know
get_treelist calls _process_trees_arg which is what sets _trees and returns it. if I call $config->get_treelist() it’s only right the first time, I can never reset it. if I call $config->_standard_treelist() it’s always right, it changes with the config params if I call $config->custom_treelist() it’s always right, it’s tells me if $config->get_treelist() differs $config->_standard_treelist(), basically. so the question is why does _process_trees_arg fail? Am I calling things wrong? --- TS http://www.southofheaven.org/ Life begins and ends with chaos, live between the chaos! > On Feb 23, 2016, at 2:54 PM, TheSin <the...@southofheaven.org> wrote: > > I’m currently working on the pdf files and noticed something odd, the PDB > basically runs in a loop for all dist/arch/tree variants, to do this it makes > a virtual config which is loaded in memory. So it doesn’t use files, which > is good, but it seems that Fink::Config->get_treelist() so not respect this, > once the param for trees is set it doesn’t forget it even with an undef > $Fink:Config::config. Here is an example that I built with the relevant bits > to show what happens. The reason this is an issue, so require_packages() > will use get_treelist to populate the $packages var, so that I can we out > duplicate versions before adding them to solr. > > Anyhow could some help me figure this out, or fix this issue preventing this? > > <test.pl> > --- > TS > http://www.southofheaven.org/ > Life begins and ends with chaos, live between the chaos! > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ fink-core mailing list fink-core@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core