plugn

Hook system that lets users extend your application with plugins

  • 所有者: dokku/plugn
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

plugn Build Status

Hook system that lets users extend your application with plugins

Installation

$ wget -qO /tmp/plugn_latest.tgz https://github.com/dokku/plugn/releases/download/v0.3.2/plugn_0.3.2_linux_x86_64.tgz
$ tar xzf /tmp/plugn_latest.tgz -C /usr/local/bin

Usage

$ PLUGIN_PATH=/var/lib/dokku/plugins plugn

Available commands:
  config                       Plugin configuration
  disable                      Disable a plugin
  enable                       Enable a plugin
  help                         Shows help information for a command
  init                         Initialize an empty plugin path
  install                      Install a new plugin from a Git URL
  list                         List all local plugins
  source                       Source commands for sourcable plugins
  trigger                      Triggers hook in enabled plugins
  uninstall                    Remove plugin from available plugins
  update                       Update plugin and optionally pin to commit/tag/branch
  version                      Show version

Building & Testing (in docker)

$ docker-machine create -d virtualbox plugn-dev
$ eval $(docker-machine env plugn-dev)
$ make build-in-docker
$ make test

Plugin directory structure example

ps (plugin name)
├── [-rw-r--r--]  plugin.toml (metadata)
├── [-rwxr-xr-x]  post-deploy (trigger)
├── [-rwxr-xr-x]  post-stop  (trigger)
└── [-rwxr-xr-x]  pre-deploy (trigger)

plugin.toml format example

[plugin name]
description = "plugin description"
version = "0.1.0"

Releases

Anybody can propose a release. First bump the version in Makefile, make sure CHANGELOG.md is up to date, and make sure tests are passing. Then open a Pull Request from master into the release branch. Once a maintainer approves and merges, CircleCI will build a release and upload it to Github.

License

BSD

主要指标

概览
名称与所有者dokku/plugn
主编程语言Shell
编程语言Makefile (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2014-10-17 01:53:08
推送于2025-06-11 19:11:55
最后一次提交
发布数28
最新版本名称v0.16.0 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数84
关注者数7
派生数23
提交数351
已启用问题?
问题数16
打开的问题数0
拉请求数140
打开的拉请求数3
关闭的拉请求数63
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?