Coder Social home page Coder Social logo

ergebnis / github-changelog Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 6.0 2.73 MB

:octocat: Provides a command line tool that generates a changelog based on titles of pull requests merged between specified references.

License: MIT License

PHP 97.81% Makefile 1.78% Shell 0.41%
changelog github

github-changelog's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ergebnis-bot avatar lctrs avatar localheinz avatar raphaelstolt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

github-changelog's Issues

Trick to override only output

Hello @localheinz
Thanks for your work! but I have a little question.. does this library support a trick to create a custom output?

I seen the docs and I know that I can write my implementation but I am lazy :)
If this library doesn't support it have you an idea about a possibile implementation? I can try to write it :)

Thanks

Uncaught Error: Class 'Ergebnis\GitHub\ChangeLog\Console\GenerateCommand' not found in

I just want to give this tool a try. I followed the installation steps, changed to local project (synced with Git) and got
PHP Fatal error: Uncaught Error: Class zErgebnis\GitHub\ChangeLog\Console\GenerateCommand' not found in C:\Users\[...]\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog.php:43

Steps required to reproduce the problem

ฮป git status
Results in
On branch sf44-dev
Your branch is up to date with 'origin/sf44-dev'`

composer global require ergebnis/github-changelog
Results in

Changed current directory to C:/Users/[...]/AppData/Roaming/Composer
Using version ^0.7.1 for ergebnis/github-changelog
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 28 installs, 0 updates, 0 removals
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/service-contracts (v2.0.1): Loading from cache
  - Installing symfony/stopwatch (v4.4.3): Loading from cache
  - Installing symfony/polyfill-php73 (v1.13.1): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.13.1): Loading from cache
  - Installing symfony/console (v4.4.3): Loading from cache
  - Installing symfony/var-exporter (v5.0.3): Downloading (100%)
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing symfony/cache-contracts (v2.0.1): Loading from cache
  - Installing psr/log (1.1.2): Loading from cache
  - Installing symfony/cache (v4.4.3): Loading from cache
  - Installing ralouphie/getallheaders (3.0.3): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.6.1): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.5.2): Loading from cache
  - Installing php-http/promise (v1.0.0): Loading from cache
  - Installing php-http/httplug (v1.1.0): Downloading (100%)
  - Installing php-http/guzzle6-adapter (v1.1.1): Downloading (100%)
  - Installing php-http/message-factory (v1.0.2): Loading from cache
  - Installing clue/stream-filter (v1.4.1): Loading from cache
  - Installing php-http/message (1.8.0): Loading from cache
  - Installing symfony/options-resolver (v5.0.3): Downloading (100%)
  - Installing php-http/client-common (1.10.0): Downloading (100%)
  - Installing php-http/cache-plugin (1.7.0): Downloading (100%)
  - Installing php-http/discovery (1.7.4): Loading from cache
  - Installing knplabs/github-api (2.12.1): Downloading (100%)
  - Installing ergebnis/github-changelog (0.7.1): Downloading (100%)
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses)
php-http/message suggests installing zendframework/zend-diactoros (Used with Diactoros Factories)
php-http/message suggests installing slim/slim (Used with Slim Framework PSR-7 implementation)
php-http/client-common suggests installing php-http/logger-plugin (PSR-3 Logger plugin)
php-http/client-common suggests installing php-http/stopwatch-plugin (Symfony Stopwatch plugin)
php-http/discovery suggests installing puli/composer-plugin (Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details.)
Writing lock file
Generating autoload files

ฮป github-changelog generate v1.19.4 v1.24.0

Expected Result

  • Get a changelog

Actual Result

PHP Fatal error:  Uncaught Error: Class 'Ergebnis\GitHub\ChangeLog\Console\GenerateCommand' not found in C:\Users\traci\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog.php:43
Stack trace:
#0 C:\Users\traci\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog(4): include()
#1 {main}
  thrown in C:\Users\traci\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog.php on line 43

Fatal error: Uncaught Error: Class 'Ergebnis\GitHub\ChangeLog\Console\GenerateCommand' not found in C:\Users\traci\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog.php:43
Stack trace:
#0 C:\Users\traci\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog(4): include()
#1 {main}
  thrown in C:\Users\traci\AppData\Roaming\Composer\vendor\ergebnis\github-changelog\github-changelog.php on line 43

Some Background Information:

  • The remote git repository is private
  • I am running Win10
  • The suggested composer packages were not installed

SSL: certificate verification failed with github API

I assume my php56 installed through brew just lacks proper ssl ca configuration, which is a pita ;)
I tried to play around with curl and openssl ini settings, pointing to ca-bundle.pems but gave up after a while.

I wonder how composer gets around this, do they ship their own ca bundle? or just don't use curl?

[curl] 51: SSL: certificate verification failed (result: 5) [url] https://api.github.com/repos/localheinz

Document when to use?

I've been watching this project for a few months because it looked interesting and I like the developer ๐Ÿ˜‰ . Curious if it would make sense to add the use cases to the readme so others know when to use it versus something like standard-version?

Not sure. But I can see from the change log the formatting here seems to fit better with the WP way of documenting changelog updates in humanese for end-users??

Project Status?

Hi! Curious if this project is still maintained? I recently took a project to version 3 of knplabs/github-api and I'd be willing to help here if this has a future.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.