Slug-Boi
|
08c926f2f5
|
fix: cocommit would never ask to create an author file if non was found
|
2026-01-30 16:42:24 +01: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
|
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
|
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
|
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
|
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
|
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
|
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
|
82ec905471
|
refactor: flags and change hash to be ignored
|
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
|
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
|
c1b9e35851
|
chore: change to viper
|
2025-04-19 20:48:06 +02:00 |
|
Slug-Boi
|
ac1e59b7ee
|
test: change test commit file to actual file not temp file and use git add to add it
|
2025-04-18 23:47:22 +02:00 |
|
Slug-Boi
|
8b3c5ab539
|
feat: util function to fetch all users that have commited to a repo
|
2025-04-18 23:47:22 +02:00 |
|
Slug-Boi
|
be98ca2f7c
|
feat: define git users in the program
|
2025-04-18 23:47:22 +02:00 |
|
Slug-Boi
|
9b367ba86e
|
test: create temp file when testing the git commit command
|
2025-04-11 15:49:02 +02:00 |
|
Slug-Boi
|
3e4c01c8bd
|
test: fix linux not panic on authorfile test
|
2025-04-10 13:31:01 +02:00 |
|
Slug-Boi
|
7cededcdab
|
test: final extend to utils test coverage
|
2025-04-09 22:36:05 +02:00 |
|
Slug-Boi
|
c8923525ea
|
refactor(depen_injec): add dependency injection to CheckAuthorFile and change to panics
remove comment
|
2025-04-09 22:35:33 +02:00 |
|
Slug-Boi
|
73020870a1
|
test: add all flag to hopefully fix ci workflow
|
2025-04-09 21:17:47 +02:00 |
|
Slug-Boi
|
5123e63d9f
|
test: even more extended test coverage
|
2025-04-09 21:01:44 +02:00 |
|
Slug-Boi
|
81adc7e2c3
|
refactor: move error handling
|
2025-04-09 21:01:00 +02:00 |
|
Slug-Boi
|
4696f58bf5
|
refactor: add error returns and flags
|
2025-04-09 21:00:51 +02:00 |
|
Slug-Boi
|
33d93c834d
|
refactor: panic and rename variable plus move an error so it can actually trigger
|
2025-04-09 21:00:30 +02:00 |
|
Slug-Boi
|
3db2ca2566
|
test: extend test coverage by adding more utils tests
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
b7729c3194
|
refactor: panic not print
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
d81e13bbc5
|
refactor(gh_fetcher): integreate the gh-cli using its api access to authenticate
Helps reduce rate limits and in some cases automates email fetching if
the user has one public on their account
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
6e0d7c57f2
|
refactor: rewrite parts of the commit function to be a bit more sane, removed the jump as well
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
823dc0ff3d
|
test(gh): add utils tests to gh
|
2025-04-09 13:07:09 +02:00 |
|
Slug-Boi
|
187fbed439
|
feat(gh_fetcher): a small fetcher designed to get info of a github user through gh API
might try and see if the gh cli allows for tokened requests later this
will maek life a lot easier for the user
|
2025-04-04 19:46:00 +02:00 |
|
Slug-Boi
|
97f514ccce
|
feat(CA): create author function (required for gh command)
|
2025-04-04 19:44:55 +02:00 |
|
Slug-Boi
|
6602b199c5
|
chore: add go files for gh fetcher part
|
2025-04-02 21:02:43 +02:00 |
|
Theis
|
3690597b0a
|
Update src/cmd/utils/author_file_utils.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-04-02 19:30:43 +02:00 |
|