diff --git a/.travis.yml b/.travis.yml index c9ce6471..b3d14e04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,7 @@ before_install: script: - xmllint --schema http://pkp.sfu.ca/ojs/xml/plugins.xsd ./plugins.xml --noout - - mkdir out && node ./scripts/extractPluginReleaseData.js - - bash ./scripts/checkMD5.sh < ./out/packages-md5sums.txt + - npm install pkp-plugin-cli + - pwd + - ls ~ + - node ./node_modules/pkp-plugin-cli validate-releases --input $TRAVIS_BUILD_DIR/plugins.xml --output $TRAVIS_BUILD_DIR/plugins-output.txt diff --git a/package-lock.json b/package-lock.json index b9e58434..4e378b7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,80 @@ { - "name": "plugins-registry", - "version": "0.0.1", - "lockfileVersion": 1, "requires": true, + "lockfileVersion": 1, "dependencies": { + "@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" + }, + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz", + "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "pkp-plugin-cli": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/pkp-plugin-cli/-/pkp-plugin-cli-0.0.6.tgz", + "integrity": "sha512-hLm2p3JM7n4FE8zQVGCscS6ei9dil05VdVk9iIwcqmhVCKOzxZA2RqSZXXg+RF8mMcgX/KehC2SKiRXBhmIdTg==", + "requires": { + "chalk": "^4.0.0", + "minimist": "^1.2.5", + "xml2js": "^0.4.23" + } + }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", - "dev": true + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "requires": { + "has-flag": "^4.0.0" + } }, "xml2js": { "version": "0.4.23", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "dev": true, "requires": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -23,8 +83,7 @@ "xmlbuilder": { "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "dev": true + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" } } } diff --git a/package.json b/package.json deleted file mode 100644 index 42df3100..00000000 --- a/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "plugins-registry", - "version": "0.0.1", - "description": "Plugins registry for PKP", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/kabaros/plugins-registry.git" - }, - "author": "", - "license": "ISC", - "bugs": { - "url": "https://github.com/kabaros/plugins-registry/issues" - }, - "homepage": "https://github.com/kabaros/plugins-registry#readme", - "devDependencies": { - "xml2js": "^0.4.23" - } -} diff --git a/plugins-output.txt b/plugins-output.txt new file mode 100644 index 00000000..5894d2b4 --- /dev/null +++ b/plugins-output.txt @@ -0,0 +1,138 @@ +09c6cff1b9bd544e41cd22a3ebe41088:https://github.com/asmecher/hypothesis/releases/download/ojs-3_0_2-0/hypothesis-ojs-3_0_2-0.tar.gz +c812e14336807a5704af34c39b9b5518:https://github.com/asmecher/hypothesis/releases/download/ojs-3_1_0-0/hypothesis-ojs-3_1_0-0.tar.gz +31171a9a889104e41fac5136ec41050b:https://github.com/asmecher/hypothesis/releases/download/ojs-3_1_1-0/hypothesis-ojs-3_1_1-0.tar.gz +5bf045d0490284044125d398e2cea41b:https://github.com/asmecher/hypothesis/releases/download/v1.0.2-0/hypothesis-v1.0.2-0.tar.gz +19eacf80af7762b9d4af071cb6e20ec7:https://github.com/pkp/shibboleth/releases/download/ojs-3_1_0-0-1/shibboleth-ojs-3_1_0-0-1.tar.gz +fb653b21371b2dbfa3e30987afa3c9bf:https://github.com/pkp/shibboleth/releases/download/3_1_2-0/shibboleth-3_1_2-0.tar.gz +83c417e1e6ebfe36e46808a59a23f1bc:https://github.com/pkp/translator/releases/download/v2.0.2-0/translator-v2.0.2-0.tar.gz +53255f015f44a58d9cf096bb6677764d:https://github.com/pkp/translator/releases/download/v2.0.3-0/translator-v2.0.3-0.tar.gz +5cb6d2e26f113bfb3e632f3995b19568:https://github.com/pkp/translator/releases/download/v2.0.3-1/translator-v2.0.3-1.tar.gz +77dca726d9c71e7b00665b90c6307c5f:https://github.com/asmecher/backup/releases/download/v2_0_0-0/backup-v2_0_0-0.tar.gz +54e5f2551affd8501c4407296fc5652b:https://github.com/asmecher/backup/releases/download/v2.0.1-0/backup-v2.0.1-0.tar.gz +f8ab52547291086c449df8ce572cb0cc:https://github.com/asmecher/backup/releases/download/v2.0.2-0/backup-v2.0.2-0.tar.gz +1989c382059e9ba9225b8760027faee3:https://github.com/asmecher/backup/releases/download/v2.0.2-1/backup-v2.0.2-1.tar.gz +bea113ea0d9fe4096e7f3ecf25d691b3:https://github.com/asmecher/plagiarism/releases/download/v1.0.1/plagiarism-v1.0.1.tar.gz +0549917599628769f912c8f190997781:https://github.com/asmecher/plagiarism/releases/download/v1.0.2/plagiarism-v1.0.2.tar.gz +8594ef65da0d3220e5ad107348c4feda:https://github.com/asmecher/plagiarism/releases/download/v1.0.3-0/plagiarism-v1.0.3-0.tar.gz +95d7140b05ac97c89dc14e2e76dff967:https://github.com/pkp/coins/releases/download/coins-1_0_1-0/coins-1_0_1-0.tar.gz +1093dc59a8cfe975f86db524e8840083:https://github.com/pkp/coins/releases/download/v1.0.2-1/coins-v1.0.2-1.tar.gz +fe9cfb9c30ea14060f1b1c3aea8181f5:https://github.com/pkp/coins/releases/download/v1.0.3-0/coins-v1.0.3-0.tar.gz +3047c425524b86fe035d0ff19e380926:https://github.com/pkp/quickSubmit/releases/download/ojs-3_0_2-0/quickSubmit-ojs-3_0_2-0.tar.gz +6a083c20c06d8bc1867e02f83561836b:https://github.com/pkp/quickSubmit/releases/download/ojs-3_1_0-0/quickSubmit-ojs-3_1_0-0.tar.gz +d5346903712fe0f73e62ccdc256db9eb:https://github.com/pkp/quickSubmit/releases/download/ojs-3_1_1-0/quickSubmit-ojs-3_1_1-0.tar.gz +05dfaaa334d65a498dda2a076ba4242b:https://github.com/pkp/quickSubmit/releases/download/v1.0.3-0/quickSubmit-v1.0.3-0.tar.gz +775cfc6648e1b646a678895f19f71fa5:https://github.com/pkp/quickSubmit/releases/download/v1.0.4-0/quickSubmit-v1.0.4-0.tar.gz +80eb29c3ea700aa6498674f8dac6b229:https://github.com/pkp/quickSubmit/releases/download/v1.0.4-1/quickSubmit-v1.0.4-1.tar.gz +d36826c87d8de74c380c9536a922b83a:https://github.com/pkp/quickSubmit/releases/download/v1.0.5-0/quickSubmit-v1.0.5-0.tar.gz +c73a7198df995805463573ce1c9fef30:https://github.com/pkp/quickSubmit/releases/download/v1.0.5-1/quickSubmit-v1.0.5-1.tar.gz +f28b95494565ce4b202a169b03263f01:https://github.com/pkp/quickSubmit/releases/download/v1.0.5-2/quickSubmit-v1.0.5-2.tar.gz +2379aae7ef7685186b19c015d7c84ecc:https://github.com/ajnyga/allowedUploads/releases/download/v.1.0/allowedUploads.tar.gz +f5e922bb0b76929bad544f9801efab68:https://github.com/ajnyga/allowedUploads/releases/download/v.1.0.0.2/allowedUploads.tar.gz +f518e21a670df0ae612b3d15a1c49f59:https://github.com/ajnyga/allowedUploads/releases/download/1.0.0.5/allowedUploads.tar.gz +575420845fd2639f2b60d21a08d5cfe1:https://github.com/pkp/piwik/releases/download/piwik-1_0_0/piwik-1.0.0.tar.gz +cc5c4235d82e70a4a854147fee58ebbe:https://github.com/pkp/piwik/releases/download/ojs-3_1_0-0/piwik-ojs-3_1_0-0.tar.gz +054c65ea07a2a4a8b805db0575adca28:https://github.com/pkp/piwik/releases/download/ojs-3_1_1-0/piwik-ojs-3_1_1-0.tar.gz +a5f116e1b19f5064f72fa4fc78df97d1:https://github.com/pkp/piwik/releases/download/v1.0.2-0/piwik-v1.0.2-0.tar.gz +a195e3ac91d0b3a20d02bf10d883d147:https://github.com/pkp/piwik/releases/download/v1.0.2-1/piwik-v1.0.2-1.tar.gz +ec4692f8af11800ee3771525be3d2bb2:https://github.com/pkp/piwik/releases/download/v1.0.3-0/piwik-v1.0.3-0.tar.gz +e9f2bc26611a4d5632c91257c2edc73f:https://github.com/ojsde/shariff/archive/v2_4_6.tar.gz +3ef89ae22808efc5ead47e8b636ec324:https://github.com/ojsde/shariff/releases/download/v2_4_8/shariff-2_4_8.tar.gz +24988859a0d44b36b3ef8d06ae3a80a0:https://github.com/ojsde/shariff/releases/download/v3_0_0/shariff-3_0_0.tar.gz +1b6a84b416f5ccc914a5169db2f75881:https://github.com/pkp/addThis/releases/download/1_0_0-0/addThis-3.1.tar.gz +b7d5bc3476588e067d8e4beccfb34b31:https://github.com/pkp/addThis/releases/download/ojs-3_1_0-0/addThis-ojs-3_1_0-0.tar.gz +d735d48687ec298c271d29737f4e53d4:https://github.com/pkp/addThis/releases/download/ojs-3_1_1-0/addThis-ojs-3_1_1-0.tar.gz +f26660a3ad4a5dec7f1c78c366472b14:https://github.com/pkp/addThis/releases/download/v1.0.2-0/addThis-v1.0.2-0.tar.gz +afcb49344e6413bf7f9133dd0b828954:https://github.com/pkp/addThis/releases/download/v1.0.3-0/addThis-v1.0.3-0.tar.gz +0a522fdd05358aceee508ca1070da776:https://github.com/a-vodka/ojs_copernicus_export_plugin/releases/download/0.0.3/copernicus-ojs3-0.0.3.tar.gz +46e9ec82eaaced97fbdc0337674ca651:https://github.com/a-vodka/ojs_copernicus_export_plugin/releases/download/0.0.4/copernicus-ojs3-0.0.4.tar.gz +5ba2efb9e8ca18937258e89011fbfe25:https://github.com/asmecher/subscriptionSSO/releases/download/1_0_1-0/subscriptionSSO-1_0_1-0.tar.gz +3f117d48ecf9e558ff61bd7dafece333:https://github.com/asmecher/subscriptionSSO/releases/download/v1.0.2-0/subscriptionSSO-v1.0.2-0.tar.gz +5e501808ce39dd1f27270f40491125c6:https://github.com/asmecher/subscriptionSSO/releases/download/v1.0.3-1/subscriptionSSO-v1.0.3-1.tar.gz +d73dbcc9090c23479dfe885171603041:https://github.com/ajnyga/funding/releases/download/2.1.1.5/funding.tar.gz +ba994ac810d5d1d22e2fbda5a7f5c4af:https://github.com/ajnyga/funding/releases/download/2.1.2.4/funding.tar.gz +a6bda6d071894aa276116507e1d01345:https://github.com/ajnyga/funding/releases/download/2.1.3.1/funding.tar.gz +84d55e711ee08c948d69dc37d6075ef1:https://github.com/asmecher/customHeader/releases/download/ojs-3_1_0-0/customHeader-ojs-3_1_0-0.tar.gz +e577a0ace206ae3fe9a4351806dee69a:https://github.com/asmecher/customHeader/releases/download/v1.0.1-0/customHeader-v1.0.1-0.tar.gz +73df409a9ad1757fdeaf4486a0dcf80d:https://github.com/asmecher/customHeader/releases/download/v1.0.2-0/customHeader-v1.0.2-0.tar.gz +19dea29a4dc422bcdab1048cccf237ef:https://github.com/asmecher/jatsTemplate/releases/download/v1_0_0-0/jatsTemplate-v1_0_0-0.tar.gz +352cbc0f6278170716c20e3d7d1a1e00:https://github.com/pkp/jatsTemplate/releases/download/v1_0_1-0/jatsTemplate-v1_0_1-0.tar.gz +6849b1c5c266041e2fae10884cd46d34:https://github.com/pkp/jatsTemplate/releases/download/v1.0.2-0/jatsTemplate-v1.0.2-0.tar.gz +fa5789bb3673a5924b0a94f2cb3307dd:https://github.com/asmecher/sword/releases/download/v1.0.0-1/sword-v1.0.0-1.tar.gz +3c96e83eeba807f5b2bad9aa867b43e9:https://github.com/asmecher/sword/releases/download/v1.0.1-0/sword-v1.0.1-0.tar.gz +4df54a126d6d1c7181402bf11dbb360a:https://github.com/asmecher/sword/releases/download/v1.0.1-1/sword-v1.0.1-1.tar.gz +ee1aab70308821d1a3f5ee5ecbb7bdc1:https://github.com/asmecher/sword/releases/download/v1.0.2-0/sword-v1.0.2-0.tar.gz +208a5e36a01268477140a77eb4d24f77:https://github.com/pkp/sword/releases/download/v1.0.2-1/sword-v1.0.2.1.tar.gz +1eb19a7db060f5e354cd46d04c17aeb7:https://github.com/pkp/oaiJats/releases/download/v1.0.0.0/oaiJats-v1.0.0.0.tar.gz +4e0c62d41b72065136aef184fa2b00c6:https://github.com/pkp/oaiJats/releases/download/v1_0_1-0/oaiJats-v1_0_1-0.tar.gz +d56d784d691333748e6e94b9ca70c903:https://github.com/pkp/oaiJats/releases/download/v1.0.2-0/oaiJats-v1.0.2-0.tar.gz +81bd132c6c878458899ac5d693680947:https://github.com/ali-sokhandan/ojs3-keywordcloud-plugin/releases/download/1.0.0.1/keywordCloud.tar.gz +aa5186de480b3cf64b47db156b6f607c:https://github.com/lepidus/ojs3-keywordcloud-plugin/releases/download/1.0.0.2/keywordCloud.tar.gz +92612d832729a7d43381d23551634bc9:https://github.com/NateWr/bootstrap3/releases/download/3.1.2/bootstrap3-3.1.2.tar.gz +e6f35cef567faf9b0b97977023dae905:https://github.com/NateWr/bootstrap3/releases/download/3.1.2-2/bootstrap3-3.1.2-1.tar.gz +10581251d2bd33e6b26068335127983d:https://github.com/NateWr/bootstrap3/releases/download/3.1.2-3/bootstrap3-3.1.2-3.tar.gz +7f72aefc437684709d43d1f9864ae731:https://github.com/NateWr/bootstrap3/releases/download/3.1.2-4/bootstrap3-3.1.2.4.tar.gz +eaa768780586afce68ce3efac24b4831:https://github.com/NateWr/bootstrap3/releases/download/3.1.2-5/bootstrap3-3.1.2.5.tar.gz +c3d1efa61915f532745e83efe53c27fc:https://github.com/NateWr/bootstrap3/releases/download/3.2.0/bootstrap3-3.2.0.0.tar.gz +921b5bffec98a58e4a5c340df0f33c88:https://github.com/pkp/classic/releases/download/1.0.0-1/classic-1.0.0.tar.gz +86a656bfbad1398f62aea405b0176c88:https://github.com/pkp/classic/releases/download/1.0.0-2/classic-1.0.0-2.tar.gz +21f7ad108ebd781ae302d582e8bacb6c:https://github.com/pkp/classic/releases/download/1.0.1/classic-1.0.1.tar.gz +dd2827322475689e45a29a2a92c9223a:https://github.com/pkp/classic/releases/download/1.0.3/classic-1.0.3.0.tar.gz +2a28097057cb44cd57b034fe50853370:https://github.com/pkp/classic/releases/download/1.0.3-1/classic-1.0.3-1.tar.gz +a131b0b5fcea8e422b38bda3ceead2f5:https://github.com/pkp/healthSciences/releases/download/1.0.0/healthSciences-v1.0.0.tar.gz +f32a0b4ac8bc59bf7524aed00d740a1f:https://github.com/pkp/healthSciences/releases/download/1.0.1/healthSciences-v1.0.1.tar.gz +cc8318fd2f607e237147e0acaf9390d2:https://github.com/pkp/healthSciences/releases/download/1.0.2/healthSciences-v.1.0.2.tar.gz +3406e67c9b31972d0cc94949c2e51559:https://github.com/pkp/healthSciences/releases/download/1.0.3/healthSciences-1.0.3.tar.gz +5976b91fae05aabdf920f16342dd2a41:https://github.com/pkp/healthSciences/releases/download/1.0.4/healthSciences-1.0.4.tar.gz +04bb9838afbcabddd5a54b5743687308:https://github.com/pkp/healthSciences/releases/download/1.0.6/healthSciences-1.0.6.0.tar.gz +beaf512d288f19edd3bc227a736e2269:https://github.com/pkp/healthSciences/releases/download/1.0.6.1/healthSciences-1.0.6.1.tar.gz +2d400e6321130a7ea624639adf1a6c9a:https://github.com/NateWr/defaultManuscript/releases/download/1.0.0/defaultManuscript-1.0.0.0.tar.gz +96d8c468065e9702218800b00b25f5df:https://github.com/NateWr/defaultManuscript/releases/download/1.0.1/defaultManuscript-1.0.1.0.tar.gz +ec2d5884b32a268f3894404f7846c903:https://github.com/NateWr/defaultManuscript/releases/download/1.0.2/defaultManuscript-1.0.2.tar.gz +272b641ed37a75e073b5344dc3106937:https://github.com/NateWr/defaultManuscript/releases/download/1.0.3/defaultManuscript-1.0.3.0.tar.gz +8b0051aaf9fa94077ba5ef175e52c3d0:https://github.com/asmecher/texture/releases/download/v1.0.0-0/texture-v1.0.0-0.tar.gz +27c8108729e538f9e39897e9dbe2ba0c:https://github.com/pkp/texture/releases/download/3_1_2-0/texture-3_1_2-0.tar.gz +14731c01c875f9b596cca2f62bf56120:https://github.com/pkp/texture/releases/download/v2.2.0.0/texture-3_1_2.tar.gz +2212ff45865cba54c0ce9d594e9bdddd:https://github.com/pkp/texture/releases/download/v2.2.0.1/texture-stable-3_1_2.tar.gz +cfc79926e1c358280f7616a18d7cba59:https://github.com/pkp/texture/releases/download/v2.2.1.0/texture-v2.2.1.0.tar.gz +21ab7c2151462f5f331196458b18fe69:https://github.com/pkp/texture/releases/download/v2.2.2.0/texture-v2.2.2.0.tar.gz +5f03ccfc6688f1f63a97117c7c1cf253:https://github.com/pkp/crossrefReferenceLinking/releases/download/v1.0.0-0/crossrefReferenceLinking-v1.0.0-0.tar.gz +8f032a4d974e8c3873d9600bcb6f47e1:https://github.com/pkp/immersion/releases/download/1.0.0/immersion-1.0.0.tar.gz +03f6cca6f0f45e13728c9789a169260e:https://github.com/pkp/immersion/releases/download/1.0.1/immersion-1.0.1.tar.gz +8c46d2d6397ded873bcbd03961232839:https://github.com/pkp/immersion/releases/download/1.0.1-1/immersion-1.0.1-1.tar.gz +031a31d3888ce693813d61defcb6961d:https://github.com/pkp/immersion/releases/download/1.0.2/immersion-1.0.2.tar.gz +a642b7e97c80b77f558bc00f2602f105:https://github.com/pkp/immersion/releases/download/1.0.3/immersion-1.0.3.tar.gz +fe9ac5f3e568ae1540d2447969d95619:https://github.com/pkp/immersion/releases/download/1.0.4.0/immersion-1.0.4.0.tar.gz +b8f79cd49ce34add7e71127026a56a87:https://github.com/pkp/immersion/releases/download/1.0.4.1/immersion-1.0.4.1.tar.gz +b57ec511e5fdbbdc733f3cddd55d85d5:https://github.com/pkp/orcidProfile/releases/download/v1.1.1-0/orcidProfile-v1.1.1-0.tar.gz +711ec5c471e707a51c600e790159c0b9:https://github.com/pkp/orcidProfile/releases/download/v1.1.1-1/orcidProfile-v1.1.1-1.tar.gz +4849525c754d7b1553ec66971825f78c:https://github.com/pkp/orcidProfile/releases/download/v1.1.1-2/orcidProfile-v1.1.1-2.tar.gz +2f8c0d3014522421fa682d7f6adb7006:https://github.com/pkp/orcidProfile/releases/download/v1.1.2-0/orcidProfile-v1.1.2-0.tar.gz +80440cd77056966c8d34ba45016612b4:https://github.com/pkp/orcidProfile/releases/download/v1.1.2-1/orcidProfile-v1.1.2-1.tar.gz +f5f22549f96470cc3cec6d00f53d8569:https://github.com/pkp/defaultTranslation/releases/download/ojs-3_1_0-1/defaultTranslation-ojs-3_1_0-1.tar.gz +2dac7953616271ba7cd8161d8b46b796:https://github.com/pkp/defaultTranslation/releases/download/v1.1.1-0/defaultTranslation-v1.1.1-0.tar.gz +56fc123731bf8b5593e92f9904e60a6d:https://github.com/pkp/paperbuzz/releases/download/1.0.0.0/paperbuzz-1.0.0.0.tar.gz +4d657e0abb8d4cde869f521d9eee6bcb:https://github.com/ojsde/openAIRE/releases/download/2.0.0.4/openAIRE.tar.gz +b56d6aa1d595faf30b4139c0b9acb488:https://github.com/ojsde/openAIRE/releases/download/2.0.0.5/openAIRE.tar.gz +2915583358228d8595f28648bd282e16:https://github.com/ojsde/openAIRE/releases/download/2.0.1.4/openAIRE.tar.gz +9c748bdc32a664df696da9b5daa2e886:https://github.com/ojsde/openAIRE/releases/download/2.0.1.5/openAIRE.tar.gz +e96c552aefb633aea32a181c3bd29eac:https://github.com/ojsde/openAIRE/releases/download/2.0.2.0/openAIRE.tar.gz +13bc221debcc959db042a969a543eab0:https://github.com/withanage/lensGalleyBits/releases/download/V3.0.0.0/lensGalleyBits-V3.0.0.0.tar.gz +7ce597537891c0e91306127f4525a05d:https://github.com/4Science/reviewercredits-ojs/releases/download/1.0.0.0/reviewerCredits.tgz +05030eac0d4b7daa14b26febbf4b5571:https://github.com/ulsdevteam/ojs-plum-plugin/releases/download/v1.3.0-0/plumAnalytics-1.3.0.0.tar.gz +2e88c197b344e9897cd31f49c5cebdb4:https://github.com/ulsdevteam/ojs-sushiLite-plugin/releases/download/v1.1.1-0/sushiLite-1.1.1-0.tar.gz +6a3948996c8e354c0d5257843c097eb5:https://github.com/ulsdevteam/pkp-betterPassword/releases/download/v1.0.0-1/betterPassword-1.0.0-1.tgz +ef28bdfbba8c19458f2b3148303e6b42:https://github.com/ulsdevteam/pkp-akismet/releases/download/v1.2.2-1/akismet-1.2.2-1.tgz +70bd9f60dcac9614ba9bba0bace71369:https://github.com/ulsdevteam/pkp-formHoneypot/releases/download/v1.3.0-1/formHoneypot-1.3.0-1.tgz +0303e950caf99d2c4a9d11529ddb18db:https://github.com/ewhanson/authorRequirements/releases/download/v1.0.0-0/authorRequirements-1.0.0-0.tar.gz +b4678522339100227e2a2770f7041e08:https://github.com/ewhanson/authorRequirements/releases/download/v1.0.0-1/authorRequirements-1.0.0-1.tar.gz +2d60666f208d84ae135ea7da3077eff4:https://github.com/pkp/registrationNotification/releases/download/v1.0.0.2/registrationNotification-v1.0.0.2.tar.gz +9dda3ba5c62f9ed980e528067b645be4:https://github.com/pkp/registrationNotification/releases/download/v2.0.0.1/registrationNotification-v2.0.0.1.tar.gz +d2eca325e7ac7c28e391ed5c4621e061:https://github.com/pkp/controlPublicFiles/releases/download/1.0.0.0/controlPublicFiles-1.0.0.0.tar.gz +57398322817c1a0e6d877b6ba7e78650:https://github.com/pkp/textEditorExtras/releases/download/1.0.0.0/textEditorExtras-1.0.0.0.tar.gz +84b56e2563506b32b19a6953f49fea11:https://github.com/pkp/textEditorExtras/releases/download/1.0.0.1/textEditorExtras-1.0.0.1.tar.gz +3b7d807b5229847f8460bc432912c4d6:https://github.com/RBoelter/twitterBlock/releases/download/1.0.0.0/twitterBlock-1.0.0.0.tar.gz +53755e1c4bdc82bcc56884ba7448e4a4:https://github.com/RBoelter/announcementsBlock/releases/download/1.0.0.0/announcementsBlock-1.0.0.0.tar.gz +8724a3de65783c4ae7686723f60a85b3:https://github.com/pkp/swordServer/releases/download/v0.0.0.1/swordServer-v0.0.0.1.tar.gz +dab150291c53b875fc33a8a0562e105b:https://github.com/pkp/returningAuthorScreening/releases/download/v1.0.0-0/returningAuthorScreening-v1.0.0-0.tar.gz +03bf5c0dc995bea17f8c1a4f4fdd3425:https://github.com/ajnyga/openGraph/releases/download/1.0.0.0/openGraph.tar.gz +2f8bc414e9694002adde559844448b80:https://github.com/publons/ojs_3/releases/download/3.2.2.0/publons.tar.gz diff --git a/scripts/checkMD5.sh b/scripts/checkMD5.sh deleted file mode 100644 index ccda1009..00000000 --- a/scripts/checkMD5.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# The file out/packages-md5sums.txt contains a list of all plugins with their MD5 sums, in the format: -# release_url:md5sum -# This script goes through all the files in the list, downloads the release from release_url, -# calculates the MD5 sum, and compare it to the md5 hash in plugins.xml -files_with_errors_count=0 - -while IFS=':' read -r expected_mdsum url -do - md5_result="$(curl -L -m 5 --silent $url | md5sum | awk '{print $1}')" - echo "✓ ${url}" - if [ "$md5_result" != "$expected_mdsum" ]; then - files_with_errors_count=$((files_with_errors_count+1)) - echo "✘ ${url} (Excpected: '${expected_mdsum}', Actual: '${md5_result}')" - fi -done - -if [[ "$files_with_errors_count" -gt 0 ]]; then - echo "$files_with_errors_count plugins did not have the correct md5 sum" - exit 1 -fi diff --git a/scripts/extractPluginReleaseData.js b/scripts/extractPluginReleaseData.js deleted file mode 100644 index 51a0304d..00000000 --- a/scripts/extractPluginReleaseData.js +++ /dev/null @@ -1,41 +0,0 @@ -const { readFile, writeFile } = require('./helpers') -const xml2js = require('xml2js') -const parser = new xml2js.Parser() - -const args = { - filePath: process.argv[2] || `${__dirname}/../plugins.xml` -} - -/** - * The function loops through the plugins and their releases and creates a text file containing a list - * of the releases and their MD5 sums This is then consument by the bash script "checkMD5sum" that - * downloads all the releases and compares their MD5 sums with the content of the generated file - * - * @param {string} filePath the path to the file to parse and extract the releases info from - */ -const extractData = async filePath => { - const xml = await readFile(filePath) - try { - const result = await parser.parseStringPromise(xml) - - let packagesWithSums = '' - - result.plugins.plugin.forEach(plugin => { - const pluginName = plugin.name[0]._ - plugin.release.forEach(release => { - if (release.package.length > 1) - throw 'Each release should have one package' - - const expectedMd5Sum = release.$.md5 - const version = release.$.version - - packagesWithSums += expectedMd5Sum + ':' + release.package[0] + '\n' - }) - }) - writeFile(__dirname + '/../out/packages-md5sums.txt', packagesWithSums) - } catch (err) { - throw err - } -} - -extractData(args.filePath) diff --git a/scripts/helpers.js b/scripts/helpers.js deleted file mode 100644 index 99a6ab96..00000000 --- a/scripts/helpers.js +++ /dev/null @@ -1,27 +0,0 @@ -const fs = require('fs') - -const readFile = (fileName, encoding = 'utf8') => { - return new Promise((resolve, reject) => { - fs.readFile(fileName, encoding, (err, data) => { - if (err) { - console.error(err) - return reject(err) - } - return resolve(data) - }) - }) -} - -const writeFile = (fileName, content, encoding = 'utf8') => { - return new Promise((resolve, reject) => { - fs.writeFile(fileName, content, encoding, err => { - if (err) { - console.error(err) - return reject(err) - } - return resolve() - }) - }) -} - -module.exports = { readFile, writeFile }