Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: lint

on: pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-26.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# shellcheck comes with the runner image, but shfmt doesn't.
- name: Install shfmt
run: |
go install mvdan.cc/sh/v3/cmd/shfmt@v3.14.1
echo "$HOME/go/bin" >> "$GITHUB_PATH"
- run: make lint
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# The Developer Society - Development Tools

Tools for making development at The Developer Society quicker, easier and less error prone.

## Installation

Clone the repo:

```console
$ git clone git@github.com:developersociety/tools.git
```

Then add its `bin` directory to your `$PATH`, by adding this to your `~/.zshrc`:

```bash
export PATH="/path/to/tools/bin:$PATH"
```

To update the tools later, `git pull` in the checkout.

## Usage

Every tool takes `--help`, which prints its usage and what it does:

```console
$ dev-clone --help
```

| Command | What it does | Needs |
|-------------------------|-----------------------------------------------------|---------------------------------|
| `dev-clone` | Clone a repo and set up virtualenvwrapper for it | virtualenvwrapper, pyenv |
| `dev-clean-branches` | Delete merged local branches and prune remotes | |
| `dev-wipeenv` | Uninstall every package in the active virtualenv | |
| `dev-tofu` | Run tofu with the devsoc-tofu AWS profile | aws-vault, opentofu |
| `dev-aws-login` | Open the AWS console via aws-vault | aws-vault |
| `dev-update-aws-config` | Rewrite `~/.aws/config` from the 1Password template | 1Password CLI (`op`) |
| `dev-unlock-server` | Unlock the encrypted root filesystem on a server | 1Password CLI (`op`) |
| `dev-archive-repo` | Mirror a repo to the archive server | |
71 changes: 0 additions & 71 deletions README.rst

This file was deleted.