From c8a5c1e0243a2c06780b8ee13cb9dd109dbc533e Mon Sep 17 00:00:00 2001 From: Edward Jho-nse <91560320+unique-EJ@users.noreply.github.com> Date: Sun, 23 Feb 2025 10:12:05 +0000 Subject: [PATCH 1/3] =?UTF-8?q?Update=20README.rst=20-=20needs=20a=20backs?= =?UTF-8?q?lash=20code=20escape=20=F0=9F=98=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 85d60ef..2cb167f 100644 --- a/README.rst +++ b/README.rst @@ -86,7 +86,7 @@ Find ``sudo`` and add your username to the end of the line. 3. Add ``~/.subuser/bin`` to your path by adding the line ``PATH=$HOME/.subuser/bin:$PATH`` to the end of your ``.bashrc`` file. - $ echo -n -e '\nPATH=$HOME/.subuser/bin:$PATH' >> ~/.bashrc + $ echo -n -e '\\nPATH=$HOME/.subuser/bin:$PATH' >> ~/.bashrc 4. Log out and then back in again. @@ -106,7 +106,7 @@ Install from git: Development version 3. Add ``subuser/logic`` and ``~/.subuser/bin`` to your path by adding the line ``PATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH`` to the end of your ``.bashrc`` file. - $ echo -n -e '\nPATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH' >> ~/.bashrc + $ echo -n -e '\\nPATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH' >> ~/.bashrc .. note:: You will need to change the path to ``subuser/logic`` to refer to the location to which you downloaded subuser. From 379b45174a9d0ec775002f5674bd5e7bf315c807 Mon Sep 17 00:00:00 2001 From: Edward Jho-nse <91560320+unique-EJ@users.noreply.github.com> Date: Sun, 23 Feb 2025 10:45:47 +0000 Subject: [PATCH 2/3] Update README.rst - literal code blocks and reStructuredText indentations --- README.rst | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/README.rst b/README.rst index 2cb167f..489247d 100644 --- a/README.rst +++ b/README.rst @@ -65,28 +65,32 @@ OS Requirements * OSX with docker for desktop: Limited support - * `inherit-timezone` is ignored - * xpra (graphical apps) doesnt work - * Probaly other issues + * ``inherit-timezone`` is ignored + * xpra (graphical apps) doesn't work + * Probably other issues Install with pip3: Stable version -------------------------------- -1. Add yourself to the sudo group (or the docker group). +1. Add yourself to the ``sudo`` group (or the ``docker`` group). -:: + :: - $ sudo nano /etc/group + $ sudo nano /etc/group -Find ``sudo`` and add your username to the end of the line. + Find ``sudo`` and add your username to the end of the line. 2. Install subuser from pip3. In a virtual environment if Python 3 is managed by Debian/Ubuntu distribution packaging. - $ sudo pip3 install subuser + :: + + $ sudo pip3 install subuser 3. Add ``~/.subuser/bin`` to your path by adding the line ``PATH=$HOME/.subuser/bin:$PATH`` to the end of your ``.bashrc`` file. - $ echo -n -e '\\nPATH=$HOME/.subuser/bin:$PATH' >> ~/.bashrc + :: + + $ echo -n -e '\nPATH=$HOME/.subuser/bin:$PATH' >> ~/.bashrc 4. Log out and then back in again. @@ -95,23 +99,23 @@ Find ``sudo`` and add your username to the end of the line. Install from git: Development version ------------------------------------- -1. Add yourself to the `sudo` group (this is not necesary if you are already a member of the docker group). +1. Add yourself to the ``sudo`` group (this is not necessary if you are already a member of the ``docker`` group). -2. Download the subuser repository +2. Download the subuser repository:: - :: - - $ cd - $ git clone https://github.com/subuser-security/subuser + $ cd + $ git clone https://github.com/subuser-security/subuser 3. Add ``subuser/logic`` and ``~/.subuser/bin`` to your path by adding the line ``PATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH`` to the end of your ``.bashrc`` file. - $ echo -n -e '\\nPATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH' >> ~/.bashrc + :: + + $ echo -n -e '\nPATH=$HOME/subuser/logic:$HOME/.subuser/bin:$PATH' >> ~/.bashrc -.. note:: You will need to change the path to ``subuser/logic`` to refer to the location to which you downloaded subuser. + .. note:: You will need to change the path to ``subuser/logic`` to refer to the location to which you downloaded subuser. 4. Log out and then back in again. 5. Done! -To learn more and read the full manual please visit `subuser.org `_ +To learn more and read the full manual please visit `subuser.org `_. From 52e9fa6b44aefe3b919e5ac0aa8cc63dfab4fc9b Mon Sep 17 00:00:00 2001 From: Edward Jho-nse <91560320+unique-EJ@users.noreply.github.com> Date: Sun, 23 Feb 2025 10:49:27 +0000 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5967fd4..48c5e88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Test run: | - python setup.py bdist_wheel \ No newline at end of file + python setup.py bdist_wheel