Skip to content

Commit

Permalink
Merge 3ba39cc into 0cc5361
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Mar 12, 2020
2 parents 0cc5361 + 3ba39cc commit 03c480e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Expand Up @@ -38,8 +38,11 @@ def initialize
end

# Read and store the current repository/service setup.
def read
@repositories = Repository.all
# @param installation_repositories [Array<Y2Packager::Repository>]
def read(installation_repositories = [])
# skip the installation repositories, we need to keep them
aliases = installation_repositories.map(&:repo_alias)
@repositories = Repository.all.reject { |r| aliases.include?(r.repo_alias) }
@services = Service.all
log.info("Found #{repositories.size} repositories and #{services.size} services")
end
Expand Down
7 changes: 7 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 12 08:26:12 UTC 2020 - Ladislav Slezák <lslezak@suse.cz>

- Do not remove the installation repositories in the "Previously
Used Repositories" step (bsc#1163081)
- 4.2.71

-------------------------------------------------------------------
Fri Mar 6 13:26:57 UTC 2020 - David Diaz <dgonzalez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 4.2.70
Version: 4.2.71
Release: 0
Summary: YaST2 Main Package
License: GPL-2.0-only
Expand Down

0 comments on commit 03c480e

Please sign in to comment.