Mailinglist Archive: opensuse-features (411 mails)

< Previous Next >
[openFATE 308765] software repositories: provide import/export of repositories list
Feature changed by: Mindaugas Baranauskas (embar-)
Feature #308765, revision 9
Title: software repositories: provide import/export of repositories

Hackweek V: Unconfirmed
Requester: Important

openSUSE-11.3: Unconfirmed
Requester: Desirable

openSUSE-11.4: Unconfirmed
Requester: Important

Requested by: Maciej Pilichowski (truemacias)
Partner organization:

software repositories: provide import/export of repositories list
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:

#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
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
That is zypper, but YaST does not know what to do with a repo file.
Try this: use YaST to add

#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:
+ 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:

< Previous Next >
This Thread
  • No further messages