Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 6.3k
[API] Pull Requests#248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Pull Requests #248
Uh oh!
There was an error while loading. Please reload this page.
Conversation
bkcsoft commented Nov 25, 2016
Had to update the vendored |
modules/context/api.go Outdated
| } | ||
| } | ||
| // ReferencesGitRepo ... I have no clue what this does :laughing: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyone wanna have a crack at guessing what this function does? 😆
| err.ID, err.IssueID, err.HeadRepoID, err.BaseRepoID, err.HeadBarcnh, err.BaseBranch) | ||
| } | ||
| typeErrPullRequestAlreadyExistsstruct{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
golint
routers/api/v1/repo/pull.go Outdated
| @@ -0,0 +1,418 @@ | |||
| // Copyright 2015 The Gogs Authors. All rights reserved. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'm not entirely sure if we can just change it, since I'm not the original author of this... @lstahlman is IIRC
8b131af to 23e7cccComparebkcsoft commented Dec 1, 2016
There, fixed the things @lunny said, should be good for merging :) |
tboerger commented Dec 1, 2016
LGTM |
Bwko commented Dec 1, 2016
LGTM |
bkcsoft commented Dec 2, 2016
Builds are failing because of Linting, Need to so some final testing before this goes into master though... |
73311ac to 6f22001Comparebkcsoft commented Dec 2, 2016
Builds are green! 😄 |
bkcsoft commented Dec 2, 2016
Verified that it works using the (currently under development) Gitea-importer in GitLab :) |
3d62890 to 4dbead0Comparestrk commented Dec 2, 2016
So drop the status/wip label ? :) |
bkcsoft commented Dec 2, 2016
@strk since it was "Green" I tacked on the wip-label so no-one accidentally merged it 😛 |
strk commented Dec 2, 2016
Ops, an accident occurred ! |
Add Pull-Request API
Migrated and Rebased from gogs/gogs#3755