Skip to content

Commit

Permalink
feat: rename 'changelog' to 'whatchanged'
Browse files Browse the repository at this point in the history
BREAKING CHANGE: repo and binary rename to whatchanged

```diff
- $ changelog --help
+ $ whatchanged --help
```

Closes #6
  • Loading branch information
axetroy committed Nov 26, 2020
1 parent 39ac73a commit ee18634
Show file tree
Hide file tree
Showing 20 changed files with 134 additions and 134 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
release:
name: Release to Github
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'axetroy/changelog'
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'axetroy/whatchanged'
needs: [ci]
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

release:
name: Release to Github
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/master') && github.repository == 'axetroy/changelog'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/master') && github.repository == 'axetroy/whatchanged'
needs: [ci]
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
builds:
- binary: changelog
- binary: whatchanged
goos:
- windows
- darwin
Expand Down
2 changes: 1 addition & 1 deletion 1_parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/axetroy/changelog/internal/client"
"github.com/axetroy/whatchanged/internal/client"
"github.com/go-git/go-git/v5/plumbing/object"
"github.com/pkg/errors"
)
Expand Down
4 changes: 2 additions & 2 deletions 2_extractor/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package extractor
import (
"io"

parser "github.com/axetroy/changelog/1_parser"
"github.com/axetroy/changelog/internal/client"
parser "github.com/axetroy/whatchanged/1_parser"
"github.com/axetroy/whatchanged/internal/client"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/object"
Expand Down
6 changes: 3 additions & 3 deletions 3_transformer/transform.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package transformer

import (
extractor "github.com/axetroy/changelog/2_extractor"
"github.com/axetroy/changelog/internal/client"
"github.com/axetroy/changelog/internal/commit/parser"
extractor "github.com/axetroy/whatchanged/2_extractor"
"github.com/axetroy/whatchanged/internal/client"
"github.com/axetroy/whatchanged/internal/commit/parser"
"github.com/go-git/go-git/v5/plumbing/object"
)

Expand Down
4 changes: 2 additions & 2 deletions 4_generator/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"net/url"
"strings"

transformer "github.com/axetroy/changelog/3_transformer"
"github.com/axetroy/changelog/internal/client"
transformer "github.com/axetroy/whatchanged/3_transformer"
"github.com/axetroy/whatchanged/internal/client"
"github.com/pkg/errors"
giturls "github.com/whilp/git-urls"
)
Expand Down
96 changes: 48 additions & 48 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,57 @@ v0.1.0

### 🔥 New feature:

- link commit for generation([`b9432db`](https://github.com/axetroy/changelog/commit/b9432db1d1f5afe170296b9e0bfebee1aa62fabb)) (thanks @axetroy)
- add full preset template([`7553570`](https://github.com/axetroy/changelog/commit/7553570590b571bd33e10a4f80ec5639d0613042)) (thanks @axetroy)
- support changelog for git submodule([`ec6a957`](https://github.com/axetroy/changelog/commit/ec6a957752fbca9faa261d8694826779e2cbec1f)) (thanks @axetroy)
- add writer step([`441ad13`](https://github.com/axetroy/changelog/commit/441ad1322b1fecaca89a170ecebaf2955a77d630)) (thanks @axetroy)
- add formatter for markdown output([`8c177e0`](https://github.com/axetroy/changelog/commit/8c177e032e8bdb1b76d135981ea10e7053f3ef34)) (thanks @axetroy)
- add --file flag to generate file([`0e4fb09`](https://github.com/axetroy/changelog/commit/0e4fb09789732fec5b09b247e208d61794c3da0d)) (thanks @axetroy)
- support custom tmeplate and preset([`3aa0aee`](https://github.com/axetroy/changelog/commit/3aa0aee2584036da1c63dea9bb399cb83b48a8db)) (thanks @axetroy)
- support tag ranges([`3d14c9c`](https://github.com/axetroy/changelog/commit/3d14c9cf2dc7d51e348fddc7764d8aba1691fac9)) (thanks @axetroy)
- support version range. eg v2.0.0~v1.0.0([`a65a4a8`](https://github.com/axetroy/changelog/commit/a65a4a8bd0122e41c7b20c98676e9def76e786d3)) (thanks @axetroy)
- parse commit message and generate to template([`7f67e78`](https://github.com/axetroy/changelog/commit/7f67e783926fed647d2ad5414f31448eea106fc3)) (thanks @axetroy)
- link commit for generation([`b9432db`](https://github.com/axetroy/whatchanged/commit/b9432db1d1f5afe170296b9e0bfebee1aa62fabb)) (thanks @axetroy)
- add full preset template([`7553570`](https://github.com/axetroy/whatchanged/commit/7553570590b571bd33e10a4f80ec5639d0613042)) (thanks @axetroy)
- support changelog for git submodule([`ec6a957`](https://github.com/axetroy/whatchanged/commit/ec6a957752fbca9faa261d8694826779e2cbec1f)) (thanks @axetroy)
- add writer step([`441ad13`](https://github.com/axetroy/whatchanged/commit/441ad1322b1fecaca89a170ecebaf2955a77d630)) (thanks @axetroy)
- add formatter for markdown output([`8c177e0`](https://github.com/axetroy/whatchanged/commit/8c177e032e8bdb1b76d135981ea10e7053f3ef34)) (thanks @axetroy)
- add --file flag to generate file([`0e4fb09`](https://github.com/axetroy/whatchanged/commit/0e4fb09789732fec5b09b247e208d61794c3da0d)) (thanks @axetroy)
- support custom tmeplate and preset([`3aa0aee`](https://github.com/axetroy/whatchanged/commit/3aa0aee2584036da1c63dea9bb399cb83b48a8db)) (thanks @axetroy)
- support tag ranges([`3d14c9c`](https://github.com/axetroy/whatchanged/commit/3d14c9cf2dc7d51e348fddc7764d8aba1691fac9)) (thanks @axetroy)
- support version range. eg v2.0.0~v1.0.0([`a65a4a8`](https://github.com/axetroy/whatchanged/commit/a65a4a8bd0122e41c7b20c98676e9def76e786d3)) (thanks @axetroy)
- parse commit message and generate to template([`7f67e78`](https://github.com/axetroy/whatchanged/commit/7f67e783926fed647d2ad5414f31448eea106fc3)) (thanks @axetroy)

### 🐛 Bugs fixed:

- improve ssh git url parser([`9993ee6`](https://github.com/axetroy/changelog/commit/9993ee600c84cf77d3a0c634e8fa83c2580e137f)) (thanks @axetroy)
- commit range not include commit of tag([`f8df0ba`](https://github.com/axetroy/changelog/commit/f8df0ba654c8faf67eccf98262cd55807e53e597)) (thanks @axetroy)
- unescape template([`e118cbf`](https://github.com/axetroy/changelog/commit/e118cbfafd201b945848f15303fdb261e251f058)) (thanks @axetroy)
- if empty argument for command line([`9c79fd9`](https://github.com/axetroy/changelog/commit/9c79fd91bbf88f7861b4aca89ced8384cf2b9bcd)) (thanks @axetroy)
- **ci**: remove unsued code([`66bcf8f`](https://github.com/axetroy/changelog/commit/66bcf8f43db85409e0392c93f2e347ed91699e81)) (thanks @axetroy)
- improve ssh git url parser([`9993ee6`](https://github.com/axetroy/whatchanged/commit/9993ee600c84cf77d3a0c634e8fa83c2580e137f)) (thanks @axetroy)
- commit range not include commit of tag([`f8df0ba`](https://github.com/axetroy/whatchanged/commit/f8df0ba654c8faf67eccf98262cd55807e53e597)) (thanks @axetroy)
- unescape template([`e118cbf`](https://github.com/axetroy/whatchanged/commit/e118cbfafd201b945848f15303fdb261e251f058)) (thanks @axetroy)
- if empty argument for command line([`9c79fd9`](https://github.com/axetroy/whatchanged/commit/9c79fd91bbf88f7861b4aca89ced8384cf2b9bcd)) (thanks @axetroy)
- **ci**: remove unsued code([`66bcf8f`](https://github.com/axetroy/whatchanged/commit/66bcf8f43db85409e0392c93f2e347ed91699e81)) (thanks @axetroy)

### 💪 Commits(33):

- [`7c687f7`](https://github.com/axetroy/changelog/commit/7c687f7d729f199ee295109012cc5a2661f96c54) - ci: increase linter timeout
- [`b61c491`](https://github.com/axetroy/changelog/commit/b61c49171a776045d89e6cbaad82326070e2db78) - refactor: improve default preset
- [`1292dfc`](https://github.com/axetroy/changelog/commit/1292dfc0e39abf24262e94cd9076d91808dd0cc4) - refactor: update template
- [`9993ee6`](https://github.com/axetroy/changelog/commit/9993ee600c84cf77d3a0c634e8fa83c2580e137f) - fix: improve ssh git url parser
- [`b9432db`](https://github.com/axetroy/changelog/commit/b9432db1d1f5afe170296b9e0bfebee1aa62fabb) - feat: link commit for generation
- [`7553570`](https://github.com/axetroy/changelog/commit/7553570590b571bd33e10a4f80ec5639d0613042) - feat: add full preset template
- [`7068672`](https://github.com/axetroy/changelog/commit/706867220fa9ca537855f359d3e04d0c3762b793) - update readme
- [`ec6a957`](https://github.com/axetroy/changelog/commit/ec6a957752fbca9faa261d8694826779e2cbec1f) - feat: support changelog for git submodule
- [`f540d6f`](https://github.com/axetroy/changelog/commit/f540d6f7123334dac558a37c6ac056fed1021cda) - refactor: rename transform to transformer
- [`441ad13`](https://github.com/axetroy/changelog/commit/441ad1322b1fecaca89a170ecebaf2955a77d630) - feat: add writer step
- [`f8df0ba`](https://github.com/axetroy/changelog/commit/f8df0ba654c8faf67eccf98262cd55807e53e597) - fix: commit range not include commit of tag
- [`8c177e0`](https://github.com/axetroy/changelog/commit/8c177e032e8bdb1b76d135981ea10e7053f3ef34) - feat: add formatter for markdown output
- [`a47fe84`](https://github.com/axetroy/changelog/commit/a47fe84d2141635d82c2dc49500bfc2a81c03535) - docs: update how it works
- [`0e4fb09`](https://github.com/axetroy/changelog/commit/0e4fb09789732fec5b09b247e208d61794c3da0d) - feat: add --file flag to generate file
- [`3aa0aee`](https://github.com/axetroy/changelog/commit/3aa0aee2584036da1c63dea9bb399cb83b48a8db) - feat: support custom tmeplate and preset
- [`e118cbf`](https://github.com/axetroy/changelog/commit/e118cbfafd201b945848f15303fdb261e251f058) - fix: unescape template
- [`3d14c9c`](https://github.com/axetroy/changelog/commit/3d14c9cf2dc7d51e348fddc7764d8aba1691fac9) - feat: support tag ranges
- [`44ce3cd`](https://github.com/axetroy/changelog/commit/44ce3cd8d68b786a3aac6b5daba90e7f12b75200) - docs: update readme
- [`9c79fd9`](https://github.com/axetroy/changelog/commit/9c79fd91bbf88f7861b4aca89ced8384cf2b9bcd) - fix: if empty argument for command line
- [`0b6ba0c`](https://github.com/axetroy/changelog/commit/0b6ba0c3fc49139467025eaebbe16c158a0cce65) - refactor: Refactor the software architecture to make it clearer and simpler
- [`66bcf8f`](https://github.com/axetroy/changelog/commit/66bcf8f43db85409e0392c93f2e347ed91699e81) - fix(ci): remove unsued code
- [`89fecf5`](https://github.com/axetroy/changelog/commit/89fecf5588f1133f70a8aaf6db3488184ba2ceb2) - refactor: remove unsued code
- [`a65a4a8`](https://github.com/axetroy/changelog/commit/a65a4a8bd0122e41c7b20c98676e9def76e786d3) - feat: support version range. eg v2.0.0~v1.0.0
- [`6301c2f`](https://github.com/axetroy/changelog/commit/6301c2f01d881ae861e6c4459a411a5f48c74ba0) - update help information
- [`770ed02`](https://github.com/axetroy/changelog/commit/770ed02d43c4593ab9db8e71a9f93987812d97bc) - update
- [`585445d`](https://github.com/axetroy/changelog/commit/585445d917d4cb74d80b1c385b446f7e09a1606c) - cache tags
- [`b47e49c`](https://github.com/axetroy/changelog/commit/b47e49cf8efac3f5aba9df0149295694424beaf1) - filter tag with semver version
- [`7f67e78`](https://github.com/axetroy/changelog/commit/7f67e783926fed647d2ad5414f31448eea106fc3) - feat: parse commit message and generate to template
- [`b907117`](https://github.com/axetroy/changelog/commit/b907117bca3d6306955070b933361ecb0da0627e) - update ci
- [`ef5b38a`](https://github.com/axetroy/changelog/commit/ef5b38ad50dd150cbdbeff031f6898d9d0aff35a) - update ci linter version
- [`dd55cc8`](https://github.com/axetroy/changelog/commit/dd55cc85d6a3b9c482ba376fa862f20b6de11d5b) - fix lint
- [`26408cc`](https://github.com/axetroy/changelog/commit/26408ccef0f6256ca70edda59e4ab1d1c15fca72) - init
- [`824d351`](https://github.com/axetroy/changelog/commit/824d3511bf90e8fda3d1c7be679274d71ce73f52) - Initial commit
- [`7c687f7`](https://github.com/axetroy/whatchanged/commit/7c687f7d729f199ee295109012cc5a2661f96c54) - ci: increase linter timeout
- [`b61c491`](https://github.com/axetroy/whatchanged/commit/b61c49171a776045d89e6cbaad82326070e2db78) - refactor: improve default preset
- [`1292dfc`](https://github.com/axetroy/whatchanged/commit/1292dfc0e39abf24262e94cd9076d91808dd0cc4) - refactor: update template
- [`9993ee6`](https://github.com/axetroy/whatchanged/commit/9993ee600c84cf77d3a0c634e8fa83c2580e137f) - fix: improve ssh git url parser
- [`b9432db`](https://github.com/axetroy/whatchanged/commit/b9432db1d1f5afe170296b9e0bfebee1aa62fabb) - feat: link commit for generation
- [`7553570`](https://github.com/axetroy/whatchanged/commit/7553570590b571bd33e10a4f80ec5639d0613042) - feat: add full preset template
- [`7068672`](https://github.com/axetroy/whatchanged/commit/706867220fa9ca537855f359d3e04d0c3762b793) - update readme
- [`ec6a957`](https://github.com/axetroy/whatchanged/commit/ec6a957752fbca9faa261d8694826779e2cbec1f) - feat: support changelog for git submodule
- [`f540d6f`](https://github.com/axetroy/whatchanged/commit/f540d6f7123334dac558a37c6ac056fed1021cda) - refactor: rename transform to transformer
- [`441ad13`](https://github.com/axetroy/whatchanged/commit/441ad1322b1fecaca89a170ecebaf2955a77d630) - feat: add writer step
- [`f8df0ba`](https://github.com/axetroy/whatchanged/commit/f8df0ba654c8faf67eccf98262cd55807e53e597) - fix: commit range not include commit of tag
- [`8c177e0`](https://github.com/axetroy/whatchanged/commit/8c177e032e8bdb1b76d135981ea10e7053f3ef34) - feat: add formatter for markdown output
- [`a47fe84`](https://github.com/axetroy/whatchanged/commit/a47fe84d2141635d82c2dc49500bfc2a81c03535) - docs: update how it works
- [`0e4fb09`](https://github.com/axetroy/whatchanged/commit/0e4fb09789732fec5b09b247e208d61794c3da0d) - feat: add --file flag to generate file
- [`3aa0aee`](https://github.com/axetroy/whatchanged/commit/3aa0aee2584036da1c63dea9bb399cb83b48a8db) - feat: support custom tmeplate and preset
- [`e118cbf`](https://github.com/axetroy/whatchanged/commit/e118cbfafd201b945848f15303fdb261e251f058) - fix: unescape template
- [`3d14c9c`](https://github.com/axetroy/whatchanged/commit/3d14c9cf2dc7d51e348fddc7764d8aba1691fac9) - feat: support tag ranges
- [`44ce3cd`](https://github.com/axetroy/whatchanged/commit/44ce3cd8d68b786a3aac6b5daba90e7f12b75200) - docs: update readme
- [`9c79fd9`](https://github.com/axetroy/whatchanged/commit/9c79fd91bbf88f7861b4aca89ced8384cf2b9bcd) - fix: if empty argument for command line
- [`0b6ba0c`](https://github.com/axetroy/whatchanged/commit/0b6ba0c3fc49139467025eaebbe16c158a0cce65) - refactor: Refactor the software architecture to make it clearer and simpler
- [`66bcf8f`](https://github.com/axetroy/whatchanged/commit/66bcf8f43db85409e0392c93f2e347ed91699e81) - fix(ci): remove unsued code
- [`89fecf5`](https://github.com/axetroy/whatchanged/commit/89fecf5588f1133f70a8aaf6db3488184ba2ceb2) - refactor: remove unsued code
- [`a65a4a8`](https://github.com/axetroy/whatchanged/commit/a65a4a8bd0122e41c7b20c98676e9def76e786d3) - feat: support version range. eg v2.0.0~v1.0.0
- [`6301c2f`](https://github.com/axetroy/whatchanged/commit/6301c2f01d881ae861e6c4459a411a5f48c74ba0) - update help information
- [`770ed02`](https://github.com/axetroy/whatchanged/commit/770ed02d43c4593ab9db8e71a9f93987812d97bc) - update
- [`585445d`](https://github.com/axetroy/whatchanged/commit/585445d917d4cb74d80b1c385b446f7e09a1606c) - cache tags
- [`b47e49c`](https://github.com/axetroy/whatchanged/commit/b47e49cf8efac3f5aba9df0149295694424beaf1) - filter tag with semver version
- [`7f67e78`](https://github.com/axetroy/whatchanged/commit/7f67e783926fed647d2ad5414f31448eea106fc3) - feat: parse commit message and generate to template
- [`b907117`](https://github.com/axetroy/whatchanged/commit/b907117bca3d6306955070b933361ecb0da0627e) - update ci
- [`ef5b38a`](https://github.com/axetroy/whatchanged/commit/ef5b38ad50dd150cbdbeff031f6898d9d0aff35a) - update ci linter version
- [`dd55cc8`](https://github.com/axetroy/whatchanged/commit/dd55cc85d6a3b9c482ba376fa862f20b6de11d5b) - fix lint
- [`26408cc`](https://github.com/axetroy/whatchanged/commit/26408ccef0f6256ca70edda59e4ab1d1c15fca72) - init
- [`824d351`](https://github.com/axetroy/whatchanged/commit/824d3511bf90e8fda3d1c7be679274d71ce73f52) - Initial commit
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: ./bin/changelog-remote
web: ./bin/whatchanged-remote
Loading

0 comments on commit ee18634

Please sign in to comment.