Skip to content

Dev#26

Merged
KashifKhn merged 2 commits into
mainfrom
dev
Feb 4, 2026
Merged

Dev#26
KashifKhn merged 2 commits into
mainfrom
dev

Conversation

@KashifKhn

Copy link
Copy Markdown
Owner

No description provided.

Comprehensive documentation audit revealed several discrepancies between
code and documentation. This commit addresses all identified issues:

Documentation Fixes:
- Update dependency count from 230+ to 330+ in dependencies.md (3 locations)
- Add missing 'docker' category to doctor --category flag documentation
- Document missing --force/-f flag in dockerize command
- Update version example in installation.md to use generic vX.Y.Z placeholder

Sidebar Improvements:
- Add missing 'haft docker' command to sidebar
- Add missing 'haft doctor' command to sidebar
- Add missing 'haft generate scheduler' subcommand for consistency

Code Improvements:
- Align catalog.go category names with documentation:
  * 'Data' -> 'Data Processing'
  * 'AI' -> 'AI & Machine Learning'
  * 'Maps' -> 'Maps & Geo'
- Improves CLI output consistency when running 'haft add --list'

Files changed:
- docs/docs/commands/docker.md
- docs/docs/commands/doctor.md
- docs/docs/guides/dependencies.md
- docs/docs/installation.md
- docs/sidebars.ts
- internal/cli/add/catalog.go

All changes verified against source code in internal/cli/ to ensure 100%
alignment between implementation and documentation.
…rompts

- Add smart merge functionality for docker-compose.yml that preserves user customizations
- Always prompt for database selection in interactive mode (not just when JPA detected)
- Add --force/-f flag to completely overwrite existing files when needed
- Merge logic preserves custom env vars, volumes, build configs, and container names
- Add database services without removing existing configurations
- Add comprehensive tests for merge functionality and force overwrite
- Improve UX with clear feedback messages (Merged, Added, Updated, Overwritten)

This makes the dockerize workflow iterative and non-destructive, allowing users
to evolve their Docker setup without losing customizations.
@gitguardian

gitguardian Bot commented Feb 4, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
24571530 Triggered Generic Password 72abb5d internal/cli/docker/docker_test.go View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@KashifKhn KashifKhn merged commit 9afdb85 into main Feb 4, 2026
14 of 15 checks passed
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.

1 participant