From 8d91ace18139e7a7d3fe1ed2f8ba618ebe613842 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Pendyala Date: Tue, 9 Nov 2021 19:14:54 +0530 Subject: [PATCH] Publish extension as preview on ADO --- README.md | 4 +-- ado-extension.json | 23 +++++++++++++++--- package.json | 2 +- src/assets/appSizeChangesIcon.png | Bin 15192 -> 8956 bytes src/assets/overview.md | 39 ++++++++++++++++++++++++++++++ src/task.json | 4 +-- 6 files changed, 64 insertions(+), 8 deletions(-) create mode 100644 src/assets/overview.md diff --git a/README.md b/README.md index 46481ce..436a03a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ These are the minimal checks we run on our own PRs for [SwiftKey](https://play.g - In a Azure DevOps Pipeline ```yml - - task: android-app-size-diff@0 + - task: android-app-size-diff@1 inputs: baseAppPath: test/assets/test.apk targetAppPath: test/assets/test.apk @@ -20,7 +20,7 @@ These are the minimal checks we run on our own PRs for [SwiftKey](https://play.g - In a GitHub Workflow ```yml - - uses: microsoft/android-app-size-diff@v0.27 + - uses: microsoft/android-app-size-diff@v1 name: Run APK size comparision with: baseAppPath: test/assets/test.apk diff --git a/ado-extension.json b/ado-extension.json index b84046f..788c3ba 100644 --- a/ado-extension.json +++ b/ado-extension.json @@ -2,25 +2,39 @@ "manifestVersion": 1, "id": "android-app-size-diff-utils", "name": "Android app size changes", - "version": "0.0.31", - "publisher": "PraveenPendyala", + "version": "1.0.5", + "publisher": "MSSwiftKey", "targets": [ { "id": "Microsoft.VisualStudio.Services" } ], "description": "Tools for Android app size changes", + "tags": [ + "Android", + "App size", + "Developer tools" + ], "categories": [ "Azure Pipelines" ], "icons": { - "default": "dist/src/assets/appSizeChangesIcon.png" + "default": "src/assets/appSizeChangesIcon.png" }, "files": [ { "path": "dist/src" } ], + "repository": { + "type": "git", + "uri": "https://github.com/microsoft/android-app-size-diff" + }, + "content": { + "details": { + "path": "src/assets/overview.md" + } + }, "contributions": [ { "id": "android-app-size-diff", @@ -32,5 +46,8 @@ "name": "dist/src" } } + ], + "galleryFlags": [ + "Public" ] } \ No newline at end of file diff --git a/package.json b/package.json index ccc6223..db2f613 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "android-app-size-diff", - "version": "0.0.32", + "version": "1.0.5", "description": "Azure DevOps task to measure the size in Android app size by looking at 2 given APKs and AABs", "main": "index.js", "scripts": { diff --git a/src/assets/appSizeChangesIcon.png b/src/assets/appSizeChangesIcon.png index 162313dae0a3391666b0f0a2756f33d7fb02e6fa..dbdb1f44767a9f983c0ea2baa2664924c6d08b13 100644 GIT binary patch literal 8956 zcma)iWmFv9((VjCxclJlE`z%}!QBZCg9Qoh7BmDxa1X9YaEIW*2@FnxJ3%iw=e_6L z`{!HV?p0mSuKmE+%hZaMbi5bUMY zqyT{WWV8oM#FsghwW78f0Pu$4g%<$;-2LV60|4G!0Kjhx008nH03dSD{h}rMvJhcw zpk$|}24H!?C;&ttE&%=o0becvkQDG&?F9jpfn@)|+CZj%IB)~GG$J$yd!zl!;A|6zyZ!~YlmP5av92z_xNcSS=l000f|uK@uca*1Em3>|e1payEH z5NkIV4oe$1D_agf7x%we08u~43v{uCT2lGBIJZ?o*#u9OfUNv2mGC3J;U^;cZ zuqw4PqY2y?E(8DqS9RP_-oITt$P=6uoAr8nj3*3MdG@{edf%}iCU#+O2Q(_#3C%<{ zqHyrf|6c$Y#&PHmz66co#o&``=!u2fn>t^Q-%XC#%jh_h0y5=Vb{BjF$p_&b;m!B1 zZM9LA2l7|ED5|Cp?eUFuU>@G`#*#SE5OJbTWCsUaMq9$b*5HfzL$TJMI#OQRpMp=5 z)HEY}iwinS^VA7+QYx*dw->lALD-os>B~mclB5#Nq{a1vqraVW#lbVAnkdULbys20C{$f$b0)3T|wM)xERXKC(`?xi*g z=^a5tJS%Q_>l$#~Ir&rnssBd2k$TSXzSpMXa^iJqYNfsVZKoEdS0d02Lq)HY8<#Dz zNDzjg*o$Eh-`69=u2Kl6`Jr6n~e)m;O25ZrjM^qIy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 z`xk=dl?LA&+Qc>eUB;!e2c0WVzmGYFGVy zgBU%pK)`RgXLx)+Zih90bEh|*s!DHKRaKGX~c&lM<{q{zpUV{$*d4n&xvDFfB`@gpyw9tS^b`NblJe%t?BT*0v{ zs?R+o7N3J=V@O96CI{vA{2TWNV%`q7`|m>VkqYR^_~jmuMWIXzKfO?AgkPhijwr=9 z0<;r<(4*Qs>k}qqJwrR-vE#q~U^u4py4}mr|JHayeAzifu-LSOL5R#hg4|K@i8-%n zzr6FmQ3-En5{oYC9lvP^%aGXLxJr)_`ZiRzCY^)=Q~UgNs3O9r_r<|d?Zd)gYDO?O z`vXvRJxP#V=PNRW$&%>g2mEsWL)kCM^=Hs@fsj{>XqES%Fd^YUz>xCR@M}e^=@I$~ zcl}WL&sSfJv8adu({ZovX|fQcs{%v zC4*8c>fxU%XZ8*~5Q+WNpA~g=H2Fp9<jx3t4r8CI_4N^ui-vWZ< z%u08ngC7vgSD8XkfFgN|e=70+_VztxJ||eEkoF}C<*g8Ifu9y4zC{)MuOHB&Dprvr zN#GZ5x$B3{+=FALJ+>XDkRl4xqK3$)OniZSv~Yn)Cz95SZDPF<1rLb`7yrg34{@!t>b2OixagW(gh8%e{%=_ zA7s5?Y9~JJ$pr)GAoT)Xd?x!&PNEQ{M%o*SJ7a14F6y9t=XsSDB`w&A=HeeviY!I) zUZwF~)Y$5RH!$$yUJalQGhA;X0Lo?1C9*!meEn~y?ztRty$!1OB;N6v3TTTCylu^|e>&@v>vfb4d=tCSA9sGD>x8!}~FtBY^#qVg^ zml#w!6yE23n>C5f0msmRZ&Hu;+TXE!>0e6 z$&j44h4qN7MyOfCZwiC?xZd#sZL}%kbaovKKgmgD;XN zJi3A3ohct{H@zj&_ke(GtR)_kRIdHeqX D2N6O< diff --git a/src/assets/overview.md b/src/assets/overview.md new file mode 100644 index 0000000..3b6f464 --- /dev/null +++ b/src/assets/overview.md @@ -0,0 +1,39 @@ +## Usage examples + +- In a Azure DevOps Pipeline + + ```yml + - task: android-app-size-diff@1 + inputs: + baseAppPath: test/assets/test.apk + targetAppPath: test/assets/test.apk + summaryOutputPath: summary.md + displayName: Run APK size comparision + ``` + +## Inputs + +- `baseAppPath`: Path to base apk. This is the app before changes + - required: true + - default: 'base.apk' +- `baseAppLabel`: Label to use for the base app in the report + - required: false + - default: 'Base APK' +- `targetAppPath`: Path to target apk. This is the app after changes + - required: true + - default: 'target.apk' +- `targetAppLabel`: Label to use for the base app in the report + - required: false + - default: 'Target APK' +- `summaryOutputPath`: Output file where comparision summary should be written to + - required: true + - default: 'summary.md' +- `metrics`: A comma seperated list of size metrics to include in the summary. Possible values are `apkSize`, `installSize`, `dexFiles`, `arscFile`, `nativeLibs` + - required: false + - default: 'apkSize, installSize, dexFiles, arscFile, nativeLibs' +- `thresholds`: A comma seperated list of thresholds for each of the metrics in bytes. If this is empty, no thresholding will apply. When this is not empty, the task will fail when any of the given thresholds are crossed + - required: false + - default: '' +- `telemetryEnabled`: Set to `false` to disable telemetry + - required: false + - default: 'true' diff --git a/src/task.json b/src/task.json index 311433f..c56c77b 100644 --- a/src/task.json +++ b/src/task.json @@ -8,9 +8,9 @@ "category": "Utility", "author": "Microsoft", "version": { - "Major": 0, + "Major": 1, "Minor": 0, - "Patch": 31 + "Patch": 5 }, "instanceNameFormat": "Android App size change - $(baseAppPath) vs $(targetAppPath)", "inputs": [