[Bug 295029] New: software manager: import installation sources
https://bugzilla.novell.com/show_bug.cgi?id=295029 Summary: software manager: import installation sources Product: openSUSE 10.2 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bluedzins@wp.pl QAContact: jsrain@novell.com Found By: --- You can "export" list of installation sources via installation_sources -s It would be great if SM could import such list. Now user has to manually add entries one by one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029 Matej Horvath <mhorvath@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lslezak@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c1 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |jkupec@novell.com --- Comment #1 from Ladislav Slezak <lslezak@novell.com> 2007-07-30 01:39:48 MST --- installation_sources is an alias for zypper -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com, mvidner@novell.com, | |kkaempf@novell.com, dmacvicar@novell.com, | |ma@novell.com Status|NEW |ASSIGNED --- Comment #2 from Ján Kupec <jkupec@novell.com> 2007-07-30 09:34:39 MST --- First of all, the installation_sources script uses zypper to do its job and was provided as a compatibility replacement for a program that was in yast2-packagemanager.rpm. You can switch to zypper now (or after 10.3 is out). The new version of libzypp which, will be (hopefully) shipped with openSUSE 10.3 and therefore the applications using it (YaST, zypper, ...) use plain text repo files located by default in /etc/zypp/repos.d to configure repositories (inst. sources). Exporting and importing them is a matter of copying the files. (Don't forget to refresh the repos after manipulating them). Should we provide a simple way to export/import these through zypper anyway? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c3 --- Comment #3 from Maciej Pilichowski <bluedzins@wp.pl> 2007-07-30 10:47:47 MST --- Jan, I am just a user so I know this question wasn't for me, but anyway my 2 cents: Pros: 1) black-box design, no matter what form is used to store repo list, from the user perspective it does not change, so it is great for backups for example (you just type xxxx --export and you have a guarantee all you have to do on system crash is xxxx --import and it works) 2) convenient for users, import, export, no fiddling with raw files 2.a) security -- if you want to send such file to somebody each time you have to check what the log, config, etc. really contains, this way, since you are about to send export you are sure it is nothing more than repo list 3) with a tiny extra option new functionality, you can import the list (i.e. replace the old one) or you can import & merge at the same time (even better) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c4 --- Comment #4 from Duncan Mac-Vicar <dmacvicar@novell.com> 2007-08-03 10:00:30 MST --- The export functionality is cp /etc/zypp/repod.d/* /backup The import functionality is cp /backup/* /etc/zypp/repod.d -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c5 --- Comment #5 from Maciej Pilichowski <bluedzins@wp.pl> 2007-08-03 13:30:22 MST --- Duncan, thank you for help, I will sure use it because I don't have any other chance :-) However as the solution for users it does not have any advantages mentioned before. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c6 Cristian Rodriguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|judas_iscariote@shorewall.ne|crrodriguez@novell.com |t | --- Comment #6 from Cristian Rodriguez <crrodriguez@novell.com> 2007-08-03 13:35:44 MST --- (In reply to comment #5 from Maciej Pilichowski)
However as the solution for users it does not have any advantages mentioned before.
huh ? what is more simple than file copy operation... ? I dont get your point... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c7 --- Comment #7 from Maciej Pilichowski <bluedzins@wp.pl> 2007-08-03 15:10:49 MST --- I explained them before (take a look). For example -- how can you merge anything using cp? How can you guarantee the design (it already changed!)? Etc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c8 --- Comment #8 from Ján Kupec <jkupec@novell.com> 2007-08-07 03:15:55 MST --- OK, i think i have a solution. For "importing" repos, you already can use zypper addrepo --repo repo_file_URL. It will add all the repos defined in the specified file (can be remote or local (although local needs fix, for now you have to specify it as file://absolute/path/to/the/file.repo). For exporting i will soon add a functionality to write all the repos into a single .repo file. (Probably zypper repos --export <file> or something like that). But, as mentioned before, you already can manipulate the files manually, they are just simple text files (ini format). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c9 --- Comment #9 from Ján Kupec <jkupec@novell.com> 2007-08-14 11:59:05 MST --- zypper repos --export file done in svn, will be submitted in zypper 0.8.11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=295029#c10 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Ján Kupec <jkupec@novell.com> 2007-08-15 12:45:18 MST --- submitted in zypper 0.8.11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com