Skip to content

Latest commit

 

History

114 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bowerbird

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.

📚 Prerequisites

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).

🔩 Function

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.

📂 Project Structure

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.md

🚧 Build

Before 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.go

🏃 Run

bowerbird -u

🎏 Available Flags

Command Action
-h, -help Help information
-u, -update Run main program
-v, -version Display program version

🎫 License

Code is distributed under The Unlicense and is part of the Public Domain.

About

Update WordPress plugins quickly and easily.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages