Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem #188

Merged
lunny merged 2 commits from lunny/go-sdk:lunny/remove_dependency_gitea into master 2019-10-13 01:34:03 +00:00
Owner

fix #177

This PR will remove the dependency on code.gitea.io/gitea/modules/structs and copy all necessary structs from that package.

After this change, we have to consider how to resolve the compatible between go-sdk and gitea.

I propose to create branches/tags on go-sdk to follow gitea’s branches/tags. That means when gitea create a new branch i.e. release/v1.10. go-sdk should also create a branch release/v1.10 to follow gitea’s change. Then you could use different branches to operate different version Gitea.

fix #177 This PR will remove the dependency on `code.gitea.io/gitea/modules/structs` and copy all necessary structs from that package. After this change, we have to consider how to resolve the compatible between go-sdk and gitea. I propose to create branches/tags on go-sdk to follow gitea’s branches/tags. That means when gitea create a new branch i.e. `release/v1.10`. go-sdk should also create a branch `release/v1.10` to follow gitea’s change. Then you could use different branches to operate different version Gitea.
lunny added the
kind/enhancement
label 2019-09-15 02:46:03 +00:00
jolheiser approved these changes 2019-10-11 03:28:36 +00:00
Dismissed
zeripath approved these changes 2019-10-12 20:48:47 +00:00
Dismissed
lunny closed this pull request 2019-10-13 01:34:03 +00:00
Sign in to join this conversation.
No description provided.