Skip to content

v0.1.0-rc3

Pre-release
Pre-release
Compare
Choose a tag to compare
@Notgnoshi Notgnoshi released this 19 Aug 18:15
· 66 commits to main since this release
696a7ed

Herostratus - 0.1.0-rc3 - (2024-08-19)

Herostratus n. 1. An ancient Greek known for winning fame through crime and destruction. 2. Also a Git repository achievements engine.

  • The add and fetch-all subcommands now support cloning both SSH and HTTPS URLs.

    • Host SSH agent (the default)
    • SSH private and public keys, including those protected by a passphrase
    • HTTPS username + password

    Assuming the user has their SSH agent configured, and can "just" git clone the same SSH URL, so
    can Herostratus!

    herostratus add [email protected]:Notgnoshi/herostratus.git test/fixup
  • The add subcommand now handles sharing the same clone directory between two repositories with
    the same remote.

    herostratus add [email protected]:Notgnoshi/herostratus.git test/simple --name hero-1
    herostratus add [email protected]:Notgnoshi/herostratus.git test/fixup --name hero-2

    Each (URL, Branch) pair must have a unique name. If a unique name is not specified, the second
    invocation will overwrite the first.

  • After a repository has been added, Herostratus can fetch from the default origin remote with

    herostratus fetch-all

    It will fetch whatever branches have been added, as opposed to fetching everything.

    If the repository hasn't been cloned yet (you passed --skip-clone to add), it will be cloned
    at this time.

  • The check-all subcommand now fetches by default and has a --no-fetch flag to disable. This is
    the expected way to fetch-and-check added repositories.

    # One time setup
    herostratus add <URL> [BRANCH]
    herostratus add <URL> [BRANCH]
    ...
    
    # Repeatedly by the user (on a timer, or when they're bored)
    herostratus check-all