• v0.3.0 1cd56d953e

    v0.3.0
    Some checks failed
    ci/woodpecker/tag/push-next Pipeline was successful
    ci/woodpecker/tag/cron-docker-builder Pipeline was successful
    ci/woodpecker/tag/tag-created Pipeline was successful
    ci/woodpecker/cron/cron-docker-builder Pipeline was successful
    ci/woodpecker/cron/push-next Pipeline was successful
    ci/woodpecker/cron/tag-created Pipeline was successful
    ci/woodpecker/push/tag-created Pipeline is pending
    ci/woodpecker/push/cron-docker-builder Pipeline was successful
    ci/woodpecker/push/push-next Pipeline failed
    Pre-release

    kemitix released this 2024-05-10 22:02:08 +01:00 | 413 commits to main since this release

    The version is essentially feature complete. More testing and bug bashing is expected, but it currently does everything it is supposed to.

    Bug Fixes

    • Deserialise gitdir as PathBuf, but expose it as GitDir
    • Format path to clone into correctly
    • Use local repo or clone to allow git push
    • Don't try to reset next when dev is not based on main

    Features

    • Add recipe for exposing webhook server
    • Replace webhook if it already exists
    • Replace git abstraction
    • User can specify git directory to use for a repo
    • User must specify a directory to store data
    • Add ability to clone a repo
    • Add GitDir type
    • Use GitDir in place of raw PathBuf
    • Add gitdir to RepoDetails type
    • Clone repo when starting repo
    • Impl Deref for GitDir
    • Validate repo if it already exists
    • Clone repo in-process
    • Use specified gitdir when supplied
    • Remove redundant call to register webhook
    • Avoid duplicate messages being passed for repo actor
    • Extract Server actor
    • Give Server an incremental generation counter
    • Restart server when config file is updated
    • Don't load config from repo if repo config is in server config
    • Reload .git-next.toml from repo when main branch updated
    • Extract git::reset from gitforge::forgejo
    • Include repo in missing handler logs
    • Cache Repository in RepoActor
    • Use cached Repository from RepoActor
    • Allow specifying id address and port to bind to

    Miscellaneous Tasks

    • Version set to 0.3.0
    • Specify clippy flags in Cargo.toml
    • Clean up and reformat logging
    • More cleaning up of logging around fetch and reset
    • Fix typo

    Refactor

    • Migrate some types from forge
    • Delete dead code
    • Move server config loading out of forgejo module
    • Use 'server_repo_config' consistently
    • Use 'repo_path' use consistently
    • Move tests into their own file
    • Rename config variables,etc as repo_config
    • Rename name to repo_alias for consistency
    • Rename name to forge_name for consistency
    • Rename forge as forge_config
    • Extract Repository::open and clone

    Build

    • Renovate should avoid pointless patch PRs
    Downloads