Bug 115315

Summary: installation_sources default
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Adrian Schröter <adrian.schroeter>
Component: YaST2Assignee: Michael Andres <ma>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Major    
Priority: P5 - None CC: aj, lnussel
Version: Beta 4 Plus   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: installation_sources.diff
installation_sources.diff

Description Adrian Schröter 2005-09-05 15:12:44 UTC
by adding a YaST source via 
 
installation_sources -a 
http://download.opensuse.org/distribution/SL-OSS-current/inst-source-java 
 
the installation source gets added, but also enabled. Since the "-e" option is 
for also enabling it, I assume that the default should be disabled, right ? 
 
(there is no way to add a source (or predefine some somehow) without the need 
of an active internet connection, right ?)
Comment 1 Adrian Schröter 2005-09-05 15:13:16 UTC
major, because we would really like to add some more helpfull urls by default. 
Comment 2 Christoph Thiel 2005-09-06 10:01:07 UTC
Created attachment 48895 [details]
installation_sources.diff

Alright, the attached patch fixes this problem and also improves the output of
installation_sources. Please apply!
Comment 3 Christoph Thiel 2005-09-06 10:09:45 UTC
Ludwig, could you please have a look at attachment #48895 [details]?
Comment 4 Ludwig Nussel 2005-09-06 11:14:37 UTC
Patch looks good. It changes the default behavior of installation_sources 
though. 
Comment 5 Ludwig Nussel 2005-09-06 11:19:06 UTC
it still doesn't solve the problem of requiring an internet connection  
Comment 6 Christoph Thiel 2005-09-06 12:32:34 UTC
Created attachment 48919 [details]
installation_sources.diff

just some beauty-related rearrangement ;)
Comment 7 Michael Andres 2005-09-07 15:45:23 UTC
I'd like to leave the default behaviour as it currently is ('-e' Enable source
is the default).
I'll introduce a '-d' option to add a source in disabled state.
Comment 8 Christoph Thiel 2005-09-07 15:47:42 UTC
Do you want a patch for that? 
Comment 9 Michael Andres 2005-09-07 17:02:51 UTC
fixed in SVN for yast2-packagemanager-2.12.18