minutes3

command module
v0.0.0-...-5baeeb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: BSD-3-Clause Imports: 23 Imported by: 0

README

Generate Google Sheets token

Go to https://console.developers.google.com/.

Create a new GCP project. I called mine proposal-minutes.

Configure the OAuth consent screen: Go to APIs & Services > OAuth consent screen. Select "Internal" and click "Create". Enter an app name. I called it proposal-minutes. Fill in other required fields, though most can be left blank. Click "Save and continue". You don't need to add any scopes. Click "Save and continue".

Enable Google Sheets: Go to APIs & Services > Enabled APIs and Services. Click "Enable APIs and Services". Search for the "Google Sheets API" and enable it.

Create OAuth credentials: Go to APIs & Services > Credentials. Click Create Credentials > OAuth client ID. Select "Desktop app", give it a name (I used proposal-minutes, again), and click Create. On the next screen, click "Download JSON" and save this file as ~/.config/proposal-minutes/gdoc.json.

Generate GitHub token

Go to GitHub, then Account Settings > Developer Options > Personal Access Tokens > Fine-grained Tokens.

Click "Generate new token"

The name of the token can be anything. I used proposal-minutes. The expiration can be set up to one year out.

Set the "Resource owner" to "golang", then select "Only select repositories" and add the "golang/go" repository.

Under "Repository permissions", set "Issues" to "Read and write".

Under "Organization permissions", set "Projects" to "Read and write".

Save the token.

Copy the access token and save it to ~/.config/proposal-minutes/github.tok.

Documentation

Overview

Minutes is the program we use to post the proposal review minutes. It is a demonstration of the use of the rsc.io/github API, but it is also not great code, which is why it is buried in an internal directory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL