Skip to content

Commit 9a9415c

Browse files
committed
1 parent 2a36473 commit 9a9415c

File tree

283 files changed

+133686
-63168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+133686
-63168
lines changed

dmsc-summerschool-2023/CHANGELOG.md

+103-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,113 @@
1-
# 0.1.2
1+
# Changelog
2+
3+
## v1.1 - 2023-07-18
4+
5+
### v1.0...v1.1
6+
7+
([full changelog](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/compare/v1.0...v1.1))
8+
9+
#### Enhancements made
10+
11+
- Add logic to determine if vncserver is TigerVNC [#32](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/32) ([@cmd-ntrf](https://github.com/cmd-ntrf))
12+
13+
#### Bugs fixed
14+
15+
- Fix path when using bundled tigervnc [#44](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/44) ([@pnasrat](https://github.com/pnasrat))
16+
- Remove hardcoded display number and port, avoids multi-user conflicts [#34](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/34) ([@cmd-ntrf](https://github.com/cmd-ntrf))
17+
18+
#### Maintenance and upkeep improvements
19+
20+
- Add RELEASE.md, adopt tbump, rename release workflow for consistency [#38](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/38) ([@consideRatio](https://github.com/consideRatio))
21+
- Remove "/usr/bin" prefix in front of dbus-launch in xstartup [#33](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/33) ([@cmd-ntrf](https://github.com/cmd-ntrf))
22+
- Add logic to determine if vncserver is TigerVNC [#32](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/32) ([@cmd-ntrf](https://github.com/cmd-ntrf))
23+
- dependabot: monthly updates of github actions [#30](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/30) ([@consideRatio](https://github.com/consideRatio))
24+
- maint: add pre-commit config [#25](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/25) ([@consideRatio](https://github.com/consideRatio))
25+
- Quieten binder-badge bot [#3](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/3) ([@manics](https://github.com/manics))
26+
27+
#### Documentation improvements
28+
29+
- Add PyPI/Issues/Forum badges for readme [#40](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/40) ([@consideRatio](https://github.com/consideRatio))
30+
- Backfill changelog for 1.0.0 and 0.1.3 [#37](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/37) ([@consideRatio](https://github.com/consideRatio))
31+
32+
#### Other merged PRs
33+
34+
- Fix permissions required for trusted workflow [#48](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/48) ([@yuvipanda](https://github.com/yuvipanda))
35+
- Use trusted publishing to push to PyPI [#46](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/46) ([@yuvipanda](https://github.com/yuvipanda))
36+
- [pre-commit.ci] pre-commit autoupdate [#42](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/42) ([@pre-commit-ci](https://github.com/pre-commit-ci))
37+
- ci: fix typo in manics/action-binderbadge version [#39](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/39) ([@consideRatio](https://github.com/consideRatio))
38+
- Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 [#36](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/36) ([@dependabot](https://github.com/dependabot))
39+
- Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.8.5 [#31](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/31) ([@dependabot](https://github.com/dependabot))
40+
- [pre-commit.ci] pre-commit autoupdate [#28](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/28) ([@pre-commit-ci](https://github.com/pre-commit-ci))
41+
42+
#### Contributors to this release
43+
44+
([GitHub contributors page for this release](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/graphs/contributors?from=2023-01-19&to=2023-07-18&type=c))
45+
46+
[@cmd-ntrf](https://github.com/search?q=repo%3Ajupyterhub%2Fjupyter-remote-desktop-proxy+involves%3Acmd-ntrf+updated%3A2023-01-19..2023-07-18&type=Issues) | [@consideRatio](https://github.com/search?q=repo%3Ajupyterhub%2Fjupyter-remote-desktop-proxy+involves%3AconsideRatio+updated%3A2023-01-19..2023-07-18&type=Issues) | | [@manics](https://github.com/search?q=repo%3Ajupyterhub%2Fjupyter-remote-desktop-proxy+involves%3Amanics+updated%3A2023-01-19..2023-07-18&type=Issues) | [@pnasrat](https://github.com/search?q=repo%3Ajupyterhub%2Fjupyter-remote-desktop-proxy+involves%3Apnasrat+updated%3A2023-01-19..2023-07-18&type=Issues) | [@yuvipanda](https://github.com/search?q=repo%3Ajupyterhub%2Fjupyter-remote-desktop-proxy+involves%3Ayuvipanda+updated%3A2023-01-19..2023-07-18&type=Issues)
47+
48+
## v1.0.0 - 2023-01-19
49+
50+
With this release, the project has relocated from `jupyter-desktop-server` to
51+
`jupyter-remote-desktop-proxy` and relocated from
52+
[yuvipanda/jupyter-desktop-server](https://github.com/yuvipanda/jupyter-desktop-server) to
53+
[jupyterhub/jupyter-remote-desktop-proxy](https://github.com/jupyterhub/jupyter-remote-desktop-proxy).
54+
55+
### New features added
56+
57+
- Add a shared clipboard [#10](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/10) ([@manics](https://github.com/manics), [@yuvipanda](https://github.com/yuvipanda), [@satra](https://github.com/satra), [@fperez](https://github.com/fperez))
58+
59+
### Enhancements made
60+
61+
- Use TurboVNC if installed [#29 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/29) ([@manics](https://github.com/manics), [@yuvipanda](https://github.com/yuvipanda), [@cslocum](https://github.com/cslocum))
62+
63+
### Maintenance and upkeep improvements
64+
65+
- maint: add dependabot for github actions [#22](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/22) ([@consideRatio](https://github.com/consideRatio), [@yuvipanda](https://github.com/yuvipanda))
66+
- Complete rename of the project - from jupyter_desktop/jupyter-desktop-server to jupyter_remote_desktop_proxy [#20](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/20) ([@yuvipanda](https://github.com/yuvipanda), [@consideRatio](https://github.com/consideRatio))
67+
- Remove apt.txt and refactor Dockerfile [#13](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/13) ([@consideRatio](https://github.com/consideRatio), [@yuvipanda](https://github.com/yuvipanda), [@manics](https://github.com/manics))
68+
- Update TurboVNC to 2.2.6 [#11](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/11) ([@manics](https://github.com/manics), [@consideRatio](https://github.com/consideRatio))
69+
- Update noVNC to 1.2.0 [#6](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/6) ([@manics](https://github.com/manics))
70+
- Add setup.py metadata [#5](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/5) ([@manics](https://github.com/manics), [@yuvipanda](https://github.com/yuvipanda))
71+
- Add pypi publish workflow [#4](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/4) ([@manics](https://github.com/manics))
72+
- Rename repo jupyter-desktop-server ➡️ jupyter-remote-desktop-proxy [#2](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/2) ([@manics](https://github.com/manics), [@choldgraf](https://github.com/choldgraf))
73+
- Fix permissions on ~/.cache [#22 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/22) ([@manics](https://github.com/manics), [@yuvipanda](https://github.com/yuvipanda), [@djangoliv](https://github.com/djangoliv), [@nthiery](https://github.com/nthiery))
74+
- Use conda-forge/websockify, use environment.yml in Dockerfile [#21 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/21) ([@manics](https://github.com/manics), [@yuvipanda](https://github.com/yuvipanda))
75+
76+
### Documentation improvements
77+
78+
- Fix typo [#24](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/24) ([@yuvipanda](https://github.com/yuvipanda), [@consideRatio](https://github.com/consideRatio))
79+
- Add installation instructions [#21](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/21) ([@yuvipanda](https://github.com/yuvipanda), [@consideRatio](https://github.com/consideRatio))
80+
- Add a section on limitations - OpenGL is currently not supported [#19](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/19) ([@yuvipanda](https://github.com/yuvipanda), [@consideRatio](https://github.com/consideRatio))
81+
82+
### Continuous integration improvements
83+
84+
- ci: update outdated github actions [#23](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/23) ([@consideRatio](https://github.com/consideRatio), [@yuvipanda](https://github.com/yuvipanda))
85+
- binder-badge workflow needs permissions.pull-requests:write [#9](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/9) ([@manics](https://github.com/manics))
86+
- binder-badge workflow needs permissions.issues:write [#8](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/8) ([@manics](https://github.com/manics))
87+
- Add binder-badge.yaml [#23 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/23) ([@manics](https://github.com/manics), [@yuvipanda](https://github.com/yuvipanda))
88+
89+
## v0.1.3 - 2020-07-07
90+
91+
- add Dockerfile and adjust readme to reflect a quick start [#19 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/19) ([@kniec](https://github.com/kniec), [@yuvipanda](https://github.com/yuvipanda))
92+
- Start session from $HOME [#17 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/17) ([@mjuric](https://github.com/mjuric), [@yuvipanda](https://github.com/yuvipanda))
93+
- add Dockerfile and adjust readme to reflect a quick start [#19 (in previous github repo)](https://github.com/yuvipanda/jupyter-desktop-server/pull/19) ([@kniec](https://github.com/kniec), [@yuvipanda](https://github.com/yuvipanda))
94+
- Support jupyter-server-proxy >= 1.4.0 [daecbdb](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/commit/daecbdb) ([@yuvipanda](https://github.com/yuvipanda))
95+
- Revert "Add a jupyter server extension to render desktop/" [b6dee24](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/commit/b6dee24) ([@yuvipanda](https://github.com/yuvipanda))
96+
- Add a jupyter server extension to render desktop/ [18d7fb7](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/commit/18d7fb7) ([@yuvipanda](https://github.com/yuvipanda))
97+
- Fix README to point to new name [bda9a7e](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/commit/bda9a7e) ([@yuvipanda](https://github.com/yuvipanda))
98+
- Explicitly specify version of jupyter-server-proxy needed [98b7723](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/commit/98b7723) ([@yuvipanda](https://github.com/yuvipanda))
99+
- Set CWD of desktop environment to CWD of notebook [360f9b0](https://github.com/jupyterhub/jupyter-remote-desktop-proxy/commit/360f9b0) ([@yuvipanda](https://github.com/yuvipanda))
100+
101+
## v0.1.2 - 2019-11-12
2102

3103
- Fix cross-origin issue in Safari (#9, thanks to @eslavich)
4104

5-
# 0.1.1
105+
## v0.1.1 - 2019-11-06
6106

7107
- Increase default resolution to 1680x1050. The wider screen
8108
matches how many user displays are, and there do not seem to
9109
be lag issues.
10110

11-
# 0.1
111+
## v0.1 - 2019-11-01
12112

13113
- Initial release

dmsc-summerschool-2023/Dockerfile

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
FROM jupyter/base-notebook:4d70cf8da953
1+
FROM docker.io/jupyter/base-notebook:4d70cf8da953
22

33

44
USER root
55

6-
# get McCode debian packages: release release 3.3
7-
RUN wget http://packages.mccode.org/debian/dists/stable/main/binary-amd64/mcstas-3.3-deb64.deb \
6+
# update/upgrade and get McCode debian packages: release release 3.3
7+
RUN apt-get -y -q update \
8+
&& apt-get -y -q upgrade \
9+
&& wget http://packages.mccode.org/debian/dists/stable/main/binary-amd64/mcstas-3.3-deb64.deb \
810
&& wget http://packages.mccode.org/debian/dists/stable/main/binary-amd64/mcstas-comps-3.3-deb64.deb \
911
&& wget http://packages.mccode.org/debian/dists/stable/main/binary-amd64/mcstas-manuals-3.3-deb64.deb \
1012
&& wget http://packages.mccode.org/debian/dists/stable/main/binary-amd64/mcstas-tools-matlab-mcplot-3.3-deb64.deb \
@@ -50,12 +52,14 @@ RUN wget http://packages.mccode.org/debian/dists/stable/main/binary-amd64/mcsta
5052
RUN apt install -y ./*.deb && rm *.deb && ln -s /opt/conda /usr/share/mcstas/3.3/miniconda3
5153

5254

53-
# Remove light-locker to prevent screen lock
54-
RUN wget 'https://sourceforge.net/projects/turbovnc/files/2.2.5/turbovnc_2.2.5_amd64.deb/download' -O turbovnc_2.2.5_amd64.deb && \
55-
apt-get install -y -q ./turbovnc_2.2.5_amd64.deb && \
56-
apt-get remove -y -q light-locker xfce4-screensaver && \
57-
rm ./turbovnc_2.2.5_amd64.deb && \
58-
ln -s /opt/TurboVNC/bin/* /usr/local/bin/
55+
# Install TurboVNC (https://github.com/TurboVNC/turbovnc)
56+
ARG TURBOVNC_VERSION=2.2.6
57+
RUN wget -q "https://sourceforge.net/projects/turbovnc/files/${TURBOVNC_VERSION}/turbovnc_${TURBOVNC_VERSION}_amd64.deb/download" -O turbovnc.deb \
58+
&& apt-get install -y -q ./turbovnc.deb \
59+
# remove light-locker to prevent screen lock
60+
&& apt-get remove -y -q light-locker xfce4-screensaver \
61+
&& rm ./turbovnc.deb \
62+
&& ln -s /opt/TurboVNC/bin/* /usr/local/bin/
5963

6064
# apt-get may result in root-owned directories/files under $HOME
6165
RUN chown -R $NB_UID:$NB_GID $HOME

dmsc-summerschool-2023/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2626
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2727
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2828
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

dmsc-summerschool-2023/MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
graft jupyter_desktop/share
1+
graft jupyter_remote_desktop_proxy/share

dmsc-summerschool-2023/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ Container with software packages for use in the course https://indico.esss.lu.se
55
([JupyterLab](https://jupyter.org), [scipp](https://scipp.github.io),
66
[NeXus format](https://www.nexusformat.org), [McStas](https://mcstas.org) and more)
77

8-
**Currrent revision: 1.3** (built 20230817)
8+
**Currrent revision: 1.4** (built 20230818)
99

1010
This Docker recipe can be used to build the supporting container, e.g.
1111

1212
Build via e.g.
1313
```
14-
podman build . --format=docker -t docker.io/mccode/dmsc-summerschool:1.3
14+
podman build . --format=docker -t docker.io/mccode/dmsc-summerschool:1.4
1515
```
1616
Will be (manually) uploaded to DockerHub by Peter on changes.
1717

1818
Run via e.g.
1919
```
20-
podman run -p8888:8888 docker.io/mccode/dmsc-summerschool:1.3
20+
podman run -p8888:8888 docker.io/mccode/dmsc-summerschool:1.4
2121
```
2222

2323
## Credits

dmsc-summerschool-2023/RELEASE.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# How to make a release
2+
3+
`jupyter-remote-desktop-proxy` is a package available on [PyPI].
4+
5+
These are the instructions on how to make a release.
6+
7+
## Pre-requisites
8+
9+
- Push rights to this GitHub repository
10+
11+
## Steps to make a release
12+
13+
1. Create a PR updating `CHANGELOG.md` with [github-activity] and continue when
14+
its merged.
15+
16+
Advice on this procedure can be found in [this team compass
17+
issue](https://github.com/jupyterhub/team-compass/issues/563).
18+
19+
2. Checkout main and make sure it is up to date.
20+
21+
```shell
22+
git checkout main
23+
git fetch origin main
24+
git reset --hard origin/main
25+
```
26+
27+
3. Update the version, make commits, and push a git tag with `tbump`.
28+
29+
```shell
30+
pip install tbump
31+
```
32+
33+
`tbump` will ask for confirmation before doing anything.
34+
35+
```shell
36+
# Example versions to set: 1.0.0, 1.0.0b1
37+
VERSION=
38+
tbump ${VERSION}
39+
```
40+
41+
Following this, the [CI system] will build and publish a release.
42+
43+
4. Reset the version back to dev, e.g. `1.0.1.dev` after releasing `1.0.0`.
44+
45+
```shell
46+
# Example version to set: 1.0.1.dev
47+
NEXT_VERSION=
48+
tbump --no-tag ${NEXT_VERSION}.dev
49+
```
50+
51+
[github-activity]: https://github.com/executablebooks/github-activity
52+
[pypi]: https://pypi.org/project/jupyter-remote-desktop-proxy/
53+
[ci system]: https://github.com/jupyterhub/jupyter-remote-desktop-proxy/actions/workflows/release.yaml

dmsc-summerschool-2023/apt.txt

-8
This file was deleted.

dmsc-summerschool-2023/jupyter_desktop/__init__.py

-54
This file was deleted.

dmsc-summerschool-2023/jupyter_desktop/share/web/noVNC-1.1.0/.travis.yml

-58
This file was deleted.

dmsc-summerschool-2023/jupyter_desktop/share/web/noVNC-1.1.0/VERSION

-1
This file was deleted.

0 commit comments

Comments
 (0)