projects:projects
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:projects [2026/06/12 09:15] – [voyc release management] jhagstrand | projects:projects [2026/06/16 03:27] (current) – [End Branch] jhagstrand | ||
|---|---|---|---|
| Line 70: | Line 70: | ||
| =====Developer Guidelines===== | =====Developer Guidelines===== | ||
| + | |||
| + | ==== Tab Indents ==== | ||
| + | |||
| + | Always use the tab character to indent. | ||
| ====.gitignore==== | ====.gitignore==== | ||
| Line 78: | Line 82: | ||
| css.min | css.min | ||
| index.php | index.php | ||
| + | RELEASES.md | ||
| ==== Duplicate Content ==== | ==== Duplicate Content ==== | ||
| Line 202: | Line 206: | ||
| | | ||
| git for-each-ref --sort=-version: | git for-each-ref --sort=-version: | ||
| + | |||
| + | |||
| + | Practices: | ||
| + | * Commits made only in feature branch. | ||
| + | * We let aider auto-commit every change. | ||
| + | * At merge, we generally keep the detailed commits, but squash is optional. | ||
| + | * The commit log is for developers. | ||
| + | * At release, we create a tag, observing SemVer, with hand-written message. | ||
| + | * Public release history is generated from the tag messages. | ||
| + | * Conventional commits types are used only on the commit messages, not the tag messages. | ||
| + | |||
| + | |||
| + | ==== One-time Fix Privacy in Log ==== | ||
| + | |||
| + | # in laptop dev repo | ||
| + | git checkout fixlog | ||
| + | git filter-repo --mailmap .mailmap --force | ||
| + | | ||
| + | git checkout master | ||
| + | git merge fixlog | ||
| + | git branch -d fixlog | ||
| + | | ||
| + | git push origin master --force --tags | ||
| + | git push gitlab master --force --tags | ||
| + | |||
| + | ==== Start Branch ==== | ||
| + | git branch peaceful | ||
| + | |||
| + | ==== Save Work ==== | ||
| + | # save work | ||
| + | git checkout peaceful | ||
| + | git push origin peaceful | ||
| + | | ||
| + | ==== End Branch ==== | ||
| + | git checkout master | ||
| + | git merge --squash peaceful | ||
| + | git commit -m ' | ||
| + | git branch -D peaceful | ||
| + | git push origin master | ||
| + | git push origin --delete peaceful | ||
| + | |||
| + | ==== Deploy ==== | ||
| + | |||
| + | git tag v0.2.0 -m' | ||
| + | | ||
| + | git push origin master --tags | ||
| + | git push gitlab master --tags | ||
| + | | ||
| + | # in production webserver | ||
| + | git fetch origin | ||
| + | git reset --hard origin/ | ||
| + | | ||
| + | git push gitlab master --tags | ||
projects/projects.1781270123.txt.gz · Last modified: 2026/06/12 09:15 by jhagstrand