diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index beca8c9..3895f5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,9 +36,9 @@ jobs: export BUILD_DATE=$(date "+%Y-%m-%d") export BUILD_COMMIT_HASH=$(git rev-parse --short HEAD 2> /dev/null) export GO_BUILD_LDFLAGS="${GO_BUILD_LDFLAGS} - -X github.com/inextensodigital/github/cmd.version=${TAG_NAME} - -X github.com/inextensodigital/github/cmd.buildDate=${BUILD_DATE} - -X github.com/inextensodigital/github/cmd.commitHash=${BUILD_COMMIT_HASH} + -X github.com/fulll/github/cmd.version=${TAG_NAME} + -X github.com/fulll/github/cmd.buildDate=${BUILD_DATE} + -X github.com/fulll/github/cmd.commitHash=${BUILD_COMMIT_HASH} " export GOOS=linux diff --git a/LICENSE b/LICENSE index 2b876ae..15dfa59 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 In Extenso Digital +Copyright (c) 2021 Fulll Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 8fd8f3d..e6f2d78 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # An (unofficial) Github command line client -[![Go Report Card](https://goreportcard.com/badge/github.com/inextensodigital/github)](https://goreportcard.com/report/github.com/inextensodigital/github) -[![Twitter](https://img.shields.io/twitter/follow/inexdigital_fr.svg?style=social)](https://twitter.com/intent/follow?screen_name=inexdigital_fr) +[![Go Report Card](https://goreportcard.com/badge/github.com/fulll/github)](https://goreportcard.com/report/github.com/fulll/github) This command line client is based on Github API V3. @@ -25,19 +24,19 @@ are already great at doing that. ## How to install it? ```shell -go get github.com/inextensodigital/github +go get github.com/fulll/github ``` or you can use the install script: ```shell -curl -qs https://raw.githubusercontent.com/inextensodigital/github/master/install.sh | bash - +curl -qs https://raw.githubusercontent.com/fulll/github/master/install.sh | bash - ``` or a simplified version (feel free to replace `linux` by either `windows` or `darwin`) ```shell -curl -s https://api.github.com/repos/inextensodigital/github/releases/latest | +curl -s https://api.github.com/repos/fulll/github/releases/latest | jq -r '.assets[] | select(.name | test("linux-amd64$")) | .browser_download_url' | wget -qi - -O github && chmod +x github ``` @@ -63,7 +62,7 @@ jobs: runs-on: ubuntu-latest steps: - run: echo build app - - run: curl -qs https://raw.githubusercontent.com/inextensodigital/github/master/install.sh | bash - + - run: curl -qs https://raw.githubusercontent.com/fulll/github/master/install.sh | bash - - id: deployment env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -110,7 +109,7 @@ jobs: # jq -r '.assets[] | select(.name | contains("linux-amd64")) | .browser_download_url' | # wget -qi - -O - | sudo tar xzpf - -C / --strip-components=1 # - uses: actions/checkout@master - - run: curl -qs https://raw.githubusercontent.com/inextensodigital/github/master/install.sh | bash - + - run: curl -qs https://raw.githubusercontent.com/fulll/github/master/install.sh | bash - - id: deployment env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -151,7 +150,7 @@ jobs: needs: should-deploy runs-on: ubuntu-latest steps: - - run: curl -qs https://raw.githubusercontent.com/inextensodigital/github/master/install.sh | bash - + - run: curl -qs https://raw.githubusercontent.com/fulll/github/master/install.sh | bash - - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ID: ${{ github.event.deployment.id }} diff --git a/go.mod b/go.mod index 1ecd380..d5cddd2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/inextensodigital/github +module github.com/fulll/github go 1.12 diff --git a/install.sh b/install.sh index 5914e75..ecd9fb3 100755 --- a/install.sh +++ b/install.sh @@ -51,7 +51,7 @@ verifySupported() { local supported="darwin-amd64\nlinux-amd64\nwindows-amd64" if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then echo "No prebuilt binary for ${OS}-${ARCH}." - echo "To build from source, go to https://github.com/inextensodigital/github" + echo "To build from source, go to https://github.com/fulll/github" exit 1 fi @@ -70,7 +70,7 @@ verifySupported() { checkDesiredVersion() { if [ "x$DESIRED_VERSION" == "x" ]; then # Get tag from release URL - local latest_release_url="https://github.com/inextensodigital/github/releases/latest" + local latest_release_url="https://github.com/fulll/github/releases/latest" TAG=$(curl $CURL_OPTS -o /dev/null -w %{url_effective} $latest_release_url | grep -oE "[^/]+$" ) else TAG=$DESIRED_VERSION @@ -98,11 +98,11 @@ checkGithubInstalledVersion() { # for that binary. downloadFile() { DOWNLOAD_URL=$( - curl $CURL_OPTS https://api.github.com/repos/inextensodigital/github/releases/tags/$TAG | + curl $CURL_OPTS https://api.github.com/repos/fulll/github/releases/tags/$TAG | jq -r '.assets[] | .browser_download_url' | grep -E "$OS-$ARCH(.exe)?\$" ) CHECKSUM_URL=$( - curl $CURL_OPTS https://api.github.com/repos/inextensodigital/github/releases/tags/$TAG | + curl $CURL_OPTS https://api.github.com/repos/fulll/github/releases/tags/$TAG | jq -r '.assets[] | .browser_download_url' | grep -E "$OS-$ARCH(.exe)?\$" ) CHECKSUM_URL="$DOWNLOAD_URL.sha256" @@ -141,7 +141,7 @@ fail_trap() { else echo "Failed to install $PROJECT_NAME" fi - echo -e "\tFor support, go to https://github.com/inextensodigital/github." + echo -e "\tFor support, go to https://github.com/fulll/github." fi # cleanup exit $result @@ -167,7 +167,7 @@ help () { echo -e "\t[--no-sudo] ->> install without sudo" } -# cleanup temporary files to avoid https://github.com/inextensodigital/github/issues/2977 +# cleanup temporary files to avoid https://github.com/fulll/github/issues/2977 cleanup() { if [[ -d "${GH_CLI_TMP_ROOT:-}" ]]; then rm -rf "$GH_CLI_TMP_ROOT" diff --git a/main.go b/main.go index 98b8943..3715c8b 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/inextensodigital/github/cmd" + "github.com/fulll/github/cmd" ) func main() { diff --git a/security.md b/security.md index 6033fb4..98d2ca4 100644 --- a/security.md +++ b/security.md @@ -1,27 +1,27 @@ ## Security -We take the security of our software products and components seriously, which includes all source code repositories managed through our [In Extenso Digital's GitHub organization](https://github.com/inextensodigital). +We take the security of our software products and components seriously, which includes all source code repositories managed through our [Fulll's GitHub organization](https://github.com/fulll). -If you believe you have found a security vulnerability in any In Extenso Digital's repository that meets Wikipedia's definition of a security vulnerability ([English version](https://en.wikipedia.org/wiki/Vulnerability_(computing)), [French version](https://fr.wikipedia.org/wiki/Vuln%C3%A9rabilit%C3%A9_(informatique))), please report it to us as described below. +If you believe you have found a security vulnerability in any Fulll's repository that meets Wikipedia's definition of a security vulnerability ([English version](https://en.wikipedia.org/wiki/Vulnerability_(computing)), [French version](https://fr.wikipedia.org/wiki/Vuln%C3%A9rabilit%C3%A9_(informatique))), please report it to us as described below. ## Reporting security vulnerability Issues :warning: **Please do not report security vulnerabilities through public GitHub issues.** -Instead, **please report them by email** to [rssi@inextenso.digital](mailto:rssi@inextenso.digital). +Instead, **please report them by email** to [rssi@fulll.fr](mailto:rssi@fulll.fr). -You should receive a response as soon as possible. If for some reason you do not, please follow up via email to our [Administrator Team](mailto:admin@inextenso.digital) to ensure we received your original message. +You should receive a response as soon as possible. If for some reason you do not, please follow up via email to our [Administrator Team](mailto:admin@fulll.fr) to ensure we received your original message. For private repositories, you can also send an email or directly use the dedicated issue template for security vulnerability. :bulb: In any ways, please include the requested information listed below (**as much as you can provide**) to help us better understand the nature and scope of the possible issue: - * Type of issue (e.g. Denial of service, Elevation of privilege, Information disclosure, Remote Code Execution, Security feature bypass, buffer overflow, SQL injection, cross-site scripting, etc.) - * Full paths of source file(s) related to the manifestation of the issue - * The location of the affected source code (tag/branch/commit or direct URL) - * Step-by-step instructions to reproduce the issue, including any special configuration required to reproduce - * (if possible) Proof-of-concept or exploit code - * Description and Impact of the issue, including how an attacker might exploit the issue +* Type of issue (e.g. Denial of service, Elevation of privilege, Information disclosure, Remote Code Execution, Security feature bypass, buffer overflow, SQL injection, cross-site scripting, etc.) +* Full paths of source file(s) related to the manifestation of the issue +* The location of the affected source code (tag/branch/commit or direct URL) +* Step-by-step instructions to reproduce the issue, including any special configuration required to reproduce +* (if possible) Proof-of-concept or exploit code +* Description and Impact of the issue, including how an attacker might exploit the issue This information will help us triage your report more quickly. @@ -31,4 +31,4 @@ We prefer all communications to be in English, but if you are not comfortable, F ## Policy -In Extenso Digital follows the principle of [Microsoft's Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). +Fulll follows the principle of [Microsoft's Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).