files) you can use any type of URIs supported by libzypp. See
http://en.opensuse.org/Libzypp/URI for a complete list and usage examples.
-Zypper also accepts special URIs identifying an openSUSE Build Service (OBS)
+Zypper also accepts special URIs identifying openSUSE Build Service (OBS)
repositories in the \fBaddrepo\fR command. These URIs have the form of
-\fBobs://<project>/<platform>\fR, where \fIproject\fR is the name of the
+\fBobs://<project>/[platform]\fR, where \fIproject\fR is the name of the
OBS project and \fIplatform\fR is the target platform (OS) for which the
repository is intended. For example: obs://server:http/openSUSE_11.3.
if (str::regex_match(obsuri, what, obs_uri_rx))
{
vector<string> obsrpath;
- cout << what[1] << endl;
str::split(what[1], back_inserter(obsrpath), ":");
if (obsrpath.empty())
{
zypp::Url make_obs_url(
const std::string & obsuri,
const zypp::Url & base_url,
- const std::string & default_platform = "");
+ const std::string & default_platform = "openSUSE_Factory");
/**
* Returns <code>true</code> if the string \a s contains a substring starting