aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-01-06 21:37:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-01-06 21:48:15 +0000
commit63dddf547122427eb921b91e1607bd6989de0b3e (patch)
tree482c0d83d39348ca4a2291578e159787545b5f46
parent1d7fa3dd097834ee102a741b245b669cb3387661 (diff)
downloadpaludis-63dddf547122427eb921b91e1607bd6989de0b3e.tar.gz
paludis-63dddf547122427eb921b91e1607bd6989de0b3e.tar.xz
Include profiles layout in info
-rw-r--r--paludis/repositories/e/e_repository.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index d25f260..02150bd 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -225,6 +225,7 @@ namespace paludis
std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key;
std::tr1::shared_ptr<const MetadataValueKey<std::string> > layout_key;
+ std::tr1::shared_ptr<const MetadataValueKey<std::string> > profile_layout_key;
std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key;
std::tr1::shared_ptr<const MetadataCollectionKey<FSEntrySequence> > profiles_key;
std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > cache_key;
@@ -275,6 +276,8 @@ namespace paludis
mkt_significant, params.entry_format())),
layout_key(new LiteralMetadataValueKey<std::string> ("layout", "layout",
mkt_normal, params.layout())),
+ profile_layout_key(new LiteralMetadataValueKey<std::string> ("profile_layout", "profile_layout",
+ mkt_normal, params.profile_layout())),
location_key(new LiteralMetadataValueKey<FSEntry> ("location", "location",
mkt_significant, params.location())),
profiles_key(new LiteralMetadataFSEntrySequenceKey(
@@ -513,6 +516,7 @@ ERepository::_add_metadata_keys() const
clear_metadata_keys();
add_metadata_key(_imp->format_key);
add_metadata_key(_imp->layout_key);
+ add_metadata_key(_imp->profile_layout_key);
add_metadata_key(_imp->location_key);
add_metadata_key(_imp->profiles_key);
add_metadata_key(_imp->cache_key);