Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Downloader is used for mirroring/offline, so deduplication doesn't make sense there. * Download logic is much cleaner.
- Loading branch information
Showing
25 changed files
with
1,675 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
spec/fixtures/files/dummy_dedupped_product/product.license/directory.yast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
directory.yast | ||
license.de.txt | ||
license.ru.txt | ||
license.txt |
2 changes: 2 additions & 0 deletions
2
spec/fixtures/files/dummy_dedupped_product/product.license/license.de.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This program is distributed WITHOUT ANY WARRANTY; without even the implied | ||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
2 changes: 2 additions & 0 deletions
2
spec/fixtures/files/dummy_dedupped_product/product.license/license.ru.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This program is distributed WITHOUT ANY WARRANTY; without even the implied | ||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
2 changes: 2 additions & 0 deletions
2
spec/fixtures/files/dummy_dedupped_product/product.license/license.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This program is distributed WITHOUT ANY WARRANTY; without even the implied | ||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
Binary file added
BIN
+2.04 KB
spec/fixtures/files/dummy_dedupped_product/product/apples-0.1-0.x86_64.drpm
Binary file not shown.
Binary file added
BIN
+1.89 KB
spec/fixtures/files/dummy_dedupped_product/product/apples-0.1-0.x86_64.rpm
Binary file not shown.
Binary file added
BIN
+1.9 KB
spec/fixtures/files/dummy_dedupped_product/product/apples-0.2-0.x86_64.rpm
Binary file not shown.
Binary file added
BIN
+2.03 KB
spec/fixtures/files/dummy_dedupped_product/product/oranges-0.1-0.x86_64.drpm
Binary file not shown.
Binary file added
BIN
+1.89 KB
spec/fixtures/files/dummy_dedupped_product/product/oranges-0.1-0.x86_64.rpm
Binary file not shown.
Binary file added
BIN
+1.9 KB
spec/fixtures/files/dummy_dedupped_product/product/oranges-0.2-0.x86_64.rpm
Binary file not shown.
Binary file added
BIN
+379 Bytes
...ct/repodata/2d12587a74d924bad597fd8e25b8955270dfbe7591e020f9093edbb4a0d04444-other.xml.gz
Binary file not shown.
Binary file added
BIN
+402 Bytes
...epodata/837fb50abc9680b1e11e050901a56721855a5e854e85e46ceaad2c6816297e69-filelists.xml.gz
Binary file not shown.
Binary file added
BIN
+451 Bytes
...epodata/a546b430098b8a3fb7d65493a9ce608fafcb32f451d0ce8bf85410191f347cc3-deltainfo.xml.gz
Binary file not shown.
Binary file added
BIN
+920 Bytes
.../repodata/abf421e45af5cd686f050bab3d2a98e0a60d1b5ca3b07c86cb948fc1abfa675e-primary.xml.gz
Binary file not shown.
36 changes: 36 additions & 0 deletions
36
spec/fixtures/files/dummy_dedupped_product/product/repodata/repomd.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm"> | ||
<revision>1500454273</revision> | ||
<data type="filelists"> | ||
<checksum type="sha256">837fb50abc9680b1e11e050901a56721855a5e854e85e46ceaad2c6816297e69</checksum> | ||
<open-checksum type="sha256">a65752c29ed9e2921c1654327cae06cf58d0085ea76756ab240f2e7e42499654</open-checksum> | ||
<location href="repodata/837fb50abc9680b1e11e050901a56721855a5e854e85e46ceaad2c6816297e69-filelists.xml.gz"/> | ||
<timestamp>1500454273</timestamp> | ||
<size>402</size> | ||
<open-size>929</open-size> | ||
</data> | ||
<data type="deltainfo"> | ||
<checksum type="sha256">a546b430098b8a3fb7d65493a9ce608fafcb32f451d0ce8bf85410191f347cc3</checksum> | ||
<open-checksum type="sha256">e71433e2373d61a2e19f335c7f634b9bcfb1d458bc912626dc9ddc5f3e124981</open-checksum> | ||
<location href="repodata/a546b430098b8a3fb7d65493a9ce608fafcb32f451d0ce8bf85410191f347cc3-deltainfo.xml.gz"/> | ||
<timestamp>1500454273</timestamp> | ||
<size>451</size> | ||
<open-size>877</open-size> | ||
</data> | ||
<data type="other"> | ||
<checksum type="sha256">2d12587a74d924bad597fd8e25b8955270dfbe7591e020f9093edbb4a0d04444</checksum> | ||
<open-checksum type="sha256">e490571870df62fa9f96b9bf4f5904c6f49987288758cac5f4a5b16300a64e8f</open-checksum> | ||
<location href="repodata/2d12587a74d924bad597fd8e25b8955270dfbe7591e020f9093edbb4a0d04444-other.xml.gz"/> | ||
<timestamp>1500454273</timestamp> | ||
<size>379</size> | ||
<open-size>791</open-size> | ||
</data> | ||
<data type="primary"> | ||
<checksum type="sha256">abf421e45af5cd686f050bab3d2a98e0a60d1b5ca3b07c86cb948fc1abfa675e</checksum> | ||
<open-checksum type="sha256">cceefe3857696a694110fc35bf14f8e2b77a1ed8aee1d422f0e99be20a3fc42f</open-checksum> | ||
<location href="repodata/abf421e45af5cd686f050bab3d2a98e0a60d1b5ca3b07c86cb948fc1abfa675e-primary.xml.gz"/> | ||
<timestamp>1500454273</timestamp> | ||
<size>920</size> | ||
<open-size>4399</open-size> | ||
</data> | ||
</repomd> |
1 change: 1 addition & 0 deletions
1
spec/fixtures/files/dummy_dedupped_product/product/repodata/repomd.xml.asc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dummy signature. |
1 change: 1 addition & 0 deletions
1
spec/fixtures/files/dummy_dedupped_product/product/repodata/repomd.xml.key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dummy key. |
Oops, something went wrong.