SET(LIBZYPP_MAJOR "15")
SET(LIBZYPP_COMPATMINOR "19")
SET(LIBZYPP_MINOR "19")
-SET(LIBZYPP_PATCH "5")
+SET(LIBZYPP_PATCH "6")
#
-# LAST RELEASED: 15.19.5 (19)
+# LAST RELEASED: 15.19.6 (19)
# (The number in parenthesis is LIBZYPP_COMPATMINOR)
#=======
-------------------------------------------------------------------
+Fri Nov 6 11:08:46 CET 2015 - ma@suse.de
+
+- Add testcase for uncached repo-variables.
+- Fixed Japanese translations (bsc#949196)
+- version 15.19.6 (19)
+
+-------------------------------------------------------------------
+Fri Nov 6 10:56:44 CET 2015 - ma@suse.de
+
+- Update sle-zypp-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Nov 5 01:15:12 CET 2015 - ma@suse.de
+
+- Update sle-zypp-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Nov 5 01:13:24 CET 2015 - ma@suse.de
+
+- Update zypp-po.tar.bz2
+
+-------------------------------------------------------------------
+Tue Nov 3 10:52:01 CET 2015 - ma@suse.de
+
+- Update sle-zypp-po.tar.bz2
+
+-------------------------------------------------------------------
+Tue Nov 3 10:51:43 CET 2015 - ma@suse.de
+
+- Update zypp-po.tar.bz2
+
+-------------------------------------------------------------------
Fri Oct 23 17:10:18 CEST 2015 - ma@suse.de
- Fix broken product: <-> -release package relation (bnc#951782)
"http://site.org/update/13.2/?arch=i686");
}
+BOOST_AUTO_TEST_CASE(uncached)
+{
+ ::setenv( "ZYPP_REPO_RELEASEVER", "13.2", 1 );
+ repo::RepoVariablesStringReplacer replacer1;
+ BOOST_CHECK_EQUAL( replacer1("${releasever}"), "13.2" );
+ ::setenv( "ZYPP_REPO_RELEASEVER", "13.3", 1 );
+ BOOST_CHECK_EQUAL( replacer1("${releasever}"), "13.3" );
+}
// vim: set ts=2 sts=2 sw=2 ai et:
public:
static const unsigned defaultPriority = 99;
+ static const unsigned noPriority = unsigned(-1);
void setProbedType( const repo::RepoType & t ) const
{
unsigned RepoInfo::defaultPriority()
{ return Impl::defaultPriority; }
+ unsigned RepoInfo::noPriority()
+ { return Impl::noPriority; }
+
void RepoInfo::setPriority( unsigned newval_r )
{ _pimpl->priority = newval_r ? newval_r : Impl::defaultPriority; }
*/
static unsigned defaultPriority();
/**
+ * The least priority (<tt>unsigned(-1)</tt>).
+ */
+ static unsigned noPriority();
+ /**
* Repository priority for solver.
* Some number between \c 1 (highest priority) and \c 99 (\ref defaultPriority).
*/
inline std::string octstring( unsigned long long n, int w = 0 ) { return form( "%#0*llo", w, n ); }
//@}
+
+ ///////////////////////////////////////////////////////////////////
+ /** String representation of number as bit-string with leading '0's. */
+ template <typename TInt>
+ std::string binstring( TInt val_r )
+ {
+ constexpr unsigned bits = sizeof(TInt)*8;
+ std::string ret( bits, ' ' );
+ TInt bit = 1;
+ for ( unsigned pos = bits; pos > 0; )
+ { --pos; ret[pos] = ((val_r & bit)?'1':'0'); bit = bit<<1; }
+ return ret;
+ }
+
///////////////////////////////////////////////////////////////////
/** Parsing numbers from string.
*/