Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if repository metadata already exists (is cached) #1273

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rmt/mirror/repomd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def mirror_metadata

metadata_files = RepomdParser::RepomdXmlParser.new.parse_file(repomd_xml.local_path)
.map do |reference|
ref = RMT::Mirror::FileReference.build_from_metadata(reference, base_dir: temp(:metadata), base_url: repomd_xml.base_url)
ref = RMT::Mirror::FileReference.build_from_metadata(reference, base_dir: temp(:metadata), base_url: repomd_xml.base_url, cache_dir: repository_path)
enqueue ref
ref
end
Expand Down
1 change: 1 addition & 0 deletions package/obs/rmt-server.changes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Fri Jan 03 10:44:00 UTC 2025 - Luís Caparroz <lcaparroz@suse.com>
'product_tree.json' from host other than 'scc.suse.com'. (bsc#1234844)
* Update Micro check due to Micro 6.0 and 6.1 identifier to keep bsc#1230419 in place
* Remove obsolete repositories and associations from rmt during SCC sync (bsc#1232808)
* Do not re-download repomd metadata if already exists and be the latest version

-------------------------------------------------------------------
Mon Dec 23 08:03:56 UTC 2024 - Parag Jain <parag.jain@suse.com>
Expand Down
Loading