Commit Graph

105 Commits

Author SHA1 Message Date
dependabot[bot]
2f0066db1e
GA(deps): Bump actions/setup-haskell from v1.1.3 to v1.1.4 (#207)
Bumps [actions/setup-haskell](https://github.com/actions/setup-haskell) from v1.1.3 to v1.1.4.
- [Release notes](https://github.com/actions/setup-haskell/releases)
- [Commits](https://github.com/actions/setup-haskell/compare/v1.1.3...048c29979717135f04282c42c2186bb5945b2d8f)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-21 14:40:07 +00:00
dependabot[bot]
c1d6cf8198
GA(deps): Bump actions/upload-artifact from v2.2.0 to v2.2.1 (#206)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-18 17:04:08 +00:00
dependabot[bot]
f34c7ab455
GA(deps): Bump actions/download-artifact from v2.0.5 to v2.0.6 (#205)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from v2.0.5 to v2.0.6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2.0.5...f8e41fbffeebb48c0273438d220bb2387727471f)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-18 17:03:21 +00:00
dependabot[bot]
b298034b1b
GA(deps): Bump actions/cache from v2.1.2 to v2.1.3 (#203)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.2...0781355a23dac32fd3bac414512f4b903437991a)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 16:41:08 +00:00
Veronika Romashkina
7a13ae0ffb
Fix ci.yml error with set-head (#204) 2020-11-09 15:34:12 +00:00
Veronika Romashkina
a17aa8d25b
Fix CI on Windows 2020-11-06 14:10:16 +00:00
Veronika Romashkina
880efa2e11
[#201] Switch the default branch to 'main' (#202)
* [#201] Switch the default branch to 'main'

Resolves #201

* Update src/Hit/Git/Fresh.hs

Co-authored-by: hint-man[bot] <44720633+hint-man[bot]@users.noreply.github.com>

* Update src/Hit/Git/Branch.hs

Co-authored-by: Dmitrii Kovanikov <kovanikov@gmail.com>

* Use main at CI

Co-authored-by: hint-man[bot] <44720633+hint-man[bot]@users.noreply.github.com>
Co-authored-by: Dmitrii Kovanikov <kovanikov@gmail.com>
2020-11-06 13:57:38 +00:00
Veronika Romashkina
d67b274109
Fix ubuntu CI 2020-11-06 13:35:23 +00:00
dependabot[bot]
3f34503ce1
GA(deps): Bump actions/cache from v2.1.1 to v2.1.2 (#198)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.1...d1255ad9362389eac595a9ae406b8e8cb3331f16)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 17:29:04 +01:00
dependabot[bot]
26b4aa9b17
GA(deps): Bump actions/upload-artifact from v2.1.4 to v2.2.0 (#197)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.1.4 to v2.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.1.4...27bce4eee761b5bc643f46a8dfb41b430c8d05f6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 11:38:45 +01:00
Veronika Romashkina
802ea13639
[#195] Implement releases through GH Actions (#196)
* [#195] Implement releases through GH Actions

Resolves #195

* Add dependabot

* Fix
2020-10-01 11:06:00 +01:00
Veronika Romashkina
8e65859694
[#146] Add Windows CI (#190)
* [#146] Add Windows CI

Resolves #146

* Try to use 8.8.2 due to base-compat Windows issue

* Turn off testing on Mac due to GitHub limit issue
2020-07-10 14:13:33 +01:00
Veronika Romashkina
04fe5c8d21
[#178] Add newly created issues to milestones (#189)
Resolves #178
2020-07-08 12:03:00 +01:00
Veronika Romashkina
fd36f10767
[#109] Do not fail on 'hit fresh' when unsuccessful rebasing (#188)
Resolves #109
2020-07-07 15:29:26 +01:00
Veronika Romashkina
e6939b5c81
[#163] Add tests: commit msgs. and branch names (#187)
Resolves #163
2020-07-07 13:20:46 +01:00
Dmitrii Kovanikov
7082774b7f
[#135] Improve stash command (#186)
* [#135] Improve `stash` command

Resolves #135

* Update changelog
2020-07-04 11:42:19 +01:00
Veronika Romashkina
a91ce7b736
[#165] hit fork command (#185)
* [#165] hit fork command

Resolves #165

* Add upstream remote after fork
2020-06-30 17:21:07 +01:00
Veronika Romashkina
2ee9247582
[#182] Populate labels for the 'hit pr' command (#184)
Resolves #182
2020-06-30 16:10:24 +01:00
Veronika Romashkina
f29e918989
[#116] hit new without arguments should choose the only assigned issue and create a branch for it (#183)
Resolves #116
2020-06-30 14:25:58 +01:00
Veronika Romashkina
e11d1c8473
[#160] hit rename (#181)
* [#160] hit rename

Resolves #160

* Fix Hlint
2020-06-30 11:33:28 +01:00
Veronika Romashkina
e618585d94
[#153] Create PRs with a new command/option (#180)
* [#153] Create PRs with a new command/option

Resolves #153

* [#153] Create PRs with a new command/option

Resolves #153

* Use owner, not the repo to check PRs head 🤦

* Fix
2020-06-29 16:05:57 +01:00
Veronika Romashkina
fe44a48000
[#177] hit milestones command to get the list of open milestones (#179)
* [#177] `hit milestones` command to get the list of open milestones

Resolves #177

* Fix Hlint
2020-06-26 10:43:54 +01:00
Veronika Romashkina
8ac810a0e8
[#175] Update header information in the library modules (#176)
Resolves #175
2020-06-26 09:17:13 +01:00
Dmitrii Kovanikov
089f115bde
[#136] Add --hard or --force option to the hit sync command (#174)
Resolves #136
2020-06-25 21:23:00 +01:00
Veronika Romashkina
6ba3edcba6
[#155] Notify if there are no open issues (#172)
Resolves #155
2020-06-25 19:11:58 +01:00
Dmitrii Kovanikov
7bd1ec43b7
[#159] wip commits (#171)
Resolves #159
2020-06-25 19:10:01 +01:00
Veronika Romashkina
24a3aba8a1
[#148] Replace dots with hyphens when guessing branch name (#170)
Resolves #148
2020-06-25 18:54:57 +01:00
Veronika Romashkina
d6f6559a74
[#157] Show issues from the current milestone (#169)
* [#157] Show issues from the current milestone

Resolves #157

* Update src/Hit/Issue.hs

Co-authored-by: Dmitrii Kovanikov <kovanikov@gmail.com>

* Add more useful warning messages

Co-authored-by: Dmitrii Kovanikov <kovanikov@gmail.com>
2020-06-25 18:44:55 +01:00
Dmitrii Kovanikov
fb00d5cd6d
[#149] Shorter status signs (#168)
* [#149] Shorter status signs

Resolves #149

* Fix for deleted files
2020-06-25 18:23:14 +01:00
Veronika Romashkina
b49673d5ce
[#154] Add '--date=now' to 'hit ammend' (#167)
Resolves #154
2020-06-25 12:47:42 +01:00
Veronika Romashkina
5333b70387
[#151] Print issue link when create the issue (#166)
Resolves #151
2020-06-25 11:34:31 +01:00
Veronika Romashkina
95980e65c4
[#152] Filter out PRs in hit issue command (#164)
Resolves #152
2020-06-25 10:28:08 +01:00
Veronika Romashkina
5fdeaea947
[#156] Take care of RFCs (#162)
Resolves #156
2020-06-25 09:33:27 +01:00
Dmitrii Kovanikov
c764d6eb69
Update dependencies (#161) 2020-06-24 18:23:07 +01:00
Max Strübing
b71914214e
Add --include-untracked option to hit stash command (#150)
closes #144
2020-03-12 21:14:48 +00:00
Dmitrii Kovanikov
dc1dd199f5
Drop nix support (#147) 2020-02-19 08:51:13 +00:00
Veronika Romashkina
39ac333873
Use colourista (#145)
* Use colourista

* Update src/Hit/Git/Commit.hs

Co-Authored-By: Dmitrii Kovanikov <kovanikov@gmail.com>

* Use colourista from Hackage

* Fix HLint

Co-authored-by: Dmitrii Kovanikov <kovanikov@gmail.com>
2020-02-17 21:42:05 +00:00
Veronika Romashkina
7aaef21059 [#15] When new branch for issue created add the user as assignee (#141)
* [#15] When new branch for issue created add the user as assignee

Resolves #15

* Improve code after review
2020-02-10 08:53:54 +00:00
Dmitrii Kovanikov
fdc18f025b [#142] Implement prettier 'hit log' command (#143)
Resolves #142
2020-02-10 08:47:22 +00:00
Dmitrii Kovanikov
271ff33ce0
[#110] Increase width for file names (#140)
Resolves #110
2020-02-09 17:50:58 +00:00
Veronika Romashkina
aa7e20e143 [#133] Move to GHC-8.8.1 (#134)
* [#133] Move to GHC-8.8.1

Resolves #133

* Add missing-deriving-strategies
2019-12-27 14:06:31 +00:00
Max Strübing
4c487b9b3f [#129] Split Git into smaller modules (#132)
* Extract `nameOrMaster` into common

* Extract `uncommit` into own module

* Extract `hop` into own module

* Extract `fresh` into own module

* Extract `log` into own module

* Extract all internal helpers into `Common` module

* Extract `stash` into own module

* Extract `unstash` into own module

* Extract `sync` into own module

* Extract `push` into own module

* Extract `diff` into own module

* Extract `runStatus` into the Status module

* Extract `current` into own module

* Extract `fix` into own module

* Extract `amend` into own module

* Extract `resolve` into own module

* Extract `clone` and `clear` into own module

* Extract `commit` into own module

* Extract `new` into own module

* Prettify imports

* Recover behaviour with shellmet

* Remove trailing whitespaces

* Update src/Hit/Git/Clone.hs

Co-Authored-By: Veronika Romashkina <vrom911@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Veronika Romashkina <vrom911@gmail.com>

* Put qualified imports after all other imports

remove question comment,
add two empty lines before code starts

Co-authored-by: Veronika Romashkina <vrom911@gmail.com>
2019-12-20 14:53:47 +00:00
Max Strübing
db32a9d41a [#68] Implement a prettier version for git log (#131)
* [#68] Implement a prettier version for `git log`

I'm just doing `git log --oneline --decorate` right now as I don't know
what to do show and it's better than nothing at least :)

closes #68

* Update README.md

Co-Authored-By: Veronika Romashkina <vrom911@gmail.com>
2019-12-18 09:32:51 +00:00
Dmitrii Kovanikov
0680c67d7c [#127] Assign users on hit new --issue command (#128)
* [#127] Assign users on `hit new --issue` command

* Fix stack

* Update src/Hit/Git.hs

Co-Authored-By: Veronika Romashkina <vrom911@gmail.com>

* Improve description
2019-12-08 12:13:01 +00:00
bangn
a924bcf2ae [#65] Add issue option to hit new (#118)
* [#65]: Add issue options to hit new

If it is set to `true`, the new issue will be created instead.

* [#65]: Create an issue if the flag is set

* [#65]: Fix styling

* [#65]: Fix styling take 2

* [#65]: Remove redundant do

* [#65]: Fix hlint issues

* [#65]: Use separate function to get GITHUB_TOKEN

* [#65]: Follow workflow

- Create an issue
- Stash current changes
- Checkout master
- Create corresponding branch
- Switch to that branch
2019-12-06 11:35:39 +00:00
vrom911
b574ab08d3
Add CODEOWNERS 2019-11-02 09:26:04 +04:00
Veronika Romashkina
67ebfa36cd Use Relude 0.6.0.0 (#125)
* Use Relude 0.6.0.0

* Use haddock version of relude-0.6.0.0

* Use newer relude HLint file

* Update CHANGELOG
2019-10-31 09:46:33 +03:00
Curtis Chin Jen Sem
63cb94ab9c [#122] Fix wrong order on hit status on renames (#123)
* [#122] Fix rename order by expanding filepaths

* Missed missing var

* Remove extra newline

* Remove redundant qualified usage

* Refactor expanding file paths and improve docs
2019-10-13 19:55:20 +04:00
tenniscp25
caae31f20e [#76] Align issues. (#120)
* [#76] Align issues.

* Fixed code styles.
2019-10-09 11:20:48 +04:00
Curtis Chin Jen Sem
14b0e3df62 [#104] Support renames in 'hit status' (#121)
* [#104] Support renames in 'hit status'

* Improve documentation for parsing 'git diff'

* Remove unnecessary qualified use of words
2019-10-09 08:33:41 +04:00