refacto: pg_morbac -> pgmorbac
This commit is contained in:
+7
-7
@@ -3,21 +3,21 @@
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
pg_morbac/
|
||||
pgmorbac/
|
||||
├── src/ # Modular SQL source files
|
||||
├── tests/ # Test files
|
||||
├── tools/ # Build and test scripts
|
||||
├── docs/ # Documentation
|
||||
├── pg_morbac.control # Version source of truth
|
||||
├── pg_morbac.sql # Generated (git-ignored)
|
||||
├── pgmorbac.control # Version source of truth
|
||||
├── pgmorbac.sql # Generated (git-ignored)
|
||||
└── Makefile # Build automation
|
||||
```
|
||||
|
||||
## Version Management
|
||||
|
||||
Version is defined in `pg_morbac.control` under `default_version`.
|
||||
Version is defined in `pgmorbac.control` under `default_version`.
|
||||
|
||||
Edit source files in `src/` and commit them. Never edit or commit `pg_morbac.sql` (generated by build script).
|
||||
Edit source files in `src/` and commit them. Never edit or commit `pgmorbac.sql` (generated by build script).
|
||||
|
||||
## Development Workflow
|
||||
|
||||
@@ -49,14 +49,14 @@ The build script concatenates `src/` files in dependency order (header first, fo
|
||||
```bash
|
||||
make build
|
||||
createdb mytest
|
||||
psql -d mytest -f pg_morbac.sql
|
||||
psql -d mytest -f pgmorbac.sql
|
||||
psql -d mytest
|
||||
dropdb mytest
|
||||
```
|
||||
|
||||
## Release Process
|
||||
|
||||
1. Update version in `pg_morbac.control`
|
||||
1. Update version in `pgmorbac.control`
|
||||
2. Update `CHANGELOG.md`
|
||||
3. Run `make build` and `make test`
|
||||
4. Commit and tag:
|
||||
|
||||
Reference in New Issue
Block a user