Patchwork: Is the patchwork brew cask safe?

Created on 22 Jun 2019  路  9Comments  路  Source: ssbc/patchwork

I don't see any information about this in the install/readme/download guides. Is this safe to use / supported by the dev team?

brew search patchwork
==> Casks
patchwork                                            patchwork

Looks safe, but no mention of it anywhere makes me want to check.

https://formulae.brew.sh/cask/patchwork#default

stale question

All 9 comments

I didn't know there was a brew cask, cool!

I don't know anyone who's maintaining it, but it looks like it's currently up-to-date and the code looks fine to me. If we can identify a maintainer who can keep the cask up-to-date then I'm happy to add a link to the Patchwork readme. I'm not on macOS or I'd be super down to take care of it myself.

Seems to be a whole bunch of people maintaining it, but @miikka has done a few of the updates.

Hi! I use the cask and I鈥檝e updated it many times whenever there has been a new version and nobody else has done it. However, since my Patchwork usage has been on and off, I wouldn鈥檛 want to be considered as a maintainer.

@miikka thanks for helping maintain it anyway :) Do you think we should keep looking for 1 maintainer, or doesn't brew work like that? (i.e. do updates always come from different people?)

The changes are pretty minor. If someone from SSBC just changed the SHA every release it would be pretty easy to have a trusted person do the update.

@Powersource, I think it's typical that the updates come from different people. There's even an easy-to-use tool for updating the version of a cask. You enter the new version and tool downloads the new version, calculates the hash, edits the cask and creates a pull request.

Interesting, then perhaps a github webhook could handle this, or a plain git deploy hook.

$ cd .git/hooks/
$ vim post-receive

with something like this?

#!/bin/bash 
set -eu

BRANCH="master"

while read oldrev newrev ref
do
        # only run on changes to $BRANCH (or whatever branch you would like to deploy)
        if [[ $ref = refs/heads/"$BRANCH" ]];
        then
                cask-repair patchwork
        fi
done

We have a build bot, @hermes-bot, maybe we could integrate with that somehow?

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cinnamon-bun picture cinnamon-bun  路  4Comments

geovanisouza92 picture geovanisouza92  路  3Comments

skippednote picture skippednote  路  6Comments

adamnovak picture adamnovak  路  6Comments

mmckegg picture mmckegg  路  5Comments