SUSE / rmt

RPM repository mirroring tool and registration proxy for SUSE Customer Center.
Other
37 stars 46 forks source link

[6/x] Mirroring nested debian structure #1070

Closed likhitha77 closed 5 months ago

likhitha77 commented 6 months ago

This PR is part of our code sprint: https://trello.com/c/hU27QHob/3134-rdeb-sprint-tracker

The whole changeset is:

[1/5] Prepare code sprint and implement repository type detection [2/5] Add flat debian mirroring support to RMT [3/5] Refactor suma mirroring [4/5] Refactor repomd mirroring [5/5] Fixes and cleanup [6/6] Nested debian repository support

DO NOT MERGE UNTIL COMPLETELY READY


How to test:

To test this, we need to add a custom Debian repo with a nested structure. We can use this: http://ppa.launchpadcontent.net/ondrej/nginx/ubuntu/dists/focal/


> bin/rmt-cli repos custom repos add http://ppa.launchpadcontent.net/ondrej/nginx/ubuntu/dists/focal/ debian-nested

> bin/rmt-cli mirror repository debian-nested

Additional check : Running the mirror command again should not throw any errors.