Skip to content

Commit

Permalink
Make released artifacts smaller (QuantStack#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl authored Nov 7, 2022
1 parent 2ad777a commit 5442918
Show file tree
Hide file tree
Showing 98 changed files with 2,308 additions and 1,138 deletions.
2 changes: 1 addition & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ dependencies:

- docutils >=0.18.1
- jupyter-server-mathjax
- jupyterlab-myst
- myst-nb
- pkginfo
- pydata-sphinx-theme >=0.10.1,<0.11.0
Expand Down Expand Up @@ -100,7 +101,6 @@ dependencies:
# unit testing
- pytest
- pytest-console-scripts
- pytest-cov
- pytest-html
- pytest-tornasync
- pytest-xdist
Expand Down
26 changes: 21 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
- Operating System and version:
- Browser and version:
- JupyterLab version:
- ipydrawio version(s):
- `ipydrawio-*` version(s):

<details><summary>Required: installed server extensions</summary>
<pre>
Expand Down Expand Up @@ -74,10 +74,26 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
<pre>
Paste the output from your browser JavaScript console replacing the text in here.

To learn how to open the developer tools in your browser:
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools#How_to_open_the_devtools_in_your_browser
If too many messages accumulated after many hours of working in JupyterLab,
consider refreshing the window and then reproducing the bug to reduce the noise in the logs.
To learn how to open the developer tools in your browser:
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools#How_to_open_the_devtools_in_your_browser
If too many messages accumulated after many hours of working in JupyterLab, consider
refreshing the window and then reproducing the bug to reduce the noise in the logs.

</pre>
</details>

<!--
# Copyright 2022 ipydrawio contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,19 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
## How the project might keep the docs accurate...

<!--Describe how this documentation can be kept up-to-date: testing, link checking, etc. -->

<!--
# Copyright 2022 ipydrawio contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,21 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
## Design Ideas

<!-- Share any kind of design ideas (e.g. ASCII art, links, screenshots) that might help us understand -->

<!--
# Copyright 2022 ipydrawio contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->

s
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Release
about: Prepare for a release
labels: maintenance
---

- [ ] merge all outstanding PRs
- [ ] ensure the versions have been bumped (check with `doit test:integrity`)
- [ ] ensure the CHANGELOG is up-to-date
- [ ] move the new release to the top of the stack
- [ ] validate on binder
- [ ] validate on ReadTheDocs
- [ ] wait for a successful build of `master`
- [ ] download the `dist` archive and unpack somewhere (maybe a fresh `dist`)
- [ ] create a new release through the GitHub UI
- [ ] paste in the relevant CHANGELOG entries
- [ ] upload the artifacts
- [ ] actually upload to npm.com, pypi.org
```bash
cd dist
twine upload *.tar.gz *.whl
npm login
npm publish deathbeds-*-$VERSION.tgz
npm logout
```
- [ ] postmortem
- [ ] handle `conda-forge` feedstock tasks
- [ ] validate on binder via simplest-possible gists
- [ ] bump to next development version
- [ ] bump the `CACHE_EPOCH`
- [ ] rebuild `yarn.lock`
- [ ] update release procedures with lessons learned

<!--
# Copyright 2022 ipydrawio contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->
1 change: 0 additions & 1 deletion .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ dependencies:
# unit testing
- pytest
- pytest-console-scripts
- pytest-cov
- pytest-html
- pytest-tornasync
- pytest-xdist
Expand Down
Loading

0 comments on commit 5442918

Please sign in to comment.