Skip to content

Offline support #84

@kurko

Description

@kurko

I want to generate a log of the changes since the last tag,

github-changes -o [owner] -r [repo] -a --only-pulls --use-commit-body --between-tags 20.0.3...master

It takes ages and returns an error:

error TypeError: Cannot read property 'date' of null
    at /usr/local/lib/node_modules/github-changes/bin/index.js:394:61
    at Array.forEach (<anonymous>)
    at commitFormatter (/usr/local/lib/node_modules/github-changes/bin/index.js:393:8)
    at formatter (/usr/local/lib/node_modules/github-changes/bin/index.js:499:39)
    at /usr/local/lib/node_modules/github-changes/bin/index.js:563:35
    at tryCatch1 (/usr/local/lib/node_modules/github-changes/node_modules/bluebird/js/main/util.js:86:19)
    at Promise$_callHandler [as _callHandler] (/usr/local/lib/node_modules/github-changes/node_modules/bluebird/js/main/promise.js:681:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/usr/local/lib/node_modules/github-changes/node_modules/bluebird/js/main/promise.js:697:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (/usr/local/lib/node_modules/github-changes/node_modules/bluebird/js/main/promise.js:879:14)
    at Promise$_fulfillPromises [as _fulfillPromises] (/usr/local/lib/node_modules/github-changes/node_modules/bluebird/js/main/promise.js:981:14)

I'm wondering it's possible to not rely on internet to make it happen, given I have the repo locally.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions