Skip to content

Commit

Permalink
Migrate to fulll organization
Browse files Browse the repository at this point in the history
  • Loading branch information
fberthereau committed Dec 27, 2021
1 parent 6b2c4e1 commit 697ee67
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 31 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
```
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/inextensodigital/github
module github.com/fulll/github

go 1.12

Expand Down
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/inextensodigital/github/cmd"
"github.com/fulll/github/cmd"
)

func main() {
Expand Down
22 changes: 11 additions & 11 deletions security.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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).

0 comments on commit 697ee67

Please sign in to comment.