Skip to content

Commit

Permalink
Fix nested route issue zio#3243
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 11, 2025
1 parent 668eb91 commit 1e7498f
Show file tree
Hide file tree
Showing 697 changed files with 28,230 additions and 0 deletions.
35 changes: 35 additions & 0 deletions zio-http/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/java/.devcontainer/base.Dockerfile

# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 11, 17, 11-bullseye, 17-bullseye, 11-buster, 17-buster
ARG VARIANT="17"
FROM mcr.microsoft.com/vscode/devcontainers/java:${VARIANT}


RUN curl -s "https://get.sdkman.io" | bash

# Install Scala Lang
ARG SBT_VERSION="1.10.1"
RUN \
curl -L "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | tar zxf - -C /usr/share && \
cd /usr/share/sbt/bin && \
ln -s /usr/share/sbt/bin/sbt /usr/local/bin/sbt

ARG SCALA_VERSION="3.3.3"
RUN \
mkdir /setup-project && \
cd /setup-project && \
echo "scalaVersion := \"${SCALA_VERSION}\"" > build.sbt && \
echo "case object Temp" > Temp.scala && \
sbt compile && \
rm -rf /setup-project

RUN \
mkdir /setup-wrk && \
sudo apt-get update -y && sudo apt-get install build-essential libssl-dev git -y && \
git clone https://github.com/wg/wrk.git wrk && \
cd wrk && \
make && \
cp wrk /usr/local/bin && \
rm -rf /setup-wrk

CMD ["sbt"]
42 changes: 42 additions & 0 deletions zio-http/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/java
{
"name": "Java",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a Java version: 11, 17
// Append -bullseye or -buster to pin to an OS version.
// Use the -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "17",
"SCALA_VERSION": "3.3.3"
}
},

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vscjava.vscode-java-pack"
]
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "java -version",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"git": "latest"
}
}
14 changes: 14 additions & 0 deletions zio-http/.git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Scala Steward: Reformat with scalafmt 3.6.1
d338861916380701fb1a3cf557bb2b0f18792075

# Scala Steward: Reformat with scalafmt 3.7.0
3c82e3c0bfcf7cc1928ffb3533b3bc39c04b0c03

# Scala Steward: Reformat with scalafmt 3.7.3
9685d201c17c737cf4617ec648d76aff461bd831

# Scala Steward: Reformat with scalafmt 3.7.14
85133289bbd902a9fa5c13ff515eda5c0b58fd1d

# Scala Steward: Reformat with scalafmt 3.8.1
d4a7535a39fe713701919d4312e10e8de78b69d9
1 change: 1 addition & 0 deletions zio-http/.github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @jdegoes @vigoo @kyri-petrou @987Nabil
38 changes: 38 additions & 0 deletions zio-http/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behaviour:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behaviour**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions zio-http/.github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
20 changes: 20 additions & 0 deletions zio-http/.github/ISSUE_TEMPLATE/improve-maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Improve maintenance
about: Suggest an improvement to code base management
title: ''
labels: maintenance
assignees: ''

---

**What is not easy to do right now?**
A clear and concise description of what the problem is. Ex. It is always a pain to do [...]

**Describe the solution you'd like**
A clear and concise description of the experience you would like to have while contributing to this project.

**Why is it important?**
Expand on the importance of what you proposed.

**Additional context**
Add any other context or screenshots about the feature request here.
77 changes: 77 additions & 0 deletions zio-http/.github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- 'feat'
- title: 'Improvements'
labels:
- 'perf'
- 'refactor'
- title: 'Tests'
labels:
- 'tests'
- 'testing'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- 'hotfix'
- 'revert'
- title: '🧰 Maintenance'
labels:
- 'docs'
- 'chore'
- 'maintenance'
- 'style'
- 'build'
- 'chores'
- 'ci'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
exclude-labels:
- 'skip-changelog'
template: |
## Changes
$CHANGES
autolabeler:
- label: 'maintenance'
files:
- '*.yml'
- '*.conf'
- '*.sbt'
branch:
- '/chore\/.+/'
- '/refactor\/.+/'
- '/maintenance\/.+/'
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'enhancement'
branch:
- '/feat\/.+/'
- '/refactor\/.+/'
- label: 'docs'
files:
- '*.md'
- '*.txt'
branch:
- '/doc\/.+/'
- '/docs\/.+/'
33 changes: 33 additions & 0 deletions zio-http/.github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: automerge
on:
workflow_run:
workflows:
- CI
types:
- completed
pull_request_review:
types:
- submitted

check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.ACTIONS_PAT }}"
MERGE_LABELS: "automerge"
MERGE_REMOVE_LABELS: "automerge"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "pull-request-description"
MERGE_FORKS: "true"
MERGE_RETRIES: "20"
MERGE_RETRY_SLEEP: "60000"
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"
MERGE_REQUIRED_APPROVALS: "1"
Loading

0 comments on commit 1e7498f

Please sign in to comment.