-
Bug
-
Resolution: Unresolved
-
Minor
-
rhel-8.10, rhel-9.4
-
dnf-plugins-core-4.3.0-17.el9
-
None
-
Low
-
rhel-sst-cs-software-management
-
ssg_core_services
-
9
-
12
-
None
-
False
-
-
Yes
-
None
-
-
Pass
-
Enabled
-
Automated
-
Bug Fix
-
-
Proposed
-
None
What were you trying to do that didn't work?
reposync --repo rhel-8-for-x86_64-appstream-rpms -n --download-metadata --norepopath --metadata-path ./test
Steps to reproduce
- mkdir test
- reposync --repo rhel-8-for-x86_64-appstream-rpms -n --download-metadata --norepopath --metadata-path ./test
Expected results
repodata should be directly under the `--metadata-path ./test` directory. No subdirectory of <repo-id> should be created
Actual results
under test another `rhel-8-for-x86_64-appstream-rpms` is created even though --norepopath was used.
├── test
│ └── rhel-8-for-x86_64-appstream-rpms
│ └── repodata
│ ├── 03c475ce3c40338cdfead0575f1e0c11218aa0ac6f193ecee14f39ac7359fd08-updateinfo.xml.gz
│ ├── 0b5bd10ab6d357859feb1e631fbc759316261238df1211e86c2f4bcd571ce3cf-primary.sqlite.bz2
│ ├── 1475556c-4acd-497e-8350-b6bb54050906
│ ├── 1d79326dae8b7e5f83125023f0ed7cacf09bf7fa58776ea080723aa76f1548df-comps.xml
│ ├── 32f17053c9cfc39e79ca0de6365d3486c9fd14754b0568f63a48dfa593f9497e-modules.yaml.gz
│ ├── 3c94b579cfeaeaac53f1da8b36c3ce4dbabe3c6fcdb5c06a39185af02e4b568d-other.xml.gz
│ ├── 3eab477d9d85772ff4c6ea7d5faf5574ac1f3138fa01665c0d1f208c7767c0ca-filelists.sqlite.bz2
│ ├── 442386e56780b766fd8795f8633ffbf33266c61e6ddb1a6c1c7bdb20d561a57e-other.sqlite.bz2
│ ├── 6bd20daa88f4b53e17af3b66a3b103e7f0165b6bf02240e742bbadb6cedfc1df-primary.xml.gz
│ ├── 8d8afa649fc0fa3a0fab48bcc601f8f7edf8f4a18b46dfba21764ea90fd03b0f-filelists.xml.gz
│ └── repomd.xml
- links to
-
RHBA-2024:139955 dnf-plugins-core update