Feature changed by: Mindaugas Baranauskas (embar-) Feature #308765, revision 9 Title: software repositories: provide import/export of repositories list Hackweek V: Unconfirmed Priority Requester: Important openSUSE-11.3: Unconfirmed Priority Requester: Desirable openSUSE-11.4: Unconfirmed Priority Requester: Important Requested by: Maciej Pilichowski (truemacias) Partner organization: openSUSE.org Description: software repositories: provide import/export of repositories list ...so user could export all his/her repositories, save the the list on the disk, and on the other computer after simple import she/he could get exact copy of repo list. Original report: https://bugzilla.novell.com/show_bug.cgi?id=466480 Discussion: #1: Todd R (theblackcat) (2010-08-13 16:58:12) You can just copy the /etc/zypp/repos.d/ directory. #2: Rémy Marquis (spyhawk) (2010-09-03 16:40:39) Did I miss something, or is this feature has been already implemented a long time ago? See http://en.opensuse.org/SDB:Zypper_usage#Export.2FImport_repositories Is zypper fulfilling the export/import repositories features? If not, what is missing/could be improving ? #3: Christopher Yeleighton (yecril71pl) (2010-12-02 00:33:18) (reply to #2) That is zypper, but YaST does not know what to do with a repo file. Try this: use YaST to add http://r.opensu.se/server:php:applications.repo #4: Alex Bars (alexdbars) (2010-12-02 02:38:53) (reply to #2) Indeed its a huge help, if yast handle repositories export/import, to new users and enterprises that will install in a mass pc, I will apreciate that effort to put it on yast!! + #5: Mindaugas Baranauskas (embar-) (2011-01-15 07:11:53) + Now you can import/export repositories from terminal: + # zypper -e /path/to/file/to/export.repo # zypper -r + /path/to/file/to/import.repo + I have no skills, but I tryied to edit + /usr/share/YaST2/clients/repositories.ycp. The relealization of feature + in GUI could be like this: http://en.opensuse.org/File:Idea_of_importing_and_exporting_repositories_fro... + (http://en.opensuse.org/File:Idea_of_importing_and_exporting_repositories_fro...) + We need: 1) open file-selection dialog (with .repo files filter); 2) maybe + test if .repo file is coherent (for importing); 3) execute "zypper [-e|- + r] /file.repo". Or maybe don't do step #2, but inform user about the + rezult of step #3 -- openSUSE Feature: https://features.opensuse.org/308765