Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Remove git pre-commit hook requirement

Leendert de Borst0462e3522bbd
diff --git a/.github/hooks/commit-msg b/.github/hooks/commit-msg
deleted file mode 100644
index 435d5a4ab..000000000
--- a/.github/hooks/commit-msg
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-# Commit-msg hook to check commit messages for issue number in format "(#123)"
-
-commit_message=$(cat "$1")
-
-if ! grep -q "(\#[0-9]\+)" <<< "$commit_message"; then
- echo "Error: Commit message must contain an issue number in the format \"(#123)\""
- exit 1
-fi
diff --git a/docs/misc/dev/linux-macos-development.md b/docs/misc/dev/linux-macos-development.md
index 9c64d75f8..35efb2bb5 100644
--- a/docs/misc/dev/linux-macos-development.md
+++ b/docs/misc/dev/linux-macos-development.md
@@ -33,17 +33,7 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
cd AliasVault
```
-2. **Copy pre-commit hook script**
- {: .note }
- All commits in this repo are required to contain a reference to a GitHub issue in the format of "your commit message (#123)" where "123" references the GitHub issue number.
-
- ```bash
- # Copy the commit-msg hook script
- cp .github/hooks/commit-msg .git/hooks/commit-msg
- chmod +x .git/hooks/commit-msg
- ```
-
-3. **Install dotnet CLI EF Tools**
+2. **Install dotnet CLI EF Tools**
```bash
# Install dotnet EF tools globally
dotnet tool install --global dotnet-ef
@@ -56,12 +46,12 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
dotnet ef
```
-4. **Install dev database**
+3. **Install dev database**
```bash
./install.sh configure-dev-db
```
-5. **Run Tailwind CSS compiler**
+4. **Run Tailwind CSS compiler**
```bash
# For Admin project
cd src/AliasVault.Admin
@@ -72,7 +62,7 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
npm run build:client-css
```
-6. **Install Playwright for E2E tests**
+5. **Install Playwright for E2E tests**
```bash
# Install Playwright CLI
dotnet tool install --global Microsoft.Playwright.CLI
@@ -81,7 +71,7 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net9.0/playwright.ps1 install
```
-7. **Configure Development Settings**
+6. **Configure Development Settings**
Create `wwwroot/appsettings.Development.json` in the Client project:
```json
{
diff --git a/docs/misc/dev/windows-development.md b/docs/misc/dev/windows-development.md
index 9ff750619..4e317af87 100644
--- a/docs/misc/dev/windows-development.md
+++ b/docs/misc/dev/windows-development.md
@@ -39,18 +39,7 @@ This guide will help you set up AliasVault for development on Windows using WSL
git clone https://github.com/lanedirt/AliasVault.git
cd AliasVault
```
-
-2. **Copy pre-commit hook script**
- {: .note }
- All commits in this repo are required to contain a reference to a GitHub issue in the format of "your commit message (#123)" where "123" references the GitHub issue number.
-
- ```bash
- # Copy the commit-msg hook script
- cp .github/hooks/commit-msg .git/hooks/commit-msg
- chmod +x .git/hooks/commit-msg
- ```
-
-3. **Configure WSL**
+2. **Configure WSL**
- Open WSL terminal
- Edit WSL configuration:
```bash
@@ -72,7 +61,7 @@ This guide will help you set up AliasVault for development on Windows using WSL
wsl --shutdown
```
-4. **Setup Development Database**
+3. **Setup Development Database**
- Open a new WSL terminal in the AliasVault directory
- Run the development database setup:
```bash
@@ -84,7 +73,7 @@ This guide will help you set up AliasVault for development on Windows using WSL
docker ps | grep postgres-dev
```
-5. **Run the Application**
+4. **Run the Application**
- Open the solution in Visual Studio 2022
- Set WebApi as the startup project
- Press F5 to run in debug mode