Skip to content

Commit

Permalink
Merge branch 'master' into noauthLicense
Browse files Browse the repository at this point in the history
  • Loading branch information
felixsch authored Jan 30, 2024
2 parents 1251d00 + e9230bf commit c8a16ad
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions db/migrate/20240129140413_remove_obsolete_res7_repositories.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
class RemoveObsoleteRes7Repositories < ActiveRecord::Migration[6.1]
def change
# RES7 was historically a product managed by Novell. With the upcoming
# SUSE Liberty 7, RES7 was moved into IBS (SUSE build service).
# This resulted in repositories being renamed.
# This migration removes the now obsolete repositories, since RMT does
# not remove these automatically.

# Affected repositories are:
# - 1963: https://updates.suse.com/repo/$RCE/RES7/src/
# - 1736: https://updates.suse.com/repo/$RCE/RES7/x86_64/
Repository.where(scc_id: [1963, 1736]).destroy_all
end
end

0 comments on commit c8a16ad

Please sign in to comment.