Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
5cecf46
Add shortcut to copy contents to clipboard
samtay Aug 21, 2022
583046d
Auto close success/error message
samtay Aug 21, 2022
bba9a0d
Build on main branch
samtay Aug 21, 2022
8814a90
Add docs for sys clipboard
samtay Aug 21, 2022
e4d44be
Create GH ci check
samtay Aug 21, 2022
ebb828c
Fix clippy lints
samtay Aug 21, 2022
c490fb1
Bump version to 0.4.7
samtay Aug 21, 2022
421a625
Reformat changelog
samtay Aug 21, 2022
b27d3f2
Fix missing ssl dep
samtay Aug 21, 2022
cc64aa6
Update README.md
samtay Aug 21, 2022
a5c702e
Fix install script
samtay Aug 21, 2022
f006d05
Try building armv7
samtay Aug 21, 2022
1484f67
Re-enable homebrew bump action
samtay Aug 21, 2022
7377525
Add key to open SE answer in browser
samtay Aug 22, 2022
c28bb74
Bump version to 0.4.8
samtay Aug 22, 2022
a5c3a48
Bump deps
samtay Aug 23, 2022
29815c2
Dont block tokio task
samtay Aug 23, 2022
10ed5b0
Allow opening browser from lucky prompt
samtay Aug 24, 2022
55964a2
Add help text, closes #24
samtay Aug 24, 2022
1059015
Bump version to 0.4.9
samtay Aug 25, 2022
9afb396
Fix missing feature flags
samtay Aug 25, 2022
7a7b7f3
Fix subtle typo in README
machawk1 Dec 19, 2022
07a2653
Merge pull request #25 from machawk1/patch-1
samtay Dec 19, 2022
3cebcaa
Fix clippy warnings
samtay Dec 19, 2022
42169b2
Update README.md
samtay Dec 19, 2022
e895f47
Bump tokio from 1.20.1 to 1.20.3
dependabot[bot] Jan 6, 2023
8dcc5a4
Merge pull request #26 from samtay/dependabot/cargo/tokio-1.20.3
samtay Jan 6, 2023
8c7b6a5
Bump bumpalo from 3.11.0 to 3.12.0
dependabot[bot] Jan 20, 2023
1af66bd
Merge pull request #27 from samtay/dependabot/cargo/bumpalo-3.12.0
samtay Jan 21, 2023
7c7151c
Bump webbrowser from 0.7.1 to 0.8.3
dependabot[bot] Jan 21, 2023
a723ac1
Merge pull request #28 from samtay/dependabot/cargo/webbrowser-0.8.3
samtay Jan 21, 2023
f8b0a4f
Fix clippy warnings
samtay Feb 4, 2023
46404f1
Merge pull request #30 from samtay/clippy
samtay Feb 4, 2023
f65a994
Bump tokio from 1.20.3 to 1.20.4 (#29)
dependabot[bot] Feb 4, 2023
3a44cda
README: add MacPorts install info
herbygillot Feb 13, 2023
f033ced
Merge pull request #31 from herbygillot/patch-1
samtay Feb 13, 2023
98cb16b
Appease clippy (#34)
samtay Mar 27, 2023
534919d
Bump openssl from 0.10.41 to 0.10.48 (#33)
dependabot[bot] Mar 27, 2023
7629617
Bump h2 from 0.3.14 to 0.3.17 (#36)
dependabot[bot] Apr 13, 2023
7b73c39
Bump openssl from 0.10.48 to 0.10.55 (#39)
dependabot[bot] Jun 22, 2023
f92bd84
Bump unsafe-libyaml from 0.2.2 to 0.2.10 (#42)
dependabot[bot] Dec 21, 2023
73460bc
Bump h2 from 0.3.17 to 0.3.24 (#43)
dependabot[bot] Jan 19, 2024
cb62c2f
Fix 403 (#47)
samtay Aug 21, 2024
4b0cb25
Bump deps (#48)
samtay Aug 23, 2024
88d2416
Fix homebrew bump
samtay Aug 23, 2024
45c073c
Fix appveyor deploy
samtay Aug 23, 2024
4969956
Fix typos (#52)
kianmeng Jun 30, 2025
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
12 changes: 10 additions & 2 deletions .github/workflows/bump_brew_formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@ name: Release to homebrew core

on:
push:
tags: 'v*'
tags:
- "v*"
workflow_dispatch:
inputs:
tag:
required: true
type: string
description: version to release to homebrew

jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v1
- uses: mislav/bump-homebrew-formula-action@v3.1
with:
tag-name: ${{ github.event.inputs.tag || github.ref_name }}
formula-name: so
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install minimal stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2

- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check

- name: Build application
uses: actions-rs/cargo@v1
with:
command: build

- name: Run clippy linter
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- --deny warnings

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
50 changes: 50 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:

create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
strategy:
matrix:
include:
- target: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: so
target: ${{ matrix.target }}
features: reqwest/native-tls-vendored
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67 changes: 0 additions & 67 deletions .travis.yml

This file was deleted.

87 changes: 77 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,129 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [Unreleased]
## [Unreleased]

## [0.4.10]

#### Fixed

- Cloudflare blocking `reqwest`s ([#46](https://github.com/samtay/so/issues/46))

#### Added

- Some limited logging
- Mac ports install option ([#31](https://github.com/samtay/so/pulls/31))

## [0.4.9]

#### Added

- Allow `o` keybinding from the lucky prompt.
- Permanent help text ([#24](https://github.com/samtay/so/issues/24)).

#### Fixed

- Hardcoded stackoverflow link

## [0.4.8]

#### Added

- Keybinding: Press `o` to open the current answer in the default browser

## [0.4.7]

#### Added

- Keybinding: Press `y` to yank to system clipboard
- New config field for specifying command to copy to system clipboard

#### Changed

- Switch linux/mac builds from Travis to GitHub Actions.

### [v0.4.6](https://github.com/samtay/so/compare/v0.4.5...v0.4.6)
## [0.4.6]

#### Changed

- Use Google as the default search engine, due to issues with DuckDuckGo.

### [v0.4.5](https://github.com/samtay/so/compare/v0.4.3...v0.4.5)
## [0.4.5]

#### Added
- NetBSD installation option. Thanks **voidpin**.

- NetBSD installation option. Thanks **voidpin**.

#### Fixed

- Google parser went out of date
- Panic from termimad ([#5](https://github.com/samtay/so/issues/5))

### [v0.4.3](https://github.com/samtay/so/compare/v0.4.1...v0.4.3)
## [0.4.3]

#### Fixed

- Build issue caused by syn dependency ([#13](https://github.com/samtay/so/issues/13))
- Panic from termimad ([#8](https://github.com/samtay/so/issues/8))

#### Added

- Windows installation option
[lukesampson/scoop-extras#4376](https://github.com/lukesampson/scoop-extras/pull/4376).
Thanks [@laralex](https://github.com/laralex)!

### [v0.4.1](https://github.com/samtay/so/compare/v0.4.0...v0.4.1) (2020-07-10)
## [0.4.1]

#### Added

- GitHub Action to bump homebrew-core formula

#### Changed

- Homebrew installation method: core
[formula](https://formulae.brew.sh/formula/so) now available

### [v0.4.0](https://github.com/samtay/so/compare/v0.3.6...v0.4.0) (2020-07-07)
## [0.4.0]

#### Added
- *Keybinding*: Press `q` to quit ([#1](https://github.com/samtay/so/pull/1)).

- _Keybinding_: Press `q` to quit ([#1](https://github.com/samtay/so/pull/1)).
Thanks [@zynaxsoft](https://github.com/zynaxsoft)!
- Arch Linux installation options: [so](https://aur.archlinux.org/packages/so/)
and [so-git](https://aur.archlinux.org/packages/so-git/)
- Homebrew installation option: [samtay/tui/so](https://github.com/samtay/homebrew-tui)
- This changelog

#### Changed

- Default `highlight_text` is now `black`

### [v0.3.6](https://github.com/samtay/so/compare/v0.3.5...v0.3.6) (2020-07-02)
## [0.3.6]

#### Added

- CLI spinner

#### Fixed

- Fragmented highlighting styles

### [v0.3.5](https://github.com/samtay/so/compare/030cd70...v0.3.5) (2020-06-30)
## [0.3.5]

- (Unofficial) initial passable release

[Unreleased]: (https://github.com/samtay/so/compare/v0.4.9...HEAD)
[0.4.9]: (https://github.com/samtay/so/compare/v0.4.8...v0.4.9)
[0.4.8]: (https://github.com/samtay/so/compare/v0.4.7...v0.4.8)
[0.4.7]: (https://github.com/samtay/so/compare/v0.4.6...v0.4.7)
[0.4.6]: (https://github.com/samtay/so/compare/v0.4.5...v0.4.6)
[0.4.5]: (https://github.com/samtay/so/compare/v0.4.3...v0.4.5)
[0.4.3]: (https://github.com/samtay/so/compare/v0.4.1...v0.4.3)
[0.4.1]: (https://github.com/samtay/so/compare/v0.4.0...v0.4.1)
[0.4.0]: (https://github.com/samtay/so/compare/v0.3.6...v0.4.0)
[0.3.6]: (https://github.com/samtay/so/compare/v0.3.5...v0.3.6)
[0.3.5]: (https://github.com/samtay/so/compare/030cd70...v0.3.5)
Loading