Skip to content

Commit

Permalink
Merge branch 'master' into feat/orchestrate-switch
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Feb 1, 2025
2 parents dd6185b + a9acc2b commit 7f7b0ef
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 2 deletions.
102 changes: 102 additions & 0 deletions .github/ISSUE_TEMPLATE/routine-sprint-releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
name: Routine sprint releases
about: Monthly releases of probe-cli, etc.
title: ''
labels: priority/medium
assignees: DecFox

---

## Release information

Fill out this information for each release:

**Version Number:**

**Expected Release date:**

**Summary of changes:**

**Link to latest nightly:**

## Pre-release communication

- [ ] Post this message in the #ooni-probe-releases slack channel:

>@here 🏎️ OONI Probe Engine v[VERSION_NUMBER] release work has begun<br/>
Expected release date: [INSERT DATE] + or - x days<br/>
Summary of changes: [INSERT LINK TO PR or CHANGESET]<br/>
Tracking issue: [INSERT LINK TO ISSUE]

## Release checklist

For extended documentation about the process, see [probe-cli's releasing.md](https://github.com/ooni/probe-cli/blob/master/docs/releasing.md).

### Psiphon

- [ ] probe-cli: pin to the latest [staging-client commit](https://github.com/Psiphon-Labs/psiphon-tunnel-core/tree/staging-client) using `./script/go.bash get -u -v`
- [ ] probe-cli: make sure `./script/go.bash list -json ./cmd/ooniprobe` does not include any pinned package in psiphon's `go.mod` or otherwise ask Psiphon developers whether this is fine

### Go version

- [ ] oocrypto: merge with upstream if needed
- [ ] oohttp: merge with upstream if needed
- [ ] probe-cli: possibly update `.github/workflows/gobash.yml`
- [ ] probe-cli: update the `GOVERSION` file if needed
- [ ] probe-cli: update the `toolchain` line inside of `go.mod`
- [ ] probe-cli: update the Go version mentioned in the `Readme.md` file
- [ ] probe-cli: update version specified in TH's Makefile

### Android

- [ ] probe-cli: update `NDKVERSION`, and `MOBILE/android/ensure` if needed

### Dependencies other than Psiphon

- [ ] probe-cli: ensure no dependency bumped its major version number using https://github.com/icholy/gomajor
- [ ] probe-cli: update dependencies with `./script/go.bash get -u -v -d ./...`
- [ ] probe-cli: update C dependencies

### Updating assets and definitions

- [ ] probe-cli: run `./script/updateminipipeline.bash`
- [ ] probe-cli: update github.com/ooni/probe-assets dependency
- [ ] probe-cli: update bundled certs (using `./script/go.bash generate ./...`)
- [ ] probe-cli: update user-agent at `internal/model/http.go`

### Maintenance

- [ ] probe-cli: sync stunreachability targets with snowflake (see `./internal/stuninput`)
- [ ] probe-cli: take a look at [go report card](https://goreportcard.com/report/github.com/ooni/probe-cli/v3)
- [ ] probe-cli: address any outstanding TODO in the diff since last release (or create an issue for it)
- [ ] probe-cli: try to address all the issues marked as "releaseBlocker"
- [ ] all: check whether to update the release documentation

### QA and alpha releasing

- [ ] probe-cli: check warnings emitted by `gosec` runs
- [ ] probe-cli: `./script/go.bash test -race -count 1 ./...` must pass locally
- [ ] probe-cli: tag an alpha release
- [ ] probe-cli: create the release/X.Y branch
- [ ] probe-cli: make sure all workflows are green in the release/X.Y branch
- [ ] team: communicate availability of an alpha release

### Releasing proper

- [ ] probe-cli: update `internal/version/version.go` in release/X.Y to be a stable release
- [ ] probe-cli: tag a new stable version in the release/X.Y branch
- [ ] probe-cli: update internal/version/version.go in master branch to be the next alpha

### Publishing stable packages

- [ ] probe-engine: run `./script/autoexport.bash`
- [ ] debian: publish packages
- [ ] android: publish packages
- [ ] oohelperd: publish docker container

## Post-release communication

- [ ] iThena: notify about new release
- [ ] Update the `#ooni-probe-releases` slack channel:

> @here 🚀 🏎️ OONI Probe Engine v[VERSION_NUMBER] has been released.
35 changes: 35 additions & 0 deletions .github/workflows/add_issues_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# automatically syched from: ooni/pm-tools
on:
issues:
types:
- opened
- closed
- labeled

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
if: github.event.action == 'opened'
with:
# Add to triaging board
project-url: https://github.com/orgs/ooni/projects/47
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}
labeled: bug, triage
label-operator: OR

- uses: actions/[email protected]
if: github.event.action == 'labeled' && startsWith(github.event.label.name, 'funder/')
with:
# Add to funder reporting board
project-url: https://github.com/orgs/ooni/projects/33
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}

- uses: actions/[email protected]
# Move closed issues that are not invalid over to the funder reporting board
if: github.event.action == 'closed' && github.event.issue.state_reason != 'not_planned' && !contains(github.event.issue.labels.*.name, 'invalid')
with:
project-url: https://github.com/orgs/ooni/projects/33
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}
1 change: 1 addition & 0 deletions internal/netxlite/getaddrinfo_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package netxlite
#ifndef _WIN32
#include <netdb.h> // for getaddrinfo
#include <sys/socket.h> // for C.SOCK_STREAM and C.AF_*
#else
#include <ws2tcpip.h> // for getaddrinfo
#endif
Expand Down
4 changes: 2 additions & 2 deletions script/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cat <<EOF>$DOC_PATH
# version: $REPO_NAME:$COMMIT_HASH
title: OONI Probe Engine Design
description: Design documents for OONI Probe
slug: probe-engine/design/
slug: probe-engine/design
---
EOF
strip_title $BASE_PATH/README.md >> $DOC_PATH
Expand Down Expand Up @@ -174,7 +174,7 @@ cat <<EOF>$DOC_PATH
# version: $REPO_NAME:$COMMIT_HASH
title: OONI Probe Release
description: OONI Probe release documentation
slug: probe-engine/releasing/
slug: probe-engine/releasing
---
EOF
strip_title docs/releasing.md >> $DOC_PATH
Expand Down

0 comments on commit 7f7b0ef

Please sign in to comment.