From bdeaa2bdaeaeb35159834ef83c33595525f89320 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Fri, 5 Jan 2024 19:44:04 +0800 Subject: [PATCH 1/2] chore: rename all references to the repo to "noports" --- CONTRIBUTING.md | 6 +++--- README.md | 2 +- packages/noports_core/README.md | 6 +++--- packages/python/sshnpd/pyproject.toml | 2 +- packages/sshnoports/README.md | 6 +++--- scripts/install_sshnp | 2 +- scripts/install_sshnpd | 2 +- tests/end2end_tests/image/Dockerfile | 6 +++--- tools/local-e2e-test/README.md | 2 +- tools/manual-docker/README.md | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb2eb76d7..76a0d302d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,13 +35,13 @@ if you don't already have Dart (or Flutter) installed. To prepare your dedicated GitHub repository: -1. Fork in GitHub https://github.com/atsign-foundation/sshnoports +1. Fork in GitHub https://github.com/atsign-foundation/noports 2. Clone *your forked repository* (e.g., `git clone git@github.com:yourname/sshnoports`) 3. Set your remotes as follows: ```sh cd sshnoports - git remote add upstream git@github.com:atsign-foundation/sshnoports.git + git remote add upstream git@github.com:atsign-foundation/noports.git git remote set-url upstream --push DISABLED ``` @@ -50,7 +50,7 @@ To prepare your dedicated GitHub repository: ```text origin git@github.com:yourname/sshnoports.git (fetch) origin git@github.com:yourname/sshnoports.git (push) - upstream git@github.com:atsign-foundation/sshnoports.git (fetch) + upstream git@github.com:atsign-foundation/noports.git (fetch) upstream DISABLED (push) ``` diff --git a/README.md b/README.md index b888ca400..8b14f0faa 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ The Atsign FoundationThe Atsign Foundation [![GitHub License](https://img.shields.io/badge/license-BSD3-blue.svg)](./LICENSE) -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/sshnoports/badge)](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/sshnoports) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/noports/badge)](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/noports) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8102/badge)](https://www.bestpractices.dev/projects/8102) # noports diff --git a/packages/noports_core/README.md b/packages/noports_core/README.md index 04375e9d4..71026b2b9 100644 --- a/packages/noports_core/README.md +++ b/packages/noports_core/README.md @@ -1,7 +1,7 @@ The atPlatform logo [![GitHub License](https://img.shields.io/badge/license-BSD3-blue.svg)](./LICENSE) -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/sshnoports/badge)](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/sshnoports) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/noports/badge)](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/noports) # No Ports Core @@ -11,11 +11,11 @@ No Ports Core is the underlying library used to enable sshnoports and the rest o ### CLI Example -See the [sshnoports](https://github.com/atsign-foundation/sshnoports/tree/trunk/packages/sshnoports) project. +See the [sshnoports](https://github.com/atsign-foundation/noports/tree/trunk/packages/sshnoports) project. ### Flutter Example -See the [sshnp_gui](https://github.com/atsign-foundation/sshnoports/tree/trunk/packages/sshnp_gui) project. +See the [sshnp_gui](https://github.com/atsign-foundation/noports/tree/trunk/packages/sshnp_gui) project. ## Maintainers diff --git a/packages/python/sshnpd/pyproject.toml b/packages/python/sshnpd/pyproject.toml index 64371152c..8357c0372 100644 --- a/packages/python/sshnpd/pyproject.toml +++ b/packages/python/sshnpd/pyproject.toml @@ -5,7 +5,7 @@ description = "Python implementation of SSH No Ports daemon" authors = ["Xavier Lin "] maintainers = ["Chris Swan "] readme = "README.md" -homepage = "https://github.com/atsign-foundation/sshnoports" +homepage = "https://github.com/atsign-foundation/noports" [tool.poetry.scripts] sshnpd = 'sshnpd:main' diff --git a/packages/sshnoports/README.md b/packages/sshnoports/README.md index ee0bdf317..dd875a619 100644 --- a/packages/sshnoports/README.md +++ b/packages/sshnoports/README.md @@ -1,7 +1,7 @@ The atPlatform logo [![GitHub License](https://img.shields.io/badge/license-BSD3-blue.svg)](./LICENSE) -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/sshnoports/badge)](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/sshnoports) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/noports/badge)](https://api.securityscorecards.dev/projects/github.com/atsign-foundation/noports) # SSH! No ports @@ -12,7 +12,7 @@ address the device has been given. As long as the device and client has an IP ad DNS and Internet access, you will be able to connect to it. ## Quick demo -![sshnp](https://github.com/atsign-foundation/sshnoports/assets/6131216/4ff005f1-230e-4621-9b33-f834caa9a1d1) +![sshnp](https://github.com/atsign-foundation/noports/assets/6131216/4ff005f1-230e-4621-9b33-f834caa9a1d1) There are five binaries:- @@ -30,7 +30,7 @@ can then ssh to via your localhost interface To get going you just need two (or three if you want to use your own sshrvd service) atSigns and their .atKeys files and the binaries (from the -[latest release](https://github.com/atsign-foundation/sshnoports/releases)). +[latest release](https://github.com/atsign-foundation/noports/releases)). Once you have the atSigns (free or paid atSigns from [atsign.com](https://atsign.com)), drop the binaries in place on each machine and put the keys in `~/.atsign/keys` directory. You will need a device atSign and a manager atSign, but each device can also have a unique diff --git a/scripts/install_sshnp b/scripts/install_sshnp index 514301879..e5881a7d0 100755 --- a/scripts/install_sshnp +++ b/scripts/install_sshnp @@ -230,7 +230,7 @@ parse_env() { else SSHNP_VERSION="$(norm_version "$SSHNP_VERSION")" fi - URL="https://api.github.com/repos/atsign-foundation/sshnoports/releases/$SSHNP_VERSION"; + URL="https://api.github.com/repos/atsign-foundation/noports/releases/$SSHNP_VERSION"; case "$(uname)" in Darwin) diff --git a/scripts/install_sshnpd b/scripts/install_sshnpd index bfc40ceff..ecc522f18 100755 --- a/scripts/install_sshnpd +++ b/scripts/install_sshnpd @@ -283,7 +283,7 @@ parse_env() { else SSHNP_VERSION="$(norm_version "$SSHNP_VERSION")" fi - URL="https://api.github.com/repos/atsign-foundation/sshnoports/releases/$SSHNP_VERSION"; + URL="https://api.github.com/repos/atsign-foundation/noports/releases/$SSHNP_VERSION"; case "$(uname)" in Darwin) diff --git a/tests/end2end_tests/image/Dockerfile b/tests/end2end_tests/image/Dockerfile index 40b892cd6..2709ceb04 100644 --- a/tests/end2end_tests/image/Dockerfile +++ b/tests/end2end_tests/image/Dockerfile @@ -28,7 +28,7 @@ RUN set -eux ; \ # BUILD BRANCH FROM dart:3.2.4@sha256:a310da69472710ceaa8015add37ef99d16d9ec51e9b67f87fe3b11a7e9596a50 AS build-branch -ENV URL=https://github.com/atsign-foundation/sshnoports.git +ENV URL=https://github.com/atsign-foundation/noports.git ENV REPO_DIR=/app/repo ENV PACKAGE_DIR=${REPO_DIR}/packages/sshnoports ENV OUTPUT_DIR=/app/output @@ -107,8 +107,8 @@ ARG release ENV BUILD_DIR=/app/build ENV OUTPUT_DIR=/app/output -ENV URL="https://api.github.com/repos/atsign-foundation/sshnoports/releases/latest" -ENV URLP="https://github.com/atsign-foundation/sshnoports/releases/download" +ENV URL="https://api.github.com/repos/atsign-foundation/noports/releases/latest" +ENV URLP="https://github.com/atsign-foundation/noports/releases/download" RUN apt-get update ; \ apt-get install -y wget dpkg curl ; \ diff --git a/tools/local-e2e-test/README.md b/tools/local-e2e-test/README.md index 7da8aa2e1..c2ec0929f 100644 --- a/tools/local-e2e-test/README.md +++ b/tools/local-e2e-test/README.md @@ -27,7 +27,7 @@ If you are on Windows, you may need to use [WSL](). 1. Clone this repository ```sh -git clone https://github.com/atsign-foundation/sshnoports.git +git clone https://github.com/atsign-foundation/noports.git ``` 2. Navigate to the `tools` directory diff --git a/tools/manual-docker/README.md b/tools/manual-docker/README.md index e3145d435..f4ecc7b4e 100644 --- a/tools/manual-docker/README.md +++ b/tools/manual-docker/README.md @@ -33,7 +33,7 @@ If you are on Windows, you may need to use [WSL](). 1. Clone this repository ```sh -git clone https://github.com/atsign-foundation/sshnoports.git +git clone https://github.com/atsign-foundation/noports.git ``` 2. Navigate to the `tools` directory @@ -84,7 +84,7 @@ If you do not want to use the [custom shell script](#using-the-custom-shell-scri 1. Clone this repository ```sh -git clone https://github.com/atsign-foundation/sshnoports.git +git clone https://github.com/atsign-foundation/noports.git ``` 2. Navigate to the `tools` directory From f442491cbba48c7416aab9af74451a73ca61ae35 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Fri, 5 Jan 2024 19:47:30 +0800 Subject: [PATCH 2/2] chore: rename sshnoports references to noports --- CONTRIBUTING.md | 8 ++++---- pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 76a0d302d..7ab84c321 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,11 +36,11 @@ if you don't already have Dart (or Flutter) installed. To prepare your dedicated GitHub repository: 1. Fork in GitHub https://github.com/atsign-foundation/noports -2. Clone *your forked repository* (e.g., `git clone git@github.com:yourname/sshnoports`) +2. Clone *your forked repository* (e.g., `git clone git@github.com:yourname/noports`) 3. Set your remotes as follows: ```sh - cd sshnoports + cd noports git remote add upstream git@github.com:atsign-foundation/noports.git git remote set-url upstream --push DISABLED ``` @@ -48,8 +48,8 @@ To prepare your dedicated GitHub repository: Running `git remote -v` should give something similar to: ```text - origin git@github.com:yourname/sshnoports.git (fetch) - origin git@github.com:yourname/sshnoports.git (push) + origin git@github.com:yourname/noports.git (fetch) + origin git@github.com:yourname/noports.git (push) upstream git@github.com:atsign-foundation/noports.git (fetch) upstream DISABLED (push) ``` diff --git a/pubspec.yaml b/pubspec.yaml index 85b94aa65..695ceff3b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,4 +1,4 @@ -name: sshnoports_workspace +name: noports_workspace environment: sdk: ">=2.12.0 <4.0.0"