#
SET(LIBZYPP_MAJOR "5")
SET(LIBZYPP_COMPATMINOR "8")
-SET(LIBZYPP_MINOR "8")
+SET(LIBZYPP_MINOR "9")
SET(LIBZYPP_PATCH "0")
#
# LAST RELEASED: 5.8.0 (8)
INT << "===[START]==========================================" << endl;
ZConfig::instance();
+#if 0
ServiceInfo s( "STest", Url("dir:///somewhere") );
DBG << s << endl;
s.addCatalogToEnable( "foo" );
s.addCatalogToEnable( "ba a" );
s.addCatalogToEnable( "kaa" );
DBG << s << endl;
- s.delCatalogToEnable( "kaa" );
- DBG << s << endl;
///////////////////////////////////////////////////////////////////
INT << "===[END]============================================" << endl << endl;
zypp::base::LogControl::instance().logNothing();
return 0;
-
+#endif
ResPool pool( ResPool::instance() );
sat::Pool satpool( sat::Pool::instance() );
}
}
- if ( 1 )
+ if ( 0 )
{
RepoManager repoManager( makeRepoManager( sysRoot ) );
RepoInfoList repos = repoManager.knownRepositories();
+-------------------------------------------------------------------
+Wed Sep 10 16:40:00 CEST 2008 - ma@suse.de
+
+- Provide product::updaterepoKey: Update repository indicator string.
+- revision 11000
+
-------------------------------------------------------------------
Tue Sep 9 17:33:03 CEST 2008 - dmacvicar@suse.de
return sat::Solvable::noSolvable;
}
-
// if there is productReferences defined, we expect
- // a matching package within the same repo.
+ // a matching package within the same repo. And of
+ // same arch.
sat::WhatProvides providers( identCap );
for_( it, providers.begin(), providers.end() )
{
- if ( it->repository() == repository() )
+ if ( it->repository() == repository()
+ && it->arch() == arch() )
return *it;
}
std::string Product::type() const
{ return lookupStrAttribute( sat::SolvAttr::productType ); }
+ std::string Product::updaterepoKey() const
+ { return lookupStrAttribute( sat::SolvAttr::productUpdaterepoKey ); }
+
Url Product::releaseNotesUrl() const
{
std::list<Url> ret;
*/
std::string type() const;
+ /** Update repository indicator string.
+ * Repositories providing updates/patches for this product
+ * should (somehow) provide this string. So we are able to
+ * detect them.
+ */
+ std::string updaterepoKey() const;
+
/** The URL to download the release notes for this product */
Url releaseNotesUrl() const;
/** The product flags */
std::list<std::string> flags() const;
+
/** Translated long name like <tt>SUSE Linux Enterprise Server 10</tt>
* \deprecated use summary.
*/
const SolvAttr SolvAttr::extends ( SOLVABLE_EXTENDS );
// product
- const SolvAttr SolvAttr::productReferences ( PRODUCT_REFERENCES );
const SolvAttr SolvAttr::productShortlabel ( PRODUCT_SHORTLABEL );
const SolvAttr SolvAttr::productDistproduct ( PRODUCT_DISTPRODUCT );
const SolvAttr SolvAttr::productDistversion ( PRODUCT_DISTVERSION );
const SolvAttr SolvAttr::productOptionalurls ( PRODUCT_OPTIONALURLS );
const SolvAttr SolvAttr::productFlags ( PRODUCT_FLAGS );
const SolvAttr SolvAttr::productFlavor ( PRODUCT_FLAVOR );
+ const SolvAttr SolvAttr::productReferences ( PRODUCT_REFERENCES );
+ const SolvAttr SolvAttr::productUpdaterepoKey( PRODUCT_UPDATEREPOKEY );
// repository
const SolvAttr SolvAttr::repositoryTimestamp ( REPOSITORY_TIMESTAMP );
/** \name product */
//@{
- static const SolvAttr productReferences; // the package providing the metadata
static const SolvAttr productShortlabel;
static const SolvAttr productDistproduct;
static const SolvAttr productDistversion;
static const SolvAttr productOptionalurls;
static const SolvAttr productFlags;
static const SolvAttr productFlavor;
+ static const SolvAttr productReferences; // the package providing the metadata
+ static const SolvAttr productUpdaterepoKey;
//@}
/** \name repository */