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
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'lunny/go-sdk:lunny/remove_dependency_gitea'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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 branchrelease/v1.10
to follow gitea’s change. Then you could use different branches to operate different version Gitea.e41e9ea72c
.