Skip to content

added configurable data directory support using CRG_DATA_DIR environment variable #155#156

Open
Bakul2006 wants to merge 3 commits intotirth8205:mainfrom
Bakul2006:bakul2006/#155
Open

added configurable data directory support using CRG_DATA_DIR environment variable #155#156
Bakul2006 wants to merge 3 commits intotirth8205:mainfrom
Bakul2006:bakul2006/#155

Conversation

@Bakul2006
Copy link
Copy Markdown

The .code-review-graph directory is currently hardcoded at the repository root, with no way to customize its location. This causes issues with project structure, CI/CD workflows, and monorepo setups.

Introduced support for a configurable data directory using the CRG_DATA_DIR environment variable
Centralized path resolution via a helper function (get_data_dir)
Updated all relevant usages:
Database (graph.db)
Wiki directory
HTML graph output
Registry path

@rahatsayyed
Copy link
Copy Markdown

@tirth8205 can you merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants