Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
4faf0a6
Create CODEOWNERS
cRui861 May 8, 2020
4f53ae6
Updated CODEOWNERS
cRui861 May 8, 2020
8c92bc4
Updated CODEOWNERS
cRui861 May 8, 2020
197793d
Merge pull request #2177 from Azure/rechen/codeowners
cRui861 May 8, 2020
a1d1853
Update CODEOWNERS
cRui861 May 12, 2020
ad588c3
Merge pull request #2180 from Azure/cRui861-patch-1
cRui861 May 18, 2020
09007ae
Autodesk Arnold Meter Change (#2178)
cRui861 May 20, 2020
a7136d3
Bump websocket-extensions from 0.1.3 to 0.1.4 (#2186)
dependabot[bot] Jun 10, 2020
46e8a46
Added VSCode launch profile for client tests
dpwatrous Jul 2, 2020
794e7ac
Switched linux build to use 24-bit color
dpwatrous Jul 2, 2020
44b49c1
Dependency updates
May 1, 2020
35a6f74
Disabled Ivy (causing errors in the prod build)
dpwatrous Jul 9, 2020
31159db
Reapply dependabot websocket-extension security fix (#2194)
dpwatrous Jul 9, 2020
67d6d7a
Fixed the standalone Windows executable
dpwatrous Jul 14, 2020
7cb890e
Fixed Linux AppImage file name in package scripts
dpwatrous Jul 14, 2020
43fcb24
Merge pull request #2199 from Azure/bugfix/windows-exe
dpwatrous Jul 15, 2020
6953209
Build pipeline updates
dpwatrous Jul 27, 2020
18867c8
Merge pull request #2201 from Azure/dpwatrous/pipeline_updates
dpwatrous Jul 28, 2020
4b665c5
Updated to Electron 9 and Spectron 11
dpwatrous Jul 9, 2020
12917da
Fixed spectron tests on MacOS
dpwatrous Jul 14, 2020
d0e226f
Added a workaround for karma-jasmine test errors
dpwatrous Jul 16, 2020
bfa8a37
Merge pull request #2195 from Azure/dpwatrous/electron9
dpwatrous Jul 28, 2020
5c4ba59
Bump elliptic from 6.5.2 to 6.5.3 (#2202)
dependabot[bot] Aug 2, 2020
9c7e049
Fixed issue where stuck on splash screen when trying to run dev mode
cRui861 Aug 12, 2020
421e35c
Fixed spectron selector for password link
dpwatrous Aug 14, 2020
dacf602
Merge pull request #2205 from Azure/splash-screen-issue
dpwatrous Aug 17, 2020
8b2fdcc
Updated copy-webpack-plugin dependency (#2206)
dpwatrous Aug 17, 2020
723b87c
Fix spelling of successful (#2208)
mahilleb-msft Aug 24, 2020
72cad52
Dependency Updates (#2209)
cRui861 Aug 25, 2020
80eeba4
Fixed spelling error (#2210)
dpwatrous Aug 28, 2020
1213c92
Fixed naming of detals to details (#2211)
cRui861 Sep 1, 2020
1de1446
Fixed issue with displaying details (#2213)
cRui861 Sep 3, 2020
b5de3c4
Include the default Electron User-Agent string (#2216)
dpwatrous Sep 10, 2020
0d29271
Bump node-fetch from 2.6.0 to 2.6.1 (#2218)
dependabot[bot] Sep 12, 2020
bf4970e
Bump node-forge from 0.8.5 to 0.10.0 (#2220)
dependabot[bot] Sep 17, 2020
0404362
Install scripts support paths with spaces
gingi Jun 10, 2020
f6f09e0
Merge pull request #2222 from Azure/bugfix/path-spaces
gingi Oct 1, 2020
393b38d
Replace hyphens in the build number with underscores (#2227)
dpwatrous Oct 16, 2020
a92e6a6
Bump electron from 9.2.1 to 9.3.1 (#2224)
dependabot[bot] Oct 16, 2020
6025834
Updated localization CI user (#2228)
dpwatrous Oct 17, 2020
efb2b84
Updated some dependencies with audit fix (#2225)
cRui861 Oct 19, 2020
b14680e
Added delete button to left-hand node list (#2229)
dpwatrous Oct 19, 2020
a7b7dd0
Variable slot pricing - update and fix breaking API changes (#2230)
cRui861 Oct 29, 2020
787f28d
Add telemetry for when a user submits a render gallery operation.
paterasMSFT Nov 22, 2020
53c7ce0
Merge pull request #2233 from Azure/paterasMSFT/gallerytelemetry
paterasMSFT Nov 24, 2020
014a4e7
Bump ini from 1.3.5 to 1.3.7 (#2235)
dependabot[bot] Dec 14, 2020
373fb50
Color Contrast Accessibility Fixes (#2236)
cRui861 Dec 16, 2020
cca008b
Fixed error when refreshing the application
dpwatrous Sep 17, 2020
fe5a26e
Added a compound VSCode launch profile for debugging main & renderer …
dpwatrous Sep 17, 2020
126f4d9
Better logging for errors caught on the main window
dpwatrous Sep 17, 2020
bc3b5fa
Added pyenv's .python-version file to .gitignore
dpwatrous Jan 5, 2021
37b5261
Updated chokidar dependency
dpwatrous Jan 5, 2021
0ef9007
Merge pull request #2237 from Azure/bugfix/macos-freeze
dpwatrous Jan 6, 2021
2a57508
Updated changelog and version. (#2257)
cRui861 Jan 15, 2021
85b0241
Merge branch 'stable' into master
dpwatrous Jan 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# they will be requested for review when someone opens a
# pull request.

* @bgklein @cRui861 @dpwatrous @paterasMSFT @gingi

# Builds
/.vsts/ @bgklein @cRui861 @dpwatrous
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ coverage/
.nyc_output/
coverage.lcov
documentation/
.python-version

# Ignore the english compiled file
i18n/resources.en.json
Expand Down
62 changes: 53 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"name": "Debug: Main",
"type": "node",
"request": "launch",
"protocol": "inspector",
"program": "${workspaceRoot}/src/client/main.ts",
"stopOnEntry": false,
"args": [],
"args": [
"--remote-debugging-port=9222",
"--nolazy"
],
"cwd": "${workspaceRoot}",
"preLaunchTask": "build-client",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
"--remote-debugging-port=9222",
"--nolazy"
],
"env": {
"NODE_ENV": "development",
"HOT": "1"
Expand All @@ -28,17 +27,62 @@
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/build/**/*.js"
]
],
"presentation": {
"hidden": false,
"group": "Debug",
"order": 20
}
},
{
"name": "Attach to Process",
"name": "Attach: Renderer",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"trace": "verbose",
"url": "file://*",
"webRoot": "${workspaceRoot}/build"
"webRoot": "${workspaceRoot}/build",
"timeout": 30000,
"presentation": {
"hidden": false,
"group": "Debug",
"order": 30
}
},
{
"name": "Test: Client",
"type": "node",
"request": "launch",
"protocol": "inspector",
"program": "${workspaceRoot}/test/client/run-jasmine.js",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "node",
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "test"
},
"presentation": {
"hidden": false,
"group": "Test",
"order": 10
}
}
],
"compounds": [
{
"name": "Debug: All",
"configurations": [
"Debug: Main",
"Attach: Renderer"
],
"presentation": {
"hidden": false,
"group": "Debug",
"order": 10
}
}
]
}
5 changes: 4 additions & 1 deletion .vsts/darwin/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
steps:
- template: ./darwin-dependencies.yml
- script: npm run build-and-pack
- script: |
set -e
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
npm run build-and-pack
displayName: Build and pack
- template: ../common/publish-artifacts.yml
parameters:
Expand Down
17 changes: 6 additions & 11 deletions .vsts/darwin/darwin-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
steps:
- template: ../dependencies.yml
- script: npm config set python $(which python)
displayName: Set npm python2 path
- template: ../pyenv.yml
- script: |
set -e
node --version
npm config list
npm install -g npm@latest
npm --version
npm install -g node-gyp node-pre-gyp
npm i --save-dev node@8.15.0
npm install
pip install --upgrade pip
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
python --version
pip install -r python/requirements.txt
displayName: Install dependencies
echo "Node.js version $(node --version)"
echo "NPM version $(npm --version)"
npm ci
displayName: Install MacOS dependencies
4 changes: 4 additions & 0 deletions .vsts/darwin/distribution.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
steps:
- template: ./darwin-dependencies.yml
- script: |
set -e
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
npm run -s build:prod
npm run -s build-python
npm run -s package darwin-app
Expand All @@ -14,6 +16,8 @@ steps:

- template: ./sign.yml
- script: |
set -e
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
unzip ./release/BatchExplorer*.zip -d ./release/mac
ls ./release/mac
rm -f ./release/mac/*.pkg
Expand Down
4 changes: 2 additions & 2 deletions .vsts/dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- powershell: ./scripts/azpipelines/build-type.ps1 "$(Build.SourceBranch)"
- powershell: ./scripts/azpipelines/build-type.ps1 "$(Build.SourceBranch)" "$(Build.BuildNumber)"
displayName: Resolve build type

- task: NodeTool@0
inputs:
versionSpec: '10.11.x'
versionSpec: '12.18.x'
4 changes: 2 additions & 2 deletions .vsts/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
jobs:
- job: Linux
pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-18.04
steps:
- template: ./linux/distribution.yml

- job: MacOS
pool:
vmImage: macOS-10.14
vmImage: macOS-10.15
demands: xcode
steps:
- template: ./darwin/distribution.yml
Expand Down
7 changes: 5 additions & 2 deletions .vsts/linux/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:

- script: |
export DISPLAY=:99
xvfb-run npm run test
xvfb-run --server-args '-screen 0 1024x768x24' npm run test
displayName: Run tests

- task: PublishTestResults@2
Expand All @@ -22,7 +22,10 @@ steps:
- script: codecov -t $(codecov.uploadToken)
displayName: Upload code coverage to codecov

- script: npm run build-and-pack
- script: |
set -e
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
npm run build-and-pack
displayName: Build and pack

- script: npm run lint
Expand Down
10 changes: 8 additions & 2 deletions .vsts/linux/distribution.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
steps:
- template: ./linux-dependencies.yml
- script: npm run build-and-pack
- script: |
set -e
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
npm run build-and-pack
displayName: Build and pack
- script: npm run package linux-manifest
- script: |
set -e
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
npm run package linux-manifest
displayName: Create manifest
- template: ../common/publish-artifacts.yml
parameters:
Expand Down
15 changes: 10 additions & 5 deletions .vsts/linux/linux-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@ steps:
- script: |
set -e
sudo apt-get update
echo "Installing pyenv dependencies (see https://github.com/pyenv/pyenv/wiki/Common-build-problems#prerequisites)"
sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
echo "Installing additional dependencies"
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 libgconf-2-4 dbus xvfb libgtk-3-0 rpm
displayName: Install Linux packages
- template: ../dependencies.yml
- template: ../pyenv.yml
- script: |
set -e
python --version
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
echo "Python version $(python --version)"
pip install -r python/requirements.txt
echo "Node.js version $(node --version)"
echo "NPM version $(npm --version)"
npm install -g codecov
npm install -g npm
npm ci
pip3 install -r python/requirements.txt
displayName: Install dependencies
npm install
displayName: Install Linux dependencies
6 changes: 3 additions & 3 deletions .vsts/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: $(SourceBranch)$(Rev:.r)
jobs:
- job: Linux
pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-18.04
steps:
- template: ./linux/ci.yml

- job: MacOS
pool:
vmImage: macOS-10.14
vmImage: macOS-10.15
demands: xcode
steps:
- template: ./darwin/ci.yml

- job: Windows
pool:
vmImage: vs2017-win2016
vmImage: windows-2019
steps:
- template: ./win/ci.yml

Expand Down
18 changes: 13 additions & 5 deletions .vsts/pyenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@ steps:
- script: |
set -e
export PYENV_ROOT="$(Agent.WorkFolder)/.pyenv"
git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT
mkdir -p "$PYENV_ROOT"
curl -L "https://github.com/pyenv/pyenv/archive/v1.2.20.tar.gz" > "$PYENV_ROOT/pyenv.tar.gz"
echo "5ecd10d3ec502ce9b7d8109fbe8cb2e4a8af8b73ce5c216b8e268452724a65f3 $PYENV_ROOT/pyenv.tar.gz" | shasum -c
tar xzf "$PYENV_ROOT/pyenv.tar.gz" -C "$PYENV_ROOT" --strip-components=1
export PATH="$PYENV_ROOT/bin:$PATH"
pyenv --version
PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.6.6
pyenv global 3.6.6
python --version
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.8.5
pyenv global 3.8.5
eval "$(pyenv init -)"
echo "Setting up Python virtual environment..."
python -m venv "$(Agent.WorkFolder)/.venv/batchexplorer"
. "$(Agent.WorkFolder)/.venv/batchexplorer/bin/activate"
echo "Updating pip..."
pip install --upgrade pip
echo "Path is $PATH"
echo "##vso[task.prependpath]$PYENV_ROOT/bin"
echo "##vso[task.prependpath]$PYENV_ROOT/shims"
displayName: Install python
displayName: Install Python and set up venv
4 changes: 2 additions & 2 deletions .vsts/update-en-loc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pool:
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.8.x'
versionSpec: '12.18.x'

- script: npm ci
displayName: Install dependencies
Expand Down Expand Up @@ -55,6 +55,6 @@ steps:
today=`date +%Y-%m-%d`
git -c user.email=batch-ex@microsoft.com -c user.name='Batch Explorer Automated' commit -am "Updating english translations $today"
git status -s
git push https://timotheeguerin:$(GH_TOKEN)@github.com/Azure/BatchExplorer loc
git push https://dpwatrous:$(GH_TOKEN)@github.com/Azure/BatchExplorer loc
workingDirectory: $(locdir)
displayName: Commit and push changes if any
10 changes: 6 additions & 4 deletions .vsts/win/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ steps:
- powershell: ./scripts/azpipelines/update-build-name.ps1
displayName: Resolve version
- powershell: |
npm run build:prod
npm run build-python
npm run package win-exe
. .vsts/win/exec.ps1
$ErrorActionPreference = "Stop"
exec { npm run build:prod }
exec { npm run build-python }
exec { npm run package win-exe }
displayName: Build executable

- template: ./sign.yml
Expand All @@ -23,7 +25,7 @@ steps:
name: "Sign installer"
pattern: |
**/BatchExplorer*Setup*.exe
- script: npm run package win-manifest
- powershell: npm run package win-manifest
displayName: Create manifest
- template: ../common/publish-artifacts.yml
parameters:
Expand Down
25 changes: 9 additions & 16 deletions .vsts/win/win-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
steps:
- template: ../dependencies.yml
- task: UsePythonVersion@0
inputs:
versionSpec: '2.7.x'
displayName: Install python 2.7 for node-gyp

- powershell: |
$pythonPath = Get-Command python | Select-Object -ExpandProperty Definition
echo "Python2 $pythonPath"
npm config set python $pythonPath
displayName: Configure python2 for node-gyp

- task: UsePythonVersion@0
inputs:
versionSpec: '3.6.x'
displayName: Install python 3.6 for BatchExplorer
versionSpec: '3.8.x'
displayName: Install python 3.8 for BatchExplorer

# KLUDGE: Use `npm i` instead of `npm ci` due to this issue:
# https://github.com/npm/cli/issues/558#issuecomment-580392554
- powershell: |
. .vsts/win/exec.ps1
$ErrorActionPreference = "Stop"
node --version
exec { npm i -g npm }
exec { npm install }
exec { python -m pip install --upgrade pip }
exec { python --version }
exec { pip install -r python/requirements.txt }
displayName: Install dependencies
exec { Write-Host "Node.js version" $(node --version) }
exec { Write-Host "NPM version" $(npm --version) }
exec { npm install --loglevel=error }
displayName: Install Windows dependencies
Loading