Skip to content

Releases: eviweb/forgejo-installer

1.0.0

23 Mar 15:51
1.0.0
9e16eeb

Choose a tag to compare

[1.0.0] - 2026-03-23

Added

  • forgejo-setup.sh: interactive installer for Forgejo
    • Essential parameters prompted with defaults (version, domain, ports, database)
    • Optional parameters prompted as yes/no (app name, registration, indexer, SMTP)
    • Symlink-safe via readlink -f
    • All files installed under /home/git; systemd unit symlinked to /etc/systemd/system/
    • Automatic git tracking and commit of configuration files in /home/git
    • install command (default) and uninstall (with --keep-data)
    • --help and --version flags
    • Version read from VERSION file at runtime
  • run_tests.sh: bats test runner with install instructions
  • tests/test_cli.bats: 16 black-box CLI tests
  • tests/test_config.bats: 22 unit tests for directory layout, app.ini, service file, git tracking
  • tests/test_utils.bats: 17 unit tests for helper functions
  • tests/helpers/common.bash: shared test helpers and mock infrastructure
  • .github/workflows/tests.yml: CI pipeline running bats on push and pull requests
  • .github/ISSUE_TEMPLATE/: bug report and feature request templates
  • .github/PULL_REQUEST_TEMPLATE.md: pull request checklist
  • CONTRIBUTING.md: commit conventions, test instructions, development workflow
  • SECURITY.md: vulnerability reporting policy
  • README.md, CHANGELOG.md, VERSION, LICENSE.md (MIT), .gitignore

Fixed