Home_greyopenFATE - openSUSE feature tracking > #308765
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Provide import/export of repositories list from YaST

Feature state

Hackweek V
Rejected Information
openSUSE Distribution


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:


icons/user_comment.png T. R. wrote: (8 years ago)

You can just copy the /etc/zypp/repos.d/ directory.

icons/user_comment.png R. M. wrote: (8 years ago)

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 ?

icons/user_comment.png C. Y. wrote: (7 years ago)

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

icons/user_comment.png A. B. wrote: (7 years ago)

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!!

icons/user_comment.png M. B. wrote: (7 years ago)

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

Last change: 17 months ago
Loading tags...
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint