aboutsummaryrefslogtreecommitdiff
path: root/src/clients/qualudis/qualudis.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-08 20:16:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-08 20:16:17 +0000
commit903ff5be1f3b164db5a8c66714831c9687d1c1c2 (patch)
tree9802d34606c33be1e7412c64edd02a2fdfd2d593 /src/clients/qualudis/qualudis.cc
parentf39658e408fe92f259a1594fccc1b12c96f5a242 (diff)
downloadpaludis-903ff5be1f3b164db5a8c66714831c9687d1c1c2.tar.gz
paludis-903ff5be1f3b164db5a8c66714831c9687d1c1c2.tar.xz
kill more sr
Diffstat (limited to 'src/clients/qualudis/qualudis.cc')
-rw-r--r--src/clients/qualudis/qualudis.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 1fd2071..c1441c5 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -336,17 +336,17 @@ int main(int argc, char *argv[])
d != d_end ; ++d)
extra_repository_dirs->push_back(*d);
- std::tr1::shared_ptr<NoConfigEnvironment> env(new NoConfigEnvironment(no_config_environment::Params::create()
- .repository_dir(get_location())
- .write_cache(QualudisCommandLine::get_instance()->a_write_cache_dir.argument())
- .accept_unstable(false)
- .repository_type(no_config_environment::ncer_ebuild)
- .extra_repository_dirs(extra_repository_dirs)
- .master_repository_name(QualudisCommandLine::get_instance()->a_master_repository_name.argument())
- .disable_metadata_cache(! QualudisCommandLine::get_instance()->a_use_repository_cache.specified())
- .extra_params(std::tr1::shared_ptr<Map<std::string, std::string> >())
- .extra_accept_keywords("")
- ));
+ std::tr1::shared_ptr<NoConfigEnvironment> env(new NoConfigEnvironment(make_named_values<no_config_environment::Params>(
+ value_for<n::accept_unstable>(false),
+ value_for<n::disable_metadata_cache>(! QualudisCommandLine::get_instance()->a_use_repository_cache.specified()),
+ value_for<n::extra_accept_keywords>(""),
+ value_for<n::extra_params>(std::tr1::shared_ptr<Map<std::string, std::string> >()),
+ value_for<n::extra_repository_dirs>(extra_repository_dirs),
+ value_for<n::master_repository_name>(QualudisCommandLine::get_instance()->a_master_repository_name.argument()),
+ value_for<n::repository_dir>(get_location()),
+ value_for<n::repository_type>(no_config_environment::ncer_ebuild),
+ value_for<n::write_cache>(QualudisCommandLine::get_instance()->a_write_cache_dir.argument())
+ )));
if (! (*env->main_repository()).qa_interface())
throw ConfigurationError("Repository '" + stringify(env->main_repository()->name()) + "' does not support QA checks");