Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Update extension to use major.minor versioning scheme #320

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Update extension to use major.minor versioning scheme

660f5eb
Select commit
Loading
Failed to load commit list.
Draft

Update extension to use major.minor versioning scheme #320

Update extension to use major.minor versioning scheme
660f5eb
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / linter-firefox_translations succeeded Feb 21, 2024 in 2m 45s

FirefoxCI (pull_request)

Run addons-linter

Details

View task in Taskcluster
View logs in Taskcluster


[taskcluster 2024-02-21 22:36:31.744Z] Task ID: AfJNO006RNCzMqxve20aFw
[taskcluster 2024-02-21 22:36:31.744Z] Worker ID: 6322072673220019332
[taskcluster 2024-02-21 22:36:31.744Z] Worker Group: us-central1
[taskcluster 2024-02-21 22:36:31.744Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-02-21 22:36:31.744Z] Worker Pool: xpi-1/b-linux-gcp
[taskcluster 2024-02-21 22:36:31.744Z] Worker Version: 38.0.5
[taskcluster 2024-02-21 22:36:31.744Z] Public IP: 35.193.177.205
[taskcluster 2024-02-21 22:36:31.744Z] Hostname: xpi-1-b-linux-gcp-vg5fcq-btisflglmto-1dg

[taskcluster 2024-02-21 22:36:32.170Z] Image 'public/image.tar.zst' from task 'IX9dnLqJSqOzi71FUoixQg' loaded.  Using image ID sha256:1c47ae0442b0c5815a1135c4c6879b22faf1d3bbcd4e7e25832fa8d7600e96c3.
[taskcluster 2024-02-21 22:36:32.219Z] === Task Starting ===
[setup 2024-02-21T22:36:32.466Z] run-task started in /
[setup 2024-02-21T22:36:32.466Z] Invoked by command: --xpi-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx curl -sSL --fail --retry 3 -o firefox_translations.xpi "$XPI_URL" && npx -y addons-linter --privileged --boring --disable-xpi-autoclose --max-manifest-version=2 firefox_translations.xpi
[setup 2024-02-21T22:36:32.466Z] Python version: 3.7.3
[volume 2024-02-21T22:36:32.468Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-02-21T22:36:32.468Z] running as worker:worker
[vcs 2024-02-21T22:36:32.468Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-02-21T22:36:32.470Z] executing ['git', 'clone', 'https://github.com/mozilla-extensions/firefox-translations', '/builds/worker/checkouts/vcs']
[vcs 2024-02-21T22:36:32.472Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-02-21T22:36:34.474Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-extensions/firefox-translations', 'version']
[vcs 2024-02-21T22:36:34.686Z] From https://github.com/mozilla-extensions/firefox-translations
[vcs 2024-02-21T22:36:34.686Z]  * branch            version    -> FETCH_HEAD
[vcs 2024-02-21T22:36:34.690Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-extensions/firefox-translations', 'version']
[vcs 2024-02-21T22:36:34.909Z] From https://github.com/mozilla-extensions/firefox-translations
[vcs 2024-02-21T22:36:34.909Z]  * branch            version    -> FETCH_HEAD
[vcs 2024-02-21T22:36:34.913Z] executing ['git', 'checkout', '-f', '-B', 'version', '660f5eb5b58db3cc2d80acb423b820f8294f9471']
[vcs 2024-02-21T22:36:35.215Z] Switched to a new branch 'version'
[vcs 2024-02-21T22:36:35.215Z] executing ['git', 'submodule', 'init']
[vcs 2024-02-21T22:36:35.233Z] Submodule 'extension/_locales' (https://github.com/mozilla-l10n/firefox-translations-l10n/) registered for path 'extension/_locales'
[vcs 2024-02-21T22:36:35.233Z] executing ['git', 'submodule', 'update', '--force']
[vcs 2024-02-21T22:36:35.252Z] Cloning into '/builds/worker/checkouts/vcs/extension/_locales'...
[vcs 2024-02-21T22:36:35.672Z] Submodule path 'extension/_locales': checked out 'edeec53a0c07572fc5a7d4f2f9ec450ff8afbbec'
[vcs 2024-02-21T22:36:35.672Z] cleaning git checkout...
[vcs 2024-02-21T22:36:35.672Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-02-21T22:36:35.675Z] removing []
[vcs 2024-02-21T22:36:35.675Z] successfully cleaned git checkout!
[vcs 2024-02-21T22:36:35.677Z] TinderboxPrint:<a href='https://github.com/mozilla-extensions/firefox-translations/commit/660f5eb5b58db3cc2d80acb423b820f8294f9471' title='Built from firefox-translations commit 660f5eb5b58db3cc2d80acb423b820f8294f9471'>660f5eb5b58db3cc2d80acb423b820f8294f9471</a>
[task 2024-02-21T22:36:35.678Z] executing ['bash', '-cx', 'curl -sSL --fail --retry 3 -o firefox_translations.xpi "$XPI_URL" && npx -y addons-linter --privileged --boring --disable-xpi-autoclose --max-manifest-version=2 firefox_translations.xpi']
[task 2024-02-21T22:36:35.679Z] + curl -sSL --fail --retry 3 -o firefox_translations.xpi https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WS0T6NKQQr-L9NPDgdX7Pw/artifacts/public/build/firefox_translations.xpi
[task 2024-02-21T22:36:35.868Z] + npx -y addons-linter --privileged --boring --disable-xpi-autoclose --max-manifest-version=2 firefox_translations.xpi
[task 2024-02-21T22:36:40.539Z] npm WARN EBADENGINE Unsupported engine {
[task 2024-02-21T22:36:40.539Z] npm WARN EBADENGINE   package: 'espree@10.0.0',
[task 2024-02-21T22:36:40.539Z] npm WARN EBADENGINE   required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
[task 2024-02-21T22:36:40.539Z] npm WARN EBADENGINE   current: { node: 'v16.8.0', npm: '7.21.0' }
[task 2024-02-21T22:36:40.539Z] npm WARN EBADENGINE }
[task 2024-02-21T22:36:40.541Z] npm WARN EBADENGINE Unsupported engine {
[task 2024-02-21T22:36:40.541Z] npm WARN EBADENGINE   package: 'lru-cache@10.2.0',
[task 2024-02-21T22:36:40.541Z] npm WARN EBADENGINE   required: { node: '14 || >=16.14' },
[task 2024-02-21T22:36:40.541Z] npm WARN EBADENGINE   current: { node: 'v16.8.0', npm: '7.21.0' }
[task 2024-02-21T22:36:40.541Z] npm WARN EBADENGINE }
[task 2024-02-21T22:36:47.975Z] Validation Summary:
[task 2024-02-21T22:36:47.975Z] 
[task 2024-02-21T22:36:47.975Z] errors          0              
[task 2024-02-21T22:36:47.975Z] notices         0              
[task 2024-02-21T22:36:47.975Z] warnings        23             
[task 2024-02-21T22:36:47.975Z] 
[task 2024-02-21T22:36:47.975Z] WARNINGS:
[task 2024-02-21T22:36:47.975Z] 
[task 2024-02-21T22:36:47.975Z] Code                            Message       Description              File          Line   Column
[task 2024-02-21T22:36:47.975Z] IGNORED_APPLICATIONS_PROPERTY   "applicati…   The "applications"       manifest.j…                
[task 2024-02-21T22:36:47.975Z]                                 ons"          property is being        son                        
[task 2024-02-21T22:36:47.975Z]                                 property      ignored because it is                               
[task 2024-02-21T22:36:47.975Z]                                 overridden    superseded by the                                   
[task 2024-02-21T22:36:47.976Z]                                 by            "browser_specific_set…                              
[task 2024-02-21T22:36:47.976Z]                                 "browser_s…   tings" property which                               
[task 2024-02-21T22:36:47.976Z]                                 pecific_se…   is also defined in                                  
[task 2024-02-21T22:36:47.976Z]                                 ttings"       your manifest.                                      
[task 2024-02-21T22:36:47.976Z]                                 property      Consider removing                                   
[task 2024-02-21T22:36:47.976Z]                                               applications.                                       
[task 2024-02-21T22:36:47.976Z] MANIFEST_CSP_UNSAFE_EVAL        "content_s…   In most cases the same   manifest.j…                
[task 2024-02-21T22:36:47.976Z]                                 ecurity_po…   result can be achieved   son                        
[task 2024-02-21T22:36:47.977Z]                                 licy"         differently, therefore                              
[task 2024-02-21T22:36:47.977Z]                                 allows        it is generally                                     
[task 2024-02-21T22:36:47.977Z]                                 'eval',       prohibited                                          
[task 2024-02-21T22:36:47.977Z]                                 which has                                                         
[task 2024-02-21T22:36:47.977Z]                                 strong                                                            
[task 2024-02-21T22:36:47.977Z]                                 security                                                          
[task 2024-02-21T22:36:47.977Z]                                 and                                                               
[task 2024-02-21T22:36:47.977Z]                                 performance                                                       
[task 2024-02-21T22:36:47.977Z]                                 implicatio…                                                       
[task 2024-02-21T22:36:47.977Z]                                 ns.                                                               
[task 2024-02-21T22:36:47.977Z] MANIFEST_CSP                    "content_s…   A custom                 manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 ecurity_po…   "content_security_pol…   son                        
[task 2024-02-21T22:36:47.977Z]                                 licy"         icy" needs additional                               
[task 2024-02-21T22:36:47.977Z]                                 allows        review.                                             
[task 2024-02-21T22:36:47.977Z]                                 remote code                                                       
[task 2024-02-21T22:36:47.977Z]                                 execution                                                         
[task 2024-02-21T22:36:47.977Z]                                 in                                                                
[task 2024-02-21T22:36:47.977Z]                                 manifest.j…                                                       
[task 2024-02-21T22:36:47.977Z]                                 son                                                               
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-bw.svg" must be                                  
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.977Z]                                               square.                                             
[task 2024-02-21T22:36:47.977Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.977Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.977Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.978Z]                                               square.                                             
[task 2024-02-21T22:36:47.978Z] ICON_NOT_SQUARE                 Icons must    Icon at                  manifest.j…                
[task 2024-02-21T22:36:47.978Z]                                 be square.    "view/icons/translati…   son                        
[task 2024-02-21T22:36:47.978Z]                                               on-color.svg" must be                               
[task 2024-02-21T22:36:47.978Z]                                               square.                                             
[task 2024-02-21T22:36:47.978Z] DEPRECATED_API                  extension.…   This API has been        controller…   553    14    
[task 2024-02-21T22:36:47.979Z]                                 getURL is     deprecated by Firefox.   /backgroun…                
[task 2024-02-21T22:36:47.979Z]                                 deprecated                             dScript.js                 
[task 2024-02-21T22:36:47.979Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     view/js/An…   30     9     
[task 2024-02-21T22:36:47.979Z]                                 assignment    and performance          droidUI.js                 
[task 2024-02-21T22:36:47.979Z]                                 to            concerns, this may not                              
[task 2024-02-21T22:36:47.979Z]                                 innerHTML     be set using dynamic                                
[task 2024-02-21T22:36:47.980Z]                                               values which have not                               
[task 2024-02-21T22:36:47.980Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.980Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.980Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.980Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.980Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.981Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.981Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     view/js/An…   57     9     
[task 2024-02-21T22:36:47.981Z]                                 assignment    and performance          droidUI.js                 
[task 2024-02-21T22:36:47.981Z]                                 to            concerns, this may not                              
[task 2024-02-21T22:36:47.981Z]                                 innerHTML     be set using dynamic                                
[task 2024-02-21T22:36:47.981Z]                                               values which have not                               
[task 2024-02-21T22:36:47.981Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.982Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.982Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.982Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.982Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.982Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.982Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     view/js/In…   759    13    
[task 2024-02-21T22:36:47.982Z]                                 assignment    and performance          PageTransl…                
[task 2024-02-21T22:36:47.982Z]                                 to            concerns, this may not   ation.js                   
[task 2024-02-21T22:36:47.982Z]                                 innerHTML     be set using dynamic                                
[task 2024-02-21T22:36:47.982Z]                                               values which have not                               
[task 2024-02-21T22:36:47.982Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.982Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.982Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.982Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.982Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.982Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.982Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     view/js/In…   907    17    
[task 2024-02-21T22:36:47.982Z]                                 assignment    and performance          PageTransl…                
[task 2024-02-21T22:36:47.982Z]                                 to            concerns, this may not   ation.js                   
[task 2024-02-21T22:36:47.982Z]                                 innerHTML     be set using dynamic                                
[task 2024-02-21T22:36:47.982Z]                                               values which have not                               
[task 2024-02-21T22:36:47.983Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.983Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.983Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.983Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.983Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.983Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.983Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     view/js/Ou…   42     7     
[task 2024-02-21T22:36:47.983Z]                                 assignment    and performance          tboundTran…                
[task 2024-02-21T22:36:47.983Z]                                 to            concerns, this may not   slation.js                 
[task 2024-02-21T22:36:47.983Z]                                 innerHTML     be set using dynamic                                
[task 2024-02-21T22:36:47.983Z]                                               values which have not                               
[task 2024-02-21T22:36:47.983Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.983Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.983Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.983Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.983Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.983Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.983Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     view/js/Ou…   46     7     
[task 2024-02-21T22:36:47.983Z]                                 assignment    and performance          tboundTran…                
[task 2024-02-21T22:36:47.983Z]                                 to            concerns, this may not   slation.js                 
[task 2024-02-21T22:36:47.983Z]                                 innerHTML     be set using dynamic                                
[task 2024-02-21T22:36:47.983Z]                                               values which have not                               
[task 2024-02-21T22:36:47.983Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.983Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.983Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.983Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.983Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.983Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.983Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     model/stat…   2      14003 
[task 2024-02-21T22:36:47.983Z]                                 assignment    and performance          ic/DOMPuri…                
[task 2024-02-21T22:36:47.983Z]                                 to            concerns, this may not   fy/purify.…                
[task 2024-02-21T22:36:47.983Z]                                 outerHTML     be set using dynamic     min.js                     
[task 2024-02-21T22:36:47.983Z]                                               values which have not                               
[task 2024-02-21T22:36:47.983Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.983Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.983Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.983Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.983Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.983Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.983Z] UNSAFE_VAR_ASSIGNMENT           Unsafe        Due to both security     model/stat…   2      14656 
[task 2024-02-21T22:36:47.983Z]                                 assignment    and performance          ic/DOMPuri…                
[task 2024-02-21T22:36:47.983Z]                                 to            concerns, this may not   fy/purify.…                
[task 2024-02-21T22:36:47.983Z]                                 innerHTML     be set using dynamic     min.js                     
[task 2024-02-21T22:36:47.983Z]                                               values which have not                               
[task 2024-02-21T22:36:47.983Z]                                               been adequately                                     
[task 2024-02-21T22:36:47.983Z]                                               sanitized. This can                                 
[task 2024-02-21T22:36:47.983Z]                                               lead to security                                    
[task 2024-02-21T22:36:47.983Z]                                               issues or fairly                                    
[task 2024-02-21T22:36:47.983Z]                                               serious performance                                 
[task 2024-02-21T22:36:47.983Z]                                               degradation.                                        
[task 2024-02-21T22:36:47.983Z] UNSUPPORTED_API                 app.runtime   This API has not been    model/stat…   1073   59    
[task 2024-02-21T22:36:47.983Z]                                 is not        implemented by           ic/errorRe…                
[task 2024-02-21T22:36:47.983Z]                                 supported     Firefox.                 porting/se…                
[task 2024-02-21T22:36:47.983Z]                                                                        ntry.js                    
[task 2024-02-21T22:36:47.983Z] DANGEROUS_EVAL                  The           Evaluation of strings    controller…   4911   14    
[task 2024-02-21T22:36:47.983Z]                                 Function      as code can lead to      /languageD…                
[task 2024-02-21T22:36:47.983Z]                                 constructor   security                 etection/f…                
[task 2024-02-21T22:36:47.983Z]                                 is eval.      vulnerabilities and      asttext_wa…                
[task 2024-02-21T22:36:47.983Z]                                               performance issues,      sm.js                      
[task 2024-02-21T22:36:47.983Z]                                               even in the most                                    
[task 2024-02-21T22:36:47.983Z]                                               innocuous of                                        
[task 2024-02-21T22:36:47.983Z]                                               circumstances. Please                               
[task 2024-02-21T22:36:47.983Z]                                               avoid using `eval` and                              
[task 2024-02-21T22:36:47.983Z]                                               the `Function`                                      
[task 2024-02-21T22:36:47.983Z]                                               constructor when at                                 
[task 2024-02-21T22:36:47.983Z]                                               all possible.                                       
[taskcluster 2024-02-21 22:36:48.567Z] === Task Finished ===
[taskcluster 2024-02-21 22:36:48.568Z] Successful task run with exit code: 0 completed in 16.825 seconds