From 743ef9ba00eb2929010960a393fc724b4b07e47b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 27 Nov 2017 16:35:58 +0100 Subject: [PATCH] rename test files to work round filename length limits It seems a lot of things like tar, Windows, some filesystems, etc. do not handle long filenames. #416 --- ...2\320\270-\330\271\330\261\330\250\331\2121.apk" | Bin tests/repo/index-v1.json | 2 +- tests/repo/index.xml | 2 +- ...350\260\242\345\260\224\347\233\226\302\267.apk" | Bin tests/stats/known_apks.txt | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename "tests/bad-unicode-\317\200\303\207\303\207\317\200\303\207\303\207\347\216\260\344\273\243\346\261\211\350\257\255\351\200\232\347\224\250\345\255\227-\320\261\321\212\320\273\320\263\320\260\321\200\321\201\320\272\320\270-\330\271\330\261\330\250\331\2121234.apk" => "tests/bad-unicode-\317\200\303\207\303\207\347\216\260\344\273\243\351\200\232\347\224\250\345\255\227-\320\261\321\212\320\273\320\263\320\260\321\200\321\201\320\272\320\270-\330\271\330\261\330\250\331\2121.apk" (100%) rename "tests/repo/urzip-Rakhmaninov; \320\240\320\260\321\205\320\274\320\260\314\201\320\275\320\270\320\275\320\276\320\262, IPA: [r\311\220x\313\210man\312\262\311\252n\311\231f] \330\263\331\212\330\261\330\254\331\212_\330\261\330\256\331\205\330\247\331\206\331\212\331\206\331\210\331\201 \350\260\242\345\260\224\347\233\226\302\267\347\223\246\350\245\277\351\207\214\350\200\266\347\273\264\345\245\207\302\267\346\213\211\350\265\253\347\216\233.apk\345\260\274\350\257\272\345\244\253 .apk" => "tests/repo/urzip-; \320\240\320\260\321\205\320\274\320\260\314\201\320\275\320\270\320\275\320\276\320\262, [r\311\220x\313\210man\312\262\311\252n\311\231f] \330\263\331\212\330\261\330\254\331\212_\330\261\330\256\331\205\330\247\331\206\331\212\331\206\331\210\331\201 \350\260\242\345\260\224\347\233\226\302\267.apk" (100%) diff --git "a/tests/bad-unicode-\317\200\303\207\303\207\317\200\303\207\303\207\347\216\260\344\273\243\346\261\211\350\257\255\351\200\232\347\224\250\345\255\227-\320\261\321\212\320\273\320\263\320\260\321\200\321\201\320\272\320\270-\330\271\330\261\330\250\331\2121234.apk" "b/tests/bad-unicode-\317\200\303\207\303\207\347\216\260\344\273\243\351\200\232\347\224\250\345\255\227-\320\261\321\212\320\273\320\263\320\260\321\200\321\201\320\272\320\270-\330\271\330\261\330\250\331\2121.apk" similarity index 100% rename from "tests/bad-unicode-\317\200\303\207\303\207\317\200\303\207\303\207\347\216\260\344\273\243\346\261\211\350\257\255\351\200\232\347\224\250\345\255\227-\320\261\321\212\320\273\320\263\320\260\321\200\321\201\320\272\320\270-\330\271\330\261\330\250\331\2121234.apk" rename to "tests/bad-unicode-\317\200\303\207\303\207\347\216\260\344\273\243\351\200\232\347\224\250\345\255\227-\320\261\321\212\320\273\320\263\320\260\321\200\321\201\320\272\320\270-\330\271\330\261\330\250\331\2121.apk" diff --git a/tests/repo/index-v1.json b/tests/repo/index-v1.json index 3c56b870..17cfff83 100644 --- a/tests/repo/index-v1.json +++ b/tests/repo/index-v1.json @@ -286,7 +286,7 @@ "info.guardianproject.urzip": [ { "added": 1466640000000, - "apkName": "urzip-Rakhmaninov; \u0420\u0430\u0445\u043c\u0430\u0301\u043d\u0438\u043d\u043e\u0432, IPA: [r\u0250x\u02c8man\u02b2\u026an\u0259f] \u0633\u064a\u0631\u062c\u064a_\u0631\u062e\u0645\u0627\u0646\u064a\u0646\u0648\u0641 \u8c22\u5c14\u76d6\u00b7\u74e6\u897f\u91cc\u8036\u7ef4\u5947\u00b7\u62c9\u8d6b\u739b.apk\u5c3c\u8bfa\u592b .apk", + "apkName": "urzip-; \u0420\u0430\u0445\u043c\u0430\u0301\u043d\u0438\u043d\u043e\u0432, [r\u0250x\u02c8man\u02b2\u026an\u0259f] \u0633\u064a\u0631\u062c\u064a_\u0631\u062e\u0645\u0627\u0646\u064a\u0646\u0648\u0641 \u8c22\u5c14\u76d6\u00b7.apk", "hash": "15c0ec72c74a3791f42cdb43c57df0fb11a4dbb656851bbb8cf05b26a8372789", "hashType": "sha256", "minSdkVersion": "4", diff --git a/tests/repo/index.xml b/tests/repo/index.xml index c6ce688f..1c696042 100644 --- a/tests/repo/index.xml +++ b/tests/repo/index.xml @@ -244,7 +244,7 @@ 0.1 100 - urzip-Rakhmaninov; Рахма́нинов, IPA: [rɐxˈmanʲɪnəf] سيرجي_رخمانينوف 谢尔盖·瓦西里耶维奇·拉赫玛.apk尼诺夫 .apk + urzip-; Рахма́нинов, [rɐxˈmanʲɪnəf] سيرجي_رخمانينوف 谢尔盖·.apk 15c0ec72c74a3791f42cdb43c57df0fb11a4dbb656851bbb8cf05b26a8372789 11471 4 diff --git "a/tests/repo/urzip-Rakhmaninov; \320\240\320\260\321\205\320\274\320\260\314\201\320\275\320\270\320\275\320\276\320\262, IPA: [r\311\220x\313\210man\312\262\311\252n\311\231f] \330\263\331\212\330\261\330\254\331\212_\330\261\330\256\331\205\330\247\331\206\331\212\331\206\331\210\331\201 \350\260\242\345\260\224\347\233\226\302\267\347\223\246\350\245\277\351\207\214\350\200\266\347\273\264\345\245\207\302\267\346\213\211\350\265\253\347\216\233.apk\345\260\274\350\257\272\345\244\253 .apk" "b/tests/repo/urzip-; \320\240\320\260\321\205\320\274\320\260\314\201\320\275\320\270\320\275\320\276\320\262, [r\311\220x\313\210man\312\262\311\252n\311\231f] \330\263\331\212\330\261\330\254\331\212_\330\261\330\256\331\205\330\247\331\206\331\212\331\206\331\210\331\201 \350\260\242\345\260\224\347\233\226\302\267.apk" similarity index 100% rename from "tests/repo/urzip-Rakhmaninov; \320\240\320\260\321\205\320\274\320\260\314\201\320\275\320\270\320\275\320\276\320\262, IPA: [r\311\220x\313\210man\312\262\311\252n\311\231f] \330\263\331\212\330\261\330\254\331\212_\330\261\330\256\331\205\330\247\331\206\331\212\331\206\331\210\331\201 \350\260\242\345\260\224\347\233\226\302\267\347\223\246\350\245\277\351\207\214\350\200\266\347\273\264\345\245\207\302\267\346\213\211\350\265\253\347\216\233.apk\345\260\274\350\257\272\345\244\253 .apk" rename to "tests/repo/urzip-; \320\240\320\260\321\205\320\274\320\260\314\201\320\275\320\270\320\275\320\276\320\262, [r\311\220x\313\210man\312\262\311\252n\311\231f] \330\263\331\212\330\261\330\254\331\212_\330\261\330\256\331\205\330\247\331\206\331\212\331\206\331\210\331\201 \350\260\242\345\260\224\347\233\226\302\267.apk" diff --git a/tests/stats/known_apks.txt b/tests/stats/known_apks.txt index e3e4a418..fbab3620 100644 --- a/tests/stats/known_apks.txt +++ b/tests/stats/known_apks.txt @@ -9,4 +9,4 @@ obb.main.twoversions_1101615.apk obb.main.twoversions 2016-01-01 obb.main.twoversions_1101617.apk obb.main.twoversions 2016-06-20 obb.mainpatch.current_1619.apk obb.mainpatch.current 2016-04-23 obb.mainpatch.current_1619_another-release-key.apk obb.mainpatch.current 2017-06-01 -urzip-Rakhmaninov; Рахма́нинов, IPA: [rɐxˈmanʲɪnəf] سيرجي_رخمانينوف 谢尔盖·瓦西里耶维奇·拉赫玛.apk尼诺夫 .apk info.guardianproject.urzip 2016-06-23 +urzip-; Рахма́нинов, [rɐxˈmanʲɪnəf] سيرجي_رخمانينوف 谢尔盖·.apk info.guardianproject.urzip 2016-06-23 -- 2.30.2