Closed herbygillot closed 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:
go.setup
specgo.vendors
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)
Understood, thanks!
LGTM is there a way for me to be added as a maintainer for MacPorts Bit? Are releases updated automatically?