Skip to content

Commit

Permalink
Merge branch 'main' of github.com:fastn-stack/fastn into feat/nix
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 committed Jan 27, 2024
2 parents 82c4d8c + 601783e commit ca77c55
Show file tree
Hide file tree
Showing 100 changed files with 6,828 additions and 3,765 deletions.
35 changes: 21 additions & 14 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,47 @@
---
name: Bug Report
about: Create a bug report.
labels: bug
---

Your issue may already be reported! Please search on the [`fastn` issue tracker](https://github.com/fastn-stack/fastn/issues) before creating one.

## Expected Behavior

<!--- If you're describing a bug, tell us what should happen -->
<!--- fastn Issue Tracker is only for bugs or defects, please
suggest feature requests and ideas on
https://github.com/orgs/fastn-stack/discussions/categories/ideas-rfcs -->

## Current Behavior
<!-- PLEASE DO NOT REPORT SECURITY ISSUE IN PUBLIC, mail it to
[email protected] -->

<!--- Tell us what happens instead of the expected behavior -->
## What Are You Doing?

## Possible Solution
<!--- Please tell us what is triggering the problematic behaviour -->

<!--- Not obligatory, but suggest a fix/reason for the bug -->
## Expected Behaviour:

## Steps to Reproduce (for bugs)
<!--- What were you hoping to happen -->

<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
## Current Behavior

1.
2.
3.
4.
<!--- What happened insted? -->

## Possible Solution

<!--- Not obligatory, but suggest a fix/reason for the bug -->

## Context

<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Severity

<!-- Please tell us how severe is this problem for you. Can you
not use fastn at all. Is this an annoyance, or blocker? Are you
losing data because of it? If suspect this is a SECURITY issue,
please do not create public issue and mail to [email protected]
instead. -->

## Your Environment

<!--- Include as many relevant details about the environment you experienced the bug in -->
Expand Down
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/code_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Code Issue
about: You have found some issue with the code?
labels: code-issue
---

Your issue may already be reported! Please search on the [`fastn` issue tracker](https://github.com/fastn-stack/fastn/issues) before creating one.

<!--- fastn Issue Tracker is only for bugs or defects, please
suggest feature requests and ideas on
https://github.com/orgs/fastn-stack/discussions/categories/ideas-rfcs -->

<!-- This is only for code related to features already implemented, if you are proposing to extend
any existing feature, please go the ideas-rfcs discussion linked above -->

## What part of code do you find problematic?

<!--- Link to source file and line number here. You can also copypaste code snippet. -->

## Descript what is wrong with this code?

<!-- found a code fragment with missing test? A dependency is out of date? We are using Rust wrong?
Found a more effecient way to write any function? Recommending any refactor? -->

30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@main
- uses: actions/cache@v2
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand All @@ -35,17 +35,17 @@ jobs:
docker cp fastn-build:/home/rust/src/target/x86_64-unknown-linux-musl/release/fastn out/
- name: run fastn
run: out/fastn --version
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: linux_musl_x86_64
path: out/fastn
release-windows:
name: Build for Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand All @@ -63,7 +63,7 @@ jobs:
args: --release
- name: run fastn
run: ./target/release/fastn.exe --version
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: windows_x64_latest
path: target/release/fastn.exe
Expand All @@ -80,17 +80,17 @@ jobs:
with:
arguments: /V3 /DCURRENT_WD=${{ github.workspace }} /DVERSION=${{ github.event.inputs.releaseTag }}
additional-plugin-paths: ${{ github.workspace }}/NSIS_Plugins/Plugins
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: windows_x64_installer.exe
path: windows_x64_installer.exe
release-macos:
name: Build for MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand All @@ -108,7 +108,7 @@ jobs:
args: --release --features=auth
- name: run fastn
run: ./target/release/fastn --version
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: macos_x64_latest
path: |
Expand All @@ -118,20 +118,20 @@ jobs:
runs-on: ubuntu-latest
needs: [release-ubuntu, release-macos, release-windows]
steps:
- uses: actions/checkout@main
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: macos_x64_latest
path: ~/download/macos
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: linux_musl_x86_64
path: ~/download/linux_musl
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows_x64_latest
path: ~/download/windows
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows_x64_installer.exe
path: ~/download/windows
Expand Down
Loading

0 comments on commit ca77c55

Please sign in to comment.