Mailinglist Archive: zypp-devel (102 mails)

< Previous Next >
[zypp-devel] What to use as repo alias, if no meaningful string is available...
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 6 Mar 2009 17:25:54 +0100
  • Message-id: <200903061725.55637.ma@xxxxxxx>

New in libzypp trunk:

static std::string RepoManager::makeStupidAlias( const Url & url_r = Url() );


It will return some stupid string but suitable as alias for your url if
nothing better is available.

Something like

http-download.opensuse.org-83df67e5
or
dvd-938d75a0
or
repo-a4b57h98

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups