Skip to content

Commit

Permalink
Release 0.10.0 (#919)
Browse files Browse the repository at this point in the history
* getting things ready for the relese

* change to 3rd party script, changelog

* Fix
  • Loading branch information
ascobie authored and timotheeguerin committed Nov 29, 2017
1 parent ed44148 commit 40c1680
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 97 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# 0.10.0
[All items](https://github.com/Azure/BatchLabs/milestone/11?closed=1)

### Feature:

* Move breadcrumb in the header [\#906](https://github.com/Azure/BatchLabs/issues/906)
* Create Pool/Job/Task monaco json editor intellisense [\#888](https://github.com/Azure/BatchLabs/issues/888)
* Log viewer should switch to monaco editor [\#882](https://github.com/Azure/BatchLabs/issues/882)
* Pause notification dismiss timeout when hovering the notification [\#879](https://github.com/Azure/BatchLabs/issues/879)
* Allow to pick expiry time for user when connecting to a node [\#878](https://github.com/Azure/BatchLabs/issues/878)
* Node files display message when node is not available [\#876](https://github.com/Azure/BatchLabs/issues/876)
* Move from Codemirror to Monaco editor [\#870](https://github.com/Azure/BatchLabs/issues/870)
* Make notification stay longer on the screen [\#848](https://github.com/Azure/BatchLabs/issues/848)
* Ability to write json payload in the create forms and submit instead of UI [\#844](https://github.com/Azure/BatchLabs/issues/844)
* Allow users to create empty file groups [\#826](https://github.com/Azure/BatchLabs/issues/826)

### Bug:

* Data upload in file group is not working [\#912](https://github.com/Azure/BatchLabs/issues/912)
* Create empty file-group doesn't validate container name [\#905](https://github.com/Azure/BatchLabs/issues/905)
* CSS for "forms in progress" needs updating and fonts made readable and consistent [\#904](https://github.com/Azure/BatchLabs/issues/904)
* Switching fast between pools crash UI [\#898](https://github.com/Azure/BatchLabs/issues/898)
* CSS bug when too many files in task outputs file explorer [\#893](https://github.com/Azure/BatchLabs/issues/893)
* Account quota not updating when refreshing [\#885](https://github.com/Azure/BatchLabs/issues/885)
* Missing SKU details about Linux N series VM [\#872](https://github.com/Azure/BatchLabs/issues/872)

### Other:

* Prepare release 0.10.0 [\#915](https://github.com/Azure/BatchLabs/issues/915)
* Useragent should include OS [\#895](https://github.com/Azure/BatchLabs/issues/895)
* Should we integrate Application Insights into Batch Labs? [\#824](https://github.com/Azure/BatchLabs/issues/824)
* Refactor rx-list-proxy to a new system [\#814](https://github.com/Azure/BatchLabs/issues/814)
* Suggest using iconography instead of a label for the breadcrumb bar [\#696](https://github.com/Azure/BatchLabs/issues/696)
* Ability to pin Jobs, Tasks, or Pools. [\#456](https://github.com/Azure/BatchLabs/issues/456)
* Add typing to RxProxy options [\#204](https://github.com/Azure/BatchLabs/issues/204)
* Perf counter support [\#112](https://github.com/Azure/BatchLabs/issues/112)

# 0.9.0
[All items](https://github.com/Azure/BatchLabs/milestone/10?closed=1)

Expand Down
198 changes: 112 additions & 86 deletions ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@ Microsoft reserves all other rights not expressly granted under this agreement,
9. @angular/platform-browser(https://github.com/angular/angular) - MIT
10. @angular/platform-browser-dynamic(https://github.com/angular/angular) - MIT
11. @angular/router(https://github.com/angular/angular/tree/master/packages/router) - MIT
12. @angular/tsc-wrapped(https://github.com/angular/angular/blob/master/tools/@angular/tsc-wrapped) - MIT
13. @tweenjs/tween.js(https://github.com/tweenjs/tween.js) - MIT
14. @types/node-fetch(https://github.com/DefinitelyTyped/DefinitelyTyped) - MIT
15. azure-batch-js(http://github.com/azure/azure-sdk-for-javascript) - MIT
16. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
17. bunyan(https://github.com/trentm/node-bunyan) - MIT
18. chart.js(http://www.chartjs.org) - MIT
19. codemirror(http://codemirror.net) - MIT
20. core-decorators(https://github.com/jayphelps/core-decorators.js) - MIT
21. d3(https://d3js.org) - BSD-3-Clause
22. download(https://github.com/kevva/download) - MIT
23. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
24. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
25. extract-zip(https://github.com/maxogden/extract-zip) - BSD-2-Clause
26. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
27. hammerjs(http://hammerjs.github.io/) - MIT
28. immutable(https://facebook.github.com/immutable-js) - BSD-3-Clause
29. inflection(https://github.com/dreamerslab/node.inflection) - MIT
30. mkdirp(https://github.com/substack/node-mkdirp) - MIT
31. moment(http://momentjs.com) - MIT
32. moment-duration-format(https://github.com/jsmreese/moment-duration-format) - MIT
33. mousetrap(https://github.com/ccampbell/mousetrap) - Apache-2.0
34. ms-rest-js(https://github.com/Azure/ms-rest-js) - MIT
35. node-fetch(https://github.com/bitinn/node-fetch) - MIT
36. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
37. roboto-fontface(https://github.com/choffmeister/roboto-fontface-bower) - Apache-2.0
38. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
39. strip-json-comments(https://github.com/sindresorhus/strip-json-comments) - MIT
12. @tweenjs/tween.js(https://github.com/tweenjs/tween.js) - MIT
13. @types/node-fetch(https://github.com/DefinitelyTyped/DefinitelyTyped) - MIT
14. azure-batch-js(http://github.com/azure/azure-sdk-for-javascript) - MIT
15. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
16. bunyan(https://github.com/trentm/node-bunyan) - MIT
17. chart.js(http://www.chartjs.org) - MIT
18. core-decorators(https://github.com/jayphelps/core-decorators.js) - MIT
19. d3(https://d3js.org) - BSD-3-Clause
20. download(https://github.com/kevva/download) - MIT
21. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
22. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
23. extract-zip(https://github.com/maxogden/extract-zip) - BSD-2-Clause
24. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
25. hammerjs(http://hammerjs.github.io/) - MIT
26. immutable(https://facebook.github.com/immutable-js) - MIT
27. inflection(https://github.com/dreamerslab/node.inflection) - MIT
28. mkdirp(https://github.com/substack/node-mkdirp) - MIT
29. moment(http://momentjs.com) - MIT
30. moment-duration-format(https://github.com/jsmreese/moment-duration-format) - MIT
31. monaco-editor(https://github.com/Microsoft/monaco-editor) - MIT
32. mousetrap(https://github.com/ccampbell/mousetrap) - Apache-2.0
33. ms-rest-js(https://github.com/Azure/ms-rest-js) - MIT
34. node-fetch(https://github.com/bitinn/node-fetch) - MIT
35. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
36. roboto-fontface(https://github.com/choffmeister/roboto-fontface-bower) - Apache-2.0
37. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
38. strip-json-comments(https://github.com/sindresorhus/strip-json-comments) - MIT
39. write-file-webpack-plugin(https://github.com/gajus/write-file-webpack-plugin) - BSD-3-Clause
40. zone.js(https://github.com/angular/zone.js) - MIT
41. websockets(https://github.com/aaugustin/websockets) - BSD-3-Clause
42. azure-batch-cli-extensions(https://github.com/Azure/azure-batch-cli-extensions) - MIT
Expand Down Expand Up @@ -401,35 +401,6 @@ THE SOFTWARE.
End license for @angular/router
============================================================

============================================================
Start license for @angular/tsc-wrapped
------------------------------------------------------------
The MIT License

Copyright (c) 2014-2017 Google, Inc. http://angular.io

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

------------------------------------------------------------
End license for @angular/tsc-wrapped
============================================================

============================================================
Start license for @tweenjs/tween.js
------------------------------------------------------------
Expand Down Expand Up @@ -712,35 +683,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
End license for chart.js
============================================================

============================================================
Start license for codemirror
------------------------------------------------------------
MIT License

Copyright (C) 2017 by Marijn Haverbeke <marijnh@gmail.com> and others

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

------------------------------------------------------------
End license for codemirror
============================================================

============================================================
Start license for core-decorators
------------------------------------------------------------
Expand Down Expand Up @@ -1121,6 +1063,35 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
End license for moment-duration-format
============================================================

============================================================
Start license for monaco-editor
------------------------------------------------------------
The MIT License (MIT)

Copyright (c) 2017 Microsoft Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

------------------------------------------------------------
End license for monaco-editor
============================================================

============================================================
Start license for mousetrap
------------------------------------------------------------
Expand Down Expand Up @@ -1861,6 +1832,38 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
End license for strip-json-comments
============================================================

============================================================
Start license for write-file-webpack-plugin
------------------------------------------------------------
Copyright (c) 2016, Gajus Kuizinas (http://gajus.com/)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the Gajus Kuizinas (http://gajus.com/) nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL ANUARY BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

------------------------------------------------------------
End license for write-file-webpack-plugin
============================================================

============================================================
Start license for zone.js
------------------------------------------------------------
Expand Down Expand Up @@ -2000,6 +2003,29 @@ maintained libraries.

The externally maintained libraries used by Node.js are:

- Acorn, located at deps/acorn, is licensed as follows:
"""
Copyright (C) 2012-2017 by various contributors (see AUTHORS)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""

- c-ares, located at deps/cares, is licensed as follows:
"""
Copyright (c) 2007 - 2016, Daniel Stenberg with many contributors, see AUTHORS
Expand Down
39 changes: 30 additions & 9 deletions docs/new-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ Create a new issue in the millestone with the title `Prepare version x.y.z` and
```md
- [ ] Update version in package.json
- [ ] Update changelog
- [ ] Update third party notices if needed `npm run ts scripts/lca/generate-third-party`
- [ ] Update third party notices if needed
- [ ] Double check the prod build is working
```

This will help with tracking the required task for a new release.

## Step 2: Perform above task

Create a branch called release/prepare-<milestone>, i.e. release/prepare-0.10.0

#### Update version in package.json

This is quite straightforward. Just change the following line to have the version wanted
Expand All @@ -41,13 +43,31 @@ Example:
* Added this awesome thing in the pool details [\#123](https://github.com/Azure/BatchLabs/issues/123)
```

**Note:** There is now a utility to generate the change log for a millestone also so you don't have to write it manually.
[https://www.npmjs.com/package/github-changelog-gen](https://www.npmjs.com/package/github-changelog-gen)


#### Update third party notices
Running the following command will update any required third party notices.
```
npm run ts scripts/lca/generate-third-party
```

You might see an error like:
```
const value = match[1];
^
TypeError: Cannot read property '1' of null
```

This probably means that a dependancy in package.json has a differnt format to what we are expecting.

#### Double check the prod build is working

Travis should check on master that the build itself it not failing. However there could still be runtime errors that happens.
Do the following and test the application.
```
npm run build:prod
npm run electron:prod
npm run build-and-pack
```


Expand All @@ -63,9 +83,10 @@ Then click on merge commit(Make sure it is not squash merge)
All the commits in master should now be in stable with the merge commit.
Now disable the "Allow merge commit" again to prevent mistake when merging to master.

## Step 5: Create a new github release

* Go to github [release](https://github.com/Azure/BatchLabs/releases).
* Click "Draft a new release".
* Enter the version number in the tag and title
* Copy the changelog(only for the version) in the description
## Step 5: Publish the release
* Wait for the CI to test and build stable branch [Travis](https://travis-ci.org/Azure/BatchLabs/branches)
* Go to github [release](https://github.com/Azure/BatchLabs/releases).
* You should see a new draft release with the new version
* Double check every platform executable and installer is present(exe, app, zip, dmg, deb, rpm)
* Copy the changelog(only for the version) in the description
* Click publish release(Mark as pre-release for now)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "Microsoft Corporation",
"email": "tiguerin@microsoft.com"
},
"version": "0.9.0",
"version": "0.10.0",
"main": "build/client/main.prod.js",
"scripts": {
"ts": "ts-node --project tsconfig.node.json",
Expand Down
2 changes: 1 addition & 1 deletion scripts/lca/generate-third-party.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const defaultThirdPartyNoticeOptions: ThirdPartyNoticeOptions = {
const thirdPartyNoticeFile = path.join(Constants.root, "ThirdPartyNotices.txt");

const output = [];
const gitUrlRegex = /(?:git|ssh|https?|git@[-\w.]+):(\/\/[-\w.]+\/)?(.*?)(\.git)(\/?|\#[-\d\w._]+?)$/;
const gitUrlRegex = /(?:git|ssh|https?|git@[-\w.]+):(\/\/[-\w.]+\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$/;
const repoNameRegex = /https?:\/\/github\.com\/(.*)/;
const innerSeparator = "-".repeat(60);
const outerSeparator = "=".repeat(60);
Expand Down

0 comments on commit 40c1680

Please sign in to comment.