chriswalz / bit

Bit is a modern Git CLI
Apache License 2.0
6.05k stars 106 forks source link

README: add instructions on installing via MacPorts #95

Closed herbygillot closed 3 years ago

chriswalz commented 3 years ago

LGTM is there a way for me to be added as a maintainer for MacPorts Bit? Are releases updated automatically?

herbygillot commented 3 years ago

As of right now, no, it's not automatic - ports are kept updated by maintainers.

Here is the Portfile for bit:

https://github.com/macports/macports-ports/blob/master/devel/bit/Portfile

It has an openmaintainer policy, so anyone is free to open a PR with changes to update the Portfile on each release.

You'd need to get a sense of the MacPorts Portfile format, as well as Portfiles specifically for Go projects. In this case, if we were updating the Portfile for bit's next release, then what would change are:

The last 2 are usually done with the help of the go2ports utility.

Here's an example of a PR that updates the port for the jenkins-cli Golang project: https://github.com/macports/macports-ports/pull/9911/files

(You may want to turn off annotations on the file diff to make it easier to view)

chriswalz commented 3 years ago

Understood, thanks!