aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake
diff options
context:
space:
mode:
authorAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
commitdbad9d5f818882b730626028da3943a6c1039ef7 (patch)
tree3d96775139c17f12ec1592a233e13a2ed3083dda /paludis/repositories/fake
parent9567079d3b62aba92acaa7b8e9d4c13a1788b034 (diff)
downloadpaludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.gz
paludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.xz
Add PackageID::transient_key and use it to avoid reporting
'unpackaged' packages as 'missing'. Fixes ticket:410
Diffstat (limited to 'paludis/repositories/fake')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc6
-rw-r--r--paludis/repositories/fake/fake_package_id.hh1
2 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index e8dfb7a1e..bbb0d903b 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -948,6 +948,12 @@ FakePackageID::size_of_all_distfiles_key() const
return tr1::shared_ptr<const MetadataValueKey<long> >();
}
+const tr1::shared_ptr<const MetadataValueKey<bool> >
+FakePackageID::transient_key() const
+{
+ return tr1::shared_ptr<const MetadataValueKey<bool> >();
+}
+
char
FakePackageID::use_expand_separator() const
{
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index 787bd2db1..b6fa457be 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -223,6 +223,7 @@ namespace paludis
virtual const tr1::shared_ptr<const MetadataValueKey<FSEntry> > fs_location_key() const;
virtual const tr1::shared_ptr<const MetadataValueKey<long> > size_of_download_required_key() const;
virtual const tr1::shared_ptr<const MetadataValueKey<long> > size_of_all_distfiles_key() const;
+ virtual const tr1::shared_ptr<const MetadataValueKey<bool> > transient_key() const;
const tr1::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
const tr1::shared_ptr<FakeMetadataKeywordSetKey> keywords_key();