Bowerbird is a WordPress plugin update install tool. It queries a Jira API to find and simplify the process of updating WordPress plugins, while still tracking them via Jira tickets. Meant for an environment where strict version control is needed. Named after an industrious creature who excels at building.
Googles' Go language installed to enable building executables from source code.
A bowerbird.json file to enable authorized Jira API querying, and everything needed to push plugin update files to a repository (see json folder for reference).
Bowerbird searches the targeted Jira API for tickets marked as "New" (aka ToDo), with a summary containing the wordpress-plugin vendor tag. It then gathers the qualifying candidates and runs a series of composer require commands on the composer.json file and pushes the updates to a designated branch.
Inside of your Bowerbird project, you'll see the following folders and files:
.
├── cmd/
│ ├── main.go
├── internal/
│ ├── tools.go
│ ├── vars.go
├── json/
│ ├── bowerbird.json.example
├── workers/
│ ├── packagist.go
│ ├── tasks.go
├── .gitignore
├── go.mod
├── LICENSE.md
├── README.mdBefore building the application, change the value of the Temp and Meta constants to reflect your environment:
Temp string = "/data/automation/temp/"
Meta string = "/data/automation/jsons/bowerbird.json"Then, run the go build command:
go build -o bowerbird cmd/main.gobowerbird -u| Command | Action |
|---|---|
-h, -help |
Help information |
-u, -update |
Run main program |
-v, -version |
Display program version |
Code is distributed under The Unlicense and is part of the Public Domain.