Skip to content

Commit cdb3ab8

Browse files
authored
Merge pull request #156 from syncable-dev/develop
fix: .qodor folder for some reason wasn't corectly ignored
2 parents a984d23 + c701fb0 commit cdb3ab8

3 files changed

Lines changed: 54 additions & 3 deletions

File tree

.github/workflows/release-plz.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626
token: ${{ secrets.RELEASE_PLZ_TOKEN }} # ← checkout must use the same token
27+
- name: Check for uncommitted changes
28+
run: |
29+
git status --porcelain
30+
test -z "$(git status --porcelain)"
2731
- name: Install Rust toolchain
2832
uses: dtolnay/rust-toolchain@stable
2933
- name: Run release-plz
@@ -50,10 +54,14 @@ jobs:
5054
with:
5155
fetch-depth: 0
5256
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
57+
- name: Check for uncommitted changes
58+
run: |
59+
git status --porcelain
60+
test -z "$(git status --porcelain)"
5361
- name: Install Rust toolchain
5462
uses: dtolnay/rust-toolchain@stable
5563
- name: Run release-plz PR
5664
uses: release-plz/action@v0.5
5765
with:
5866
command: release-pr
59-
manifest_path: Cargo.toml
67+
manifest_path: Cargo.toml

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ target/
55

66
# These are backup files generated by rustfmt
77
**/*.rs.bk
8-
.qoder
8+
9+
# Ensure all .qoder files are ignored
10+
.qoder/
11+
.qoder/*
12+
.qoder/**/*
913

1014
# MSVC Windows builds of rustc generate these, which store debugging information
1115
*.pdb
@@ -19,4 +23,4 @@ target/
1923
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
2024
# and can be added to the global gitignore or merged into this file. For a more nuclear
2125
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
22-
#.idea/
26+
#.idea/

docs/qoder-directory.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# .qoder Directory
2+
3+
## Overview
4+
5+
The `.qoder` directory contains development artifacts generated during the development process of the syncable-cli project. These files are not part of the released code and should be ignored by version control.
6+
7+
## Contents
8+
9+
The directory typically contains:
10+
11+
- Quest files (design documents) in `.qoder/quests/`
12+
- Rule files in `.qoder/rules/`
13+
14+
## Purpose
15+
16+
These files are generated by the Qoder IDE during development to store:
17+
18+
1. Quest files - Development tasks and implementation guides
19+
2. Rules files - Project-specific coding rules and constraints
20+
21+
## Version Control
22+
23+
The `.qoder` directory and all its contents are intentionally ignored in version control through the `.gitignore` file. This ensures that:
24+
25+
1. Development artifacts don't clutter the repository
26+
2. Developer-specific configurations are not shared
27+
3. The release process is not affected by uncommitted changes
28+
29+
## Git Ignore Patterns
30+
31+
The following patterns in `.gitignore` ensure proper ignoring of the directory:
32+
33+
```gitignore
34+
.qoder/
35+
.qoder/*
36+
.qoder/**/*
37+
```
38+
39+
These patterns ensure that all files and subdirectories within the `.qoder` directory are ignored by Git.

0 commit comments

Comments
 (0)