bee

🐝 bee - plugin-based bash automation

MIT License

Stars
72
bee - bee-1.4.0 Latest Release

Published by sschmid about 2 years ago

Added

  • Add bee update completion
  • Add bee zsh theme

Changed

  • Switch branch and pull when bee update <branch>
bee - bee-1.3.1

Published by sschmid about 2 years ago

Added

  • Add bee --batch --allow-fail
  • Skip mapping already mapped plugins

Changed

  • Functions use return instead of exit
bee - bee-1.3.0

Published by sschmid about 2 years ago

Added

  • Run bee::secrets before running plugins
bee - bee-1.2.2

Published by sschmid about 2 years ago

Added

  • Add local plugins to Beefile.lock
  • Add support for local plugins in bee info

Fixed

  • Fix resolve local plugins with local tag
bee - bee-1.2.1

Published by sschmid about 2 years ago

Fixed

  • Fix installing local plugin dependencies
bee - bee-1.2.0

Published by sschmid about 2 years ago

Added

  • Add bee plugins --lock

Changed

  • Exit bee plugins with error when missing plugins

Fixed

  • Check for BEE_FILE instead of hard coded Beefile path
bee - bee-1.1.0

Published by sschmid over 2 years ago

Added

  • Only map plugins when needed
  • Add updating bee from a specific branch
  • Add TEST_BASH_VERSION to support GitHub actions matrix
  • Add FAQ link to readme
  • Add instructions on how to test and build bee

Changed

  • Append to .bashrc in Dockerfile
  • Change default branch to develop

Removed

  • Remove VOLUME in Dockerfile
bee - bee-1.0.0

Published by sschmid over 2 years ago

Note

bee 1.0.0 is a complete rewrite from scratch
using bats for
test-driven development (TDD). As a result bee 1.0.0 is more flexible,
more efficient, more secure and scales better with an increasing number
of plugins. See https://github.com/sschmid/bee/projects/1

The new bee bash completion is faster and let's you add custom completions for
your plugins to make working with plugins even more convenient.

While most of the api stays the same, there are breaking changes.
Most importantly, plugin functions are now completed and invoked
without ::, e.g.

bee github me   # instead of bee github::me

It's also recommended to backup and delete your existing ~/.beerc
and let bee generate a new one by simply running any bee command.
Please merge the newly generated ~/.beerc with your previous one if you want
to be backwards compatible and support bee versions < 1.0.0.

bee still supports older versions by specifying a version in your Beefile

BEE_VERSION=0.41.0

Registries are now referred to as hubs.

The new bee bash completion can be activated by adding this to your ~/.bashrc or ~/.zshrc

echo "complete -C bee bee" >> ~/.bashrc

Consider removing the old one by deleting bee-completion.bash
and removing it from your ~/.bashrc or ~/.zshrc

rm /usr/local/etc/bash_completion.d/bee-completion.bash

Added

  • Add bats and unit tests
  • Add os directory to support various platforms like macOS, alpine, Windows WSL, etc.
  • bee install generates Beefile.lock to share exact plugin versions across the team

Changed

  • Plugin functions are now completed and invoked without ::,
    • e.g. bee github me instead of bee github::me
  • Plugin dependencies now must be stored in plugin.json instead of myplugin::deps
  • Hubs now must use plugin.json instead of plugin.sh
  • Prefix all bee functions, e.g
    • bee::log_info instead of log_info,
    • bee::job instead of job
  • bee api changes, see bee --help
  • Use complete -C bee bee instead of source /usr/local/etc/bash_completion.d/bee-completion.bash

Removed

  • Remove short options like -v in favour of long options like --verbose
  • Remove bee changelog
  • Remove bee commands
  • Remove bee depstree
  • Remove bee donate
  • Remove bee reinstall
  • Remove bee switch
  • Remove bee uninstall
bee - bee-0.41.0

Published by sschmid about 3 years ago

Changed

  • Rename BEE_RC to BEEFILE
bee - bee-0.40.0

Published by sschmid about 3 years ago

Added

  • Add help text when plugins are missing
  • Cache docker apk add

Changed

  • Rename project's .beerc to Beefile
  • Update install url to use main branch
bee - bee-0.39.1

Published by sschmid over 3 years ago

Added

  • Pass exit code to BEE_EXIT_TRAPS
bee - bee-0.39.0

Published by sschmid over 3 years ago

Action required

  • Delete master branch and use main branch
  • Update bee symlink ln -sf /usr/local/opt/bee/src/bee /usr/local/bin/bee
  • Update your ~/.beerc and specify plugin registries
BEE_PLUGIN_REGISTRIES=(
  https://github.com/sschmid/beehub.git
)

Plugins have been removed from this repository and moved to their own repositories.

By the time of this release, these plugins are available:

bee now functions as a plugin launcher with package management functionality. The plugins above are registered at beehub which is the official bee plugin register: https://github.com/sschmid/beehub

You can register your own plugin at beehub by creating a pull request. You can also create your own custom register for your personal or private plugins.

Please refer to the README.md for more information.

Added

  • Add support for external plugin registries (beehub: https://github.com/sschmid/beehub)
  • Add support for plugin versions
  • Load adhoc plugins with all dependencies
  • Prevent sourcing already sourced plugins
  • Use bash strict mode
  • Add bee changelog
  • Add bee job
  • Add commands search filter
  • Add bee lint
  • Add bee hash
  • Add bee pull
  • Add bee install
  • Add bee reinstall
  • Add bee uninstall for plugins
  • Add bee info
  • Add bee outdated
  • Add bee depstree
  • Add bee batch
  • Add bee cache
  • Add bee switch
  • Add plugin traps
  • Add global force option bee -f
  • Add global ssh option bee -p
  • Only log if BEE_SILENT is 0
  • Ask before uninstalling
  • Add Dockerfile

Changed

  • Delete master branch and use main branch
  • Rename bee.sh to bee
  • Merge all bee source files into one file
  • Rename --silent to -s
  • Rename --verbose to -v
  • Rename templates folder to resources
  • Rename log_strong to log_info
  • Change warning and error emojis
  • Refactoring

Removed

  • Delete all plugins and use beehub
bee - bee-0.38.0

Published by sschmid almost 4 years ago

Added

  • Add macos::notification
bee - bee-0.37.3

Published by sschmid almost 4 years ago

Added

  • Add bee_migration_0370.sh
bee - bee-0.37.2

Published by sschmid almost 4 years ago

Changed

  • Store bee versions in ~/.bee/versions
bee - bee-0.37.1

Published by sschmid almost 4 years ago

Changed

  • Fix bee update to only update system bee
bee - bee-0.37.0

Published by sschmid almost 4 years ago

Action required

  • Rename your project bee.sh to .beerc
  • Rename PROJECT to BEE_PROJECT
  • Rename RESOURCES to BEE_RESOURCES

Added

  • Add support for custom .beerc path with BEE_RC
  • Add support for fixed bee version per project by defining BEE_VERSION in your project .beerc

Changed

  • Rename PROJECT to BEE_PROJECT
  • Rename RESOURCES to BEE_RESOURCES
  • Extract bee_runner.sh from bee_sh

Removed

  • Remove get command
bee - bee-0.36.0

Published by sschmid almost 4 years ago

General

  • Uninstall git lfs
  • Replace lfs pointers with real files

Added

  • Add lfs::untrack_and_add
  • Add lfs::track_and_add_type
  • Add lfs::untrack_and_add_type

Changed

  • Rename tag to BEE_VERSION in get
bee - bee-0.35.0

Published by sschmid almost 4 years ago

Added

  • Add get script to download a specific bee version
  • Add github::create_org_repo
  • Add github::remove_team
  • Add github::add_user
  • Add github::remove_user
  • Add Add github::me

Changed

  • Print real BEE_RC path in help
bee - bee-0.34.0

Published by sschmid about 4 years ago

Added

  • Add support for custom .beerc path by exporting BEE_RCs
Badges
Extracted from project README
CI Coverage Status Chat Twitter