2017 © Pedro Peláez
 

library releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

image

gundars/releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  • Thursday, April 28, 2016
  • by gundars
  • Repository
  • 1 Watchers
  • 3 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 17 Versions
  • 0 % Grown

The README.md


.---. .----------- / \ __ / ------ / / \( )/ ----- '||'''|, '||` ////// ' \/ ` --- || || || //// / // : : --- ||...|' .|''|, || .|''|, '''|. ('''' .|''|, '||''| // / / /` '-- || \\ ||..|| || ||..|| .|''|| `'') ||..|| || // //..\\ .|| \\. `|... .||. `|... `|..||. `...' `|... .||. =============UU====UU==== '//||\\` ''``

Releaser is an automated semantic release version manager for PHP applications, (*1)

It is intended to save time on individuals and companies - release all your repositories in a minute!, (*2)

Provide Releaser with your repository name, and it will release it alongside all of its modified dependencies., (*3)

Basic Releaser flow:

  • gets data for main repo you want to release
  • finds all of its dependencies
  • finds all dependency dependencies until all accounted for
  • figure out which repos changed since last release
  • release all modified dependencies in logical order
  • release main repo

Installation

Add a dependency to your composer, execute, (*4)

composer require gundars/releaser 0.*

Releasing a repository via PHP

$releaser = new \Releaser\Releaser('$token', '$owner');
$releaser->release($repository, $whitelistDepCommonNames, $blacklistDepCommonNames $type, $sourceRef, $mode);

#for example, this repo is released using:
$releaser = new \Releaser\Releaser('55b48e382257a...', 'gundars');
$releaser->release('releaser', 'gundars', [], 'minor', 'dev-master', 'sandbox');

Arguments:

First Header Sample Description
$token 'a0bc9q42g3f4asd' Github API token
$owner 'github-account' Name of the github repo owner that is being released
$repository 'reponame' Name of the github repository that is being released
$whitelistDepCommonNames ['goodrepoprefix'] All dependencies with this in their name wil lbe released, can be same as $owner or empty
$blacklistDepCommonNames ['badrepoprefix'] All dependencies with these strings in their name will be ignored, [] by default
$type 'major' Type of release (major 1.0.0, minor 1.1.0 (default), patch 1.1.1)
$sourceRef 'master' Source repository release base - tag, branch, or release. Default - master
$mode 'interactive' 'interactive' - ask for input, then release (default), 'sandbox' - show what would be released, 'noninteractive' - release without prompting user confirmation

Releasing a repository via CLI or web

To run via bash, execute ./cli/run.sh, define params there To run via browser, execute php ./cli/release.php using cli args or $_GET or $_POST parameters, (*5)

Currently known issues, unimplemented features, garbage

  • option to force release on unchanged repos for stability
  • option to release require-dev dependencies
  • replace err and msg with proper 7 tier logger interface
  • replace internal errors with exceptions
  • finish grouping OOP for Gods sake
  • DI needs fixing ASAP

The Versions

28/04 2016

0.3.x-dev

0.3.9999999.9999999-dev https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

28/04 2016

0.3.0

0.3.0.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

28/04 2016

dev-master

9999999-dev https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

28/04 2016

0.2.x-dev

0.2.9999999.9999999-dev https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

28/04 2016

0.2.10

0.2.10.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

28/04 2016

0.2.9

0.2.9.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

28/04 2016

0.2.8

0.2.8.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

27/04 2016

0.2.7

0.2.7.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

27/04 2016

0.2.6

0.2.6.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

27/04 2016

dev-develop

dev-develop https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

27/04 2016

0.2.5

0.2.5.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

27/04 2016

0.2.4

0.2.4.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

26/04 2016

0.2.3

0.2.3.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

25/04 2016

0.2.2

0.2.2.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

25/04 2016

0.2.1

0.2.1.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

10/04 2016

0.2.0

0.2.0.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

 

by Gundars Meness

api php composer manager github version semantic versioning release

31/03 2016

0.1.0

0.1.0.0 https://github.com/Gundars/Releaser

Releaser is an automated semantic release version manager for CLI and PHP applications

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Gundars Meness

api php composer manager github version semantic versioning release