Commit Graph

75 Commits

Author SHA1 Message Date
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
bangn
ba0e52d3c5 [#108]: Bump up github to 0.23 (#119)
Bump up github to 0.22

Bump up to github 0.23

Fix stack build

Fix show issue number bug

It now show issue number correctly.

For example:

[# 123] instead of [IssueNumber #123]
2019-10-08 13:38:43 +04:00
Georgi Bojinov
0771f8591e [#107] Add local flag to amend command (#114)
* [#107] Add local flag to amend command

* When the flag is passed the `amend` command does not force push

* [#107] Apply comments

* Add documentation for amend flag

Co-Authored-By: Dmitrii Kovanikov <kovanikov@gmail.com>
2019-10-02 14:38:50 +04:00
Robert
2b3080c549 Addresses #112: sets default to n in hit clear prompt. (#113) 2019-10-01 11:58:23 +03:00
Sridhar Ratnakumar
b8ad58d172 Add support for building and installing with Nix (#103)
* Fix version lock on shellmet

$? operator's semantic has changed in 0.0.1.

* Add default.nix, enabling Nix based install

- Also add `./result` to .gitignore (gets created by `nix-build`)
- Pin a version of nixpkgs that has the GHC used by stack.yaml (8.6.5)
2019-08-05 11:32:18 +08:00
Dmitry Kovanikov
3a4d7793e4
Fix CI deploy condition 2019-08-03 20:05:17 +08:00
Dmitrii Kovanikov
58efa176b4 Prepare 0.1.0.0 release (#102) 2019-08-03 19:50:23 +08:00
Dmitrii Kovanikov
f31317c606 [#49] Configure GitHub releases on Travis CI for OSX (#100) 2019-08-03 13:25:32 +08:00
Veronika Romashkina
a136309a32 [#96] Add table of all supported commands in README (#101)
Resolves #96
2019-08-03 13:14:15 +08:00
Veronika Romashkina
21c77cc929 [#72] Make new command take branch names (#99)
Resolves #72
2019-07-30 18:13:03 +08:00
Dmitrii Kovanikov
630f7f4b23 [#69] Set up autocompetion (#98) 2019-07-30 17:30:54 +08:00
Dmitrii Kovanikov
d4c6e3f1a8 [#77] hit clear command (#97)
Resolves #77
2019-07-29 19:41:33 +08:00
Veronika Romashkina
e74581b21c [#80] Add hit uncommit command (#95)
Resolves #80
2019-07-29 16:46:02 +08:00
Veronika Romashkina
b334901bac [#89] Add [-p|--push] flag to 'hit commit' (#94)
Resolves #89
2019-07-28 22:16:15 +08:00
Dmitrii Kovanikov
59b78663f8 [#86] Better support for binary files in 'hit status' (#93)
Resolves #86
2019-07-28 21:38:46 +08:00
Dmitrii Kovanikov
d74410e6bf [#67] hit stash / unstash (#92) 2019-07-28 20:59:11 +08:00
Dmitrii Kovanikov
d9fe0547d7 [#81] Implement 'hit diff' command (#90) 2019-07-28 20:13:10 +08:00
Veronika Romashkina
df795c3466 [#85] hit commit to guess commit name (#91)
* [#85] `hit commit` to guess commit name

Resolves #85

* Update src/Hit/Git.hs

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

* Fix

* Add docs
2019-07-28 18:59:00 +08:00
Veronika Romashkina
ed9969ab36 [#82] Add force flag to hit fix (#88)
* [#82] Add force flag to hit fix

Resolves #82

* Fix stupid HLint rule

* Fix
2019-07-28 15:45:13 +08:00
Dmitrii Kovanikov
1c43c48314 [#84] Show conflict files in 'hit status' (#87) 2019-07-28 13:36:00 +08:00
Dmitrii Kovanikov
a941d5d7b3 [#79] Tell about rebase in 'hit status' (#83)
Resolves #79
2019-07-26 11:13:50 +08:00
Dmitrii Kovanikov
cda4a2e074 [#75] Align count properly (#78)
Resolves #75
2019-07-11 13:42:51 +08:00
Kahlil Abreu
4e57daebf4 [#35] Implement Unit Tests for 'parseOwnerRepo' function (#74)
* [#35] Implement Unit Tests for 'parseOwnerRepo' function

* Add common-options import to test-suite in cabal file, remove extra opts

* Formatting adjustments and addition of non-happy test case scenarios

- Remove LANGUAGE pragmas
- Format and arrange imports, add explicit imports
- Minor improvements
2019-07-08 21:53:17 +08:00
Dmitrii Kovanikov
50c77c051b [#63] Implement 'hit status' command (#73)
* [#63] Implement 'hit status' command

Resolves #63

* Update src/Hit/Cli.hs

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

* Fix after review
2019-07-05 20:43:49 +08:00
Dmitrii Kovanikov
43a6795266 [#70] Bump up to GHC 8.6.5 (#71)
Resolves #70
2019-05-17 21:28:42 +08:00
Veronika Romashkina
5a87905075
Add screenshot 2019-03-17 00:25:40 +08:00
Veronika Romashkina
52daa831a1 [#43] Add --me option (#61)
Resolves #43
2019-03-17 00:03:21 +08:00
Dmitrii Kovanikov
19744c921b [#47] Specify GITHUB_TOKEN scopes (#60)
Resolves #47
2019-03-16 22:44:51 +08:00
Dmitrii Kovanikov
3836c5e3eb
Add logo 2019-03-05 23:33:15 +08:00
Veronika Romashkina
8b83d5cbfe [#50] Make .git suffix optional (#57)
Resolves #50
2019-02-24 20:31:54 +08:00
Veronika Romashkina
647e602cf9 [#36] Improve hit issue <n> command output (#56)
Resolves #36
2019-02-24 18:53:59 +08:00