Johannes Batzill
deb9cf473a
[GITHA] Move server.Server
out of internal
( #145 )
2023-06-19 15:36:20 +00:00
Enver Bisevac
630c9b553f
ordering imports linter and writer ( #85 )
2022-11-22 23:42:39 +01:00
Johannes Batzill
91a75ed601
Add GetContent and ListCommits APIs, Fix DefaultBranch support ( #32 )
...
Adds the following:
- Add GetContent API (with gitrpc, proto, gitadapter changes)
- Add ListCommits API (with gitrpc, proto, gitadapter changes)
- DefaultBranch (to repo table in DB, update branch in git-repo, have default value in config)
2022-10-17 00:14:31 -07:00
Enver Bisevac
00647d7d1b
[MAINT] golangci-lint config changed ( #31 )
...
* goheader linter added
* file header consistency
2022-10-13 14:39:15 +02:00
Johannes Batzill
4d3db64397
add specific handlers for api/git/web to allow replacement for harness ( #23 )
...
Abstracting the api/git/web routers will allow us to replace API routing (and potentially web?), while keeping the rest the same.
2022-09-30 17:05:39 -07:00
Johannes Batzill
5baf42d5ca
Add context to pingDatabase and change logging behavior ( #21 )
...
Add cancelable context to our server CLI and adds canceling and improved logging to PingDatabase
2022-09-27 09:45:52 -07:00
Enver Bisevac
f03528e862
[MAINT] initial config for ci linter ( #17 )
...
* initial config for ci linter
* more linter work
* linter errors fix
* linter errors fix
* linter conf minor changes
2022-09-19 18:13:18 +02:00
Enver Bisevac
ca8aa47e05
[MAINT] initial work on linter setup ( #16 )
...
* initial work on linter setup
* simple linter rules fixed
2022-09-13 00:08:43 +02:00
Johannes Batzill
4aa8819765
Rename project to 'gitness'
2022-08-29 10:12:07 -07:00
Johannes Batzill
813d343f6a
Rename module to github.com/harness/scm. Fix web/dist.go
2022-08-18 15:15:50 -07:00
Tan Nhu
5891818ce1
Initial commit
2022-08-09 12:37:37 -07:00