Skip to content

Releases: borksh/bork

Bork 0.14.0

01 Feb 17:41
v0.14.0
af5b25c
Compare
Choose a tag to compare

Fixed

Added

  • Bork now supports before hooks. You can define functions named bork_will_change, bork_will_install, bork_will_upgrade or bork_will_remove, and Bork will run them just before making any changes. (#16)
  • You can now use the no command in place of ok to check for the absence, rather than the presence, of an assertion. This will delete files, uninstall packages, etc. when satisfying to ensure an assertion is absent from the system. (#9)
    • A new did_remove function has been added, which you can use after an assertion to determine whether Bork has removed something.
  • New dnf type for the successor to yum. (#35, thanks @jbrubake)
  • Tab completions are now available for bash and zsh. (#19)
  • The user and group types now work on macOS. (#44)
  • You can now pass the --real-name argument to the user type to set a user's real name. (#44)

Package checksums (SHA-256)

72e419c4abcb9e8bf96c1b8bf8e6a5c850b672f8704ad4d59a5944b99a6e9c94 bork_0.14.0_all.deb
180635ef8fa115a058c7e8acedc9c8a4ac80e0cd747ac5abb60b4ff6ef69a3ad bork-0.14.0.pkg
5f88cc5e2bbb7c9a40ac60c07f0ce3a922e3b162ed2e60a7e5c612d7a69d62f2 bork-0.14.0-1.noarch.rpm

Bork 0.13.0

02 Aug 13:19
a427bb1
Compare
Choose a tag to compare

This was originally pre-released as 0.13.0-rc.1 on 2021-07-29.

The second release under Bork's new maintainership (me, @skylarmacdonald)! Thank you in particular to @lucymhdavies for your work on many of the changes below.

Fixed

  • Homebrew is now installed with a shell script instead of the Ruby installer. (#7)
  • the mas type will now check that the user is signed into the App Store before continuing.
  • The mas type will now only update the specified apps instead of all installed apps. (#18)
  • The download type will now follow redirects. (#21)

Added

  • Bork now has a man page in docs/. This will be installed by the next version of the Homebrew formula, but can be installed manually as well by linking or copying into /usr/share/man/man1 (or wherever you keep your man pages).
  • bork types now supports a single type as an argument to get documentation for that specific type only.
  • bork inspect will generate a Bork-compatible config file based on the current status of the system. This is currently available on a per-type basis only, and will only be implemented for some types. (#14)
  • Bork will now report its version by running bork --version (or bork version).
  • The git type can now show untracked files, using the --untracked-files option. It responds to the same values as the --untracked-files option on git: no (default, ignore them), normal or all. (#28)
  • The brew type now accepts a --HEAD option, which will install the latest available git commit as though you had specified the option on the brew install command itself. (#31)
  • Bork will now display its output in colour if the BORK_COLOR environment variable is set. (#24)

Package checksums (SHA-1)

193ba301f8772b2b82a13d1dcd3d0a9801c26296 bork-0.13.0-1.noarch.rpm
f836cb8d9eded84d6df3649f435e3f5e18ee00ad bork-0.13.0.pkg
58a4de0380ec24658548850470017c9dba14f33a bork_0.13.0_all.deb

Bork 0.13.0-rc.1

29 Jul 17:13
96dbdc0
Compare
Choose a tag to compare
Bork 0.13.0-rc.1 Pre-release
Pre-release

This is a release candidate and not yet fully tested, but once it is, will be changed to represent the 0.13.0 release of Bork. Thank you in particular to @lucymhdavies for your work on many of the changes below.

Fixed

  • Homebrew is now installed with a shell script instead of the Ruby installer. (#7)
  • the mas type will now check that the user is signed into the App Store before continuing.
  • The mas type will now only update the specified apps instead of all installed apps. (#18)
  • The download type will now follow redirects. (#21)

Added

  • Bork now has a man page in docs/. This will be installed by the next version of the Homebrew formula, but can be installed manually as well by linking or copying into /usr/share/man/man1 (or wherever you keep your man pages).
  • bork types now supports a single type as an argument to get documentation for that specific type only.
  • bork inspect will generate a Bork-compatible config file based on the current status of the system. This is currently available on a per-type basis only, and will only be implemented for some types. (#14)
  • Bork will now report its version by running bork --version (or bork version).
  • The git type can now show untracked files, using the --untracked-files option. It responds to the same values as the --untracked-files option on git: no (default, ignore them), normal or all. (#28)
  • The brew type now accepts a --HEAD option, which will install the latest available git commit as though you had specified the option on the brew install command itself. (#31)
  • Bork will now display its output in colour if the BORK_COLOR environment variable is set. (#24)

v0.12.0

20 Feb 12:44
20f74e4
Compare
Choose a tag to compare

Hello! I've forked bork in 2021 to fix some bugs and carry on the project. I'm indebted to @mattly for his work on it up to this point.

Fixed

  • the cask type will now work with updated versions of Homebrew, where brew cask install has been replaced with brew install --cask.
  • all tests should now pass on BSD and GPL environments (tested on macOS and Ubuntu, please raise an issue if you run into failures on other platforms).
  • CI changed to GitHub Actions and running in a matrix on both macOS and Ubuntu runners.

Added

  • new pip3 type for Python 3.x
  • new shells type for registering a shell in /etc/shells
  • apk type support has now been merged and the tests fixed. Thanks @mattly & @jitakirin for your work in 2018!
  • there is now Markdown documentation in docs/, which is also the source of the GitHub Pages site.

v0.11.1

09 Feb 15:04
Compare
Choose a tag to compare
  • The --size option in the download type is going away. It will be replaced with some sort of hash checking option.
  • the ok statement now single-quotes arguments to the type handler. This is the first step in a more consistent and correct behavior for quoting things in Bork.
  • The github type once again works correctly in compiled scripts.
  • There is no longer a bin/bork_compile script for someone to try to run when they shouldn't.
  • Homebrew doesn't treat tap names as case-sensitive, and now neither does bork.
  • Clarified some documentation around the update behavior for the brew-tap type.

These release notes are a couple of years old (and are only just being made into a GitHub release in 2021), so I removed all the credits to save you all getting pinged again. The credits are all visible in the changelog.