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 3 years ago
lunny commented 3 years ago
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 3 years ago
jolheiser approved these changes 3 years ago
Dismissed
zeripath approved these changes 3 years ago
Dismissed
lunny closed this pull request 3 years ago
continuous-integration/drone/pr Build is passing
The pull request has been merged as e41e9ea72c.
Sign in to join this conversation.
Loading…
There is no content yet.