Skip to content

Commit

Permalink
Revert "chore: Redirect case.html (#2048)"
Browse files Browse the repository at this point in the history
This reverts commit 241d893.
  • Loading branch information
max-sixty committed Mar 8, 2023
1 parent 241d893 commit cbec4e2
Show file tree
Hide file tree
Showing 367 changed files with 4,958 additions and 8,444 deletions.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
[target.wasm32-unknown-unknown]
runner = 'wasm-bindgen-test-runner'

[target.'cfg(target_os = "macos")']
# Required for prql-elixir on Mac
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]
15 changes: 0 additions & 15 deletions .devcontainer/base-image/Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions .devcontainer/devcontainer.json

This file was deleted.

5 changes: 3 additions & 2 deletions .github/actions/build-prql-js/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ description: ""
runs:
using: composite
steps:
- uses: baptiste0928/cargo-install@next
- name: Install wasm-pack
uses: jetli/[email protected]
with:
crate: wasm-pack
version: "latest"

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
7 changes: 0 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ updates:
commit-message:
prefix: "chore: "

- package-ecosystem: docker
directory: .devcontainer/base-image
schedule:
interval: daily
commit-message:
prefix: "chore: "

# For actions (rather than workflows), we need to list each directory, ref
# https://github.com/dependabot/dependabot-core/issues/5137, from https://github.com/dependabot/dependabot-core/issues/4178#issuecomment-1118492006
- directory: ".github/actions/build-prql-js"
Expand Down
63 changes: 0 additions & 63 deletions .github/workflows/devcontainer.yaml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/mega-linter.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/pull-request-target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
requireScope: false
# The standard ones plus
# - "internal" for code quality / ergonomics improvements
# - "devops" for developer ergonomics
# - "web" for playground / website (but not docs)
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
internal
devops
web

backport:
# Backport to `web` branch on `pr-backport-web`
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,78 +24,6 @@ jobs:
}
})
build-deb-package:
# TODO: currently this doesn't publish it as an artifact; would be a welcome contribution
# to add that (and eventually as a release asset)
runs-on: ubuntu-latest
steps:
- name: 📂 Checkout code
uses: actions/checkout@v3
- name: 👷 Build prql-compiler
run: cargo build --release
- name: Copy files into .deb package
run: |
mkdir -p .debpkg/usr/bin
cp target/release/prqlc .debpkg/usr/bin/prqlc
chmod +x .debpkg/usr/bin/prqlc
- name: 📦 Build .deb package
uses: jiro4989/build-deb-action@v2
with:
package: prqlc
package_root: .debpkg
maintainer: The PRQL Project
version: ${{ github.ref }}
desc: |
prqlc is the CLI for the PRQL compiler. It compiles PRQL to SQL, and offers various diagnostics.
PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.
build-rpm-package:
# TODO: This doesn't publish the rpm yet, that would be a welcome follow-up (even as a CI artifact)
runs-on: ubuntu-latest
steps:
- name: 📂 Checkout code
uses: actions/checkout@v3
- name: 👷 Build prqlc
run: cargo build --bin prqlc --release
- name: Copy files into .rpm package
run: |
mkdir -p .rpmpkg/usr/bin
cp target/release/prqlc .rpmpkg/usr/bin/prqlc
chmod +x .rpmpkg/usr/bin/prqlc
- name: 📦 Build .rpm package
uses: jiro4989/build-rpm-action@v2
with:
summary: CLI for PRQL, a modern language for transforming data
package: prqlc
package_root: .rpmpkg
maintainer: The PRQL Project
version: ${{ github.ref }}
desc: |
prqlc is the CLI for the PRQL compiler. It compiles PRQL to SQL, and offers various diagnostics.
PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.
license: Apache-2.0

build-and-publish-snap:
runs-on: ubuntu-latest

# Skip running workflow on forks
if: github.repository_owner == 'prql'

steps:
- name: 📂 Checkout code
uses: actions/checkout@v3
- name: 📦 Build Snap
uses: snapcore/action-build@v1
- name: 🆙 Publish Snap
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge

build-python-wheels:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
target_option: ["", --target=wasm32-unknown-unknown]

uses: ./.github/workflows/test-rust.yaml
with:
os: ${{ matrix.os }}
target_option: ${{ matrix.target_option }}

test-php:
uses: ./.github/workflows/test-php.yaml

test-python:
uses: ./.github/workflows/test-python.yaml

Expand All @@ -48,12 +44,6 @@ jobs:
test-elixir:
uses: ./.github/workflows/test-elixir.yaml

test-dotnet:
uses: ./.github/workflows/test-dotnet.yaml

test-lib:
uses: ./.github/workflows/test-lib.yaml

measure-code-cov:
# Currently disabled due to https://github.com/actions-rs/tarpaulin/issues/21
if: false
Expand Down Expand Up @@ -115,7 +105,7 @@ jobs:
- uses: baptiste0928/cargo-install@next
with:
crate: cargo-msrv
# Note this currently uses a manually maintained key in
# Note this currently uses a manually mantained key in
# `prql-compiler/Cargo.toml`, because of
# https://github.com/foresterre/cargo-msrv/issues/590
- name: Verify minimum rust version
Expand Down
Loading

0 comments on commit cbec4e2

Please sign in to comment.