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
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Ignore the following directories when showing which languages
# difftastic is implemented in on GitHub.
# diffr is implemented in Rust; keep GitHub's language stats honest.
sample_files/** linguist-vendored
vendored_parsers/** linguist-vendored
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Thanks for reporting a bug! Please include all of the following:

(1) A description of the issue. A screenshot is often helpful too.

(2) A copy of what you're diffing. If you're diffing files, include the before and after files. If you're using difftastic with a VCS repository (e.g. git), include the URL and commit hash.
(2) A copy of what you're diffing. If you're diffing files, include the before and after files. If you're using diffr with a Git repository, include the URL and commit hash.

(3) The version of difftastic you're using (see `difft --version`) and your operating system.
(3) The version of diffr you're using (see `diffr --version`) and your operating system.
62 changes: 0 additions & 62 deletions .github/workflows/deploy_docs.yml

This file was deleted.

35 changes: 8 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,32 @@ on:

jobs:
create-release:
permissions:
contents: write
runs-on: ubuntu-22.04
steps:
# v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: taiki-e/create-gh-release-action@eba8ea96c86cca8a37f1b56e94b4d13301fba651 # v1
with:
# Create a draft release so we can add the changelog before publishing it
# so the changelog is included in the release email
draft: true
# Publish immediately: Review's build downloads the assets by tag.
draft: false
env:
# (required)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
# Targets that match the OS of the runner.
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-apple-darwin
os: macos-latest

# Targets using cross-compilation (upload-rust-binary-action
# detects that they need cross).
- target: x86_64-unknown-linux-musl
os: ubuntu-22.04
- target: aarch64-unknown-linux-gnu
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
- target: aarch64-pc-windows-msvc
os: windows-latest
- target: x86_64-apple-darwin
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
# v4.2.2
Expand All @@ -63,12 +53,3 @@ jobs:
env:
# (required)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

push_crates_io:
runs-on: ubuntu-22.04
steps:
# v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: katyo/publish-crates@02cc2f1ad653fb25c7d1ff9eb590a8a50d06186b # v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ plugin.wasm
# The bundled WASM summarizer ships ready to embed without a WASM toolchain.
!/plugins/summarize/plugin.wasm
/crates/*/target

# Generated data left behind by the retired review web viewer.
/examples/review/viewer/data/
3 changes: 0 additions & 3 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
extend-exclude = [
"vendored_parsers/", "sample_files/",
"src/tags/linguist/",
"homepage/home_static/demo.cast", "homepage/home_static/*.min.js",
"homepage/home_img",
"demo_files/",
"difft.1",
# Git index lines carry blob hashes that can spell words.
"examples/review/real/*/change.patch",
]
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
All AI contributions to difftastic must follow AI_POLICY.md.
All AI contributions to diffr must follow AI_POLICY.md.

Do not update CHANGELOG.md unless the user explicitly requests it.
2 changes: 1 addition & 1 deletion AI_POLICY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Difftastic's AI policy is based on the [LLVM AI Tool Use
diffr's AI policy is based on the [LLVM AI Tool Use
Policy](https://llvm.org/docs/AIToolPolicy.html).

**Understanding**: You can use any coding tool you like, but you need to read
Expand Down
Loading
Loading