Commit Graph

397 Commits

Author SHA1 Message Date
Theis 1d8c83188c Merge pull request #84 from Slug-Boi/feat_default-editor
Feat: default editor + config
2025-08-18 13:43:01 +02:00
Slug-Boi 4badd8ebae ci: update go version of ci to 1.24 v2.0.0 2025-08-18 13:40:37 +02:00
Slug-Boi 0425795101 test: comment begin 2025-08-18 13:24:52 +02:00
Slug-Boi 01c6581027 refactor: add string function to config struct to allow for extendable printing of future fields 2025-08-18 13:24:42 +02:00
Slug-Boi ab3f16be4a feat: add the base config command with flags to help configure the tool and create one if its missing 2025-06-24 12:55:51 +02:00
Slug-Boi 96d117cadd refactor: change the way the viper config is stored and add helper functions 2025-06-24 12:55:19 +02:00
Slug-Boi 98ceadf98b test: add a config save test function 2025-06-24 12:23:32 +02:00
Slug-Boi 70259d17f7 refactor: allow for editing of amend commits 2025-06-17 21:29:18 +02:00
Slug-Boi 68024507e8 test: add new bool to func call 2025-06-17 21:28:49 +02:00
Slug-Boi 2e8b56c719 refactor: defer remove 2025-06-17 21:28:38 +02:00
Slug-Boi 183788fda4 feat: allow editing for amend commits 2025-06-17 21:28:28 +02:00
Slug-Boi b0591306f5 refactor: redudandant 2025-06-17 21:02:11 +02:00
Slug-Boi 9e85fdd1b9 refactor: change commit length limit and change exit codes 2025-06-16 17:43:02 +02:00
Slug-Boi eeb93fb411 refactor: change root command to use the new editor launcher 2025-06-16 17:31:09 +02:00
Slug-Boi 1367d50fce feat: add editor util to handle and launch editors outside of built-in 2025-06-16 17:30:48 +02:00
Slug-Boi a6d90b86dc refactor: author file config 2025-06-16 17:30:23 +02:00
Theis 97cc1e5c15 Merge pull request #81 from Slug-Boi/feat_config 2025-06-03 20:17:02 +02:00
Slug-Boi 84de8e1e4e fix: attempt to fix cmd tests 2025-06-03 20:12:15 +02:00
Theis f4cb12741f Merge branch 'main' into feat_config 2025-06-03 20:03:17 +02:00
Slug-Boi 0bd0e0592a Merge branch 'feat_config' of https://github.com/Slug-Boi/cocommit into feat_config 2025-06-03 20:02:58 +02:00
Slug-Boi 1f7e571fb9 fix: env var test updated for panic
fix: recover in test
2025-06-03 20:02:04 +02:00
Slug-Boi 0da8fc6998 fix: env var test updated for panic 2025-06-03 19:59:00 +02:00
Slug-Boi ff9b8739cb refactor: change config to be optional and create default state 2025-06-03 19:47:04 +02:00
Slug-Boi 97dac5169a test: try to fix config file not being loaded 2025-06-03 17:39:17 +02:00
Slug-Boi cbcd5ae1d1 fix: add config to cmd tests 2025-06-03 17:36:17 +02:00
Slug-Boi bbce5d3fab test: add config to tests 2025-06-03 17:29:25 +02:00
Slug-Boi 45d4c6e8b4 refactor: add env var for config location 2025-06-03 17:28:37 +02:00
Slug-Boi eac0e43023 fix: if author file was not set empty string not caught 2025-06-03 17:28:09 +02:00
Slug-Boi bbf6137ddd test: fix problem with message keeping value past test 2025-05-30 09:55:46 +02:00
Slug-Boi 5207f17284 fix: add _ 2025-05-30 09:55:46 +02:00
Slug-Boi 69c31ef03a test: add commitappender tests 2025-05-30 09:55:46 +02:00
Slug-Boi d010e73e00 test: add return value of string for testing 2025-05-30 09:55:46 +02:00
Slug-Boi dee0ee79f1 feat: add amend command 2025-05-30 09:55:46 +02:00
Slug-Boi 82ec905471 refactor: flags and change hash to be ignored 2025-05-30 09:55:46 +02:00
Slug-Boi b0bf47e794 fix: bug with how git authors were handled in tui 2025-05-30 09:55:46 +02:00
Slug-Boi 7a0e734ba8 feat: git commit user appender 2025-05-30 09:55:46 +02:00
Slug-Boi 6c198447ba chore: update default.nix to actually build and work now + add vendor hash 2025-04-29 09:24:27 +02:00
Slug-Boi cdefb84b88 chore: update makefile to remove build-nix step 2025-04-29 09:24:05 +02:00
Slug-Boi ac013a205f Merge branch 'main' of https://github.com/Slug-Boi/cocommit 2025-04-28 16:46:03 +02:00
Slug-Boi 25d990ab42 chore: add go mod vendor 2025-04-28 16:46:01 +02:00
Theis 9b2ffee5c4 chore: update hash 2025-04-28 16:43:41 +02:00
Slug-Boi 6614af4874 chore: fix flake.nix 2025-04-28 16:38:19 +02:00
Theis 2409fc7869 chore: remove rev from nix flake 2025-04-28 15:31:45 +02:00
Slug-Boi 2686f32184 refactor: make sure lists are ordered correctly and add configurable scopes 2025-04-20 22:16:21 +02:00
Slug-Boi f89d399e17 refactor: add config load to author func 2025-04-20 22:13:45 +02:00
Slug-Boi 3e1ba8d965 feat: add config utils functions to handle config fetching and updating 2025-04-20 22:07:12 +02:00
Slug-Boi 3574d442a6 chore: remove test file 2025-04-19 20:48:40 +02:00
Slug-Boi 1d51c55bc5 refactor: remove fetch call 2025-04-19 20:48:20 +02:00
Slug-Boi c1b9e35851 chore: change to viper 2025-04-19 20:48:06 +02:00
dependabot[bot] b542561de1 chore(deps): bump the go_modules group across 2 directories with 1 update
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /ci directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.36.0 to 0.38.0
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

Updates `golang.org/x/net` from 0.36.0 to 0.38.0
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-18 23:50:40 +02:00