This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
测试gitea的git——params
tags/v1
sylor_huang@126.com
6 years ago
parent
482888bcb9
commit
dc5bf457f6
2 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
app/controllers/repositories_controller.rb
+1
-0
app/services/gitea/client_service.rb
+ 0
- 2
app/controllers/repositories_controller.rb
View File
@@ -39,8 +39,6 @@ class RepositoriesController < ApplicationController
def commits
@hash_commit = Gitea::Repository::Commits::ListService.new(@project.owner, @project.identifier, sha: params[:sha], page: params[:page]).call
Rails.logger.info("######__________________#####{@hash_commit}")
@hash_commit
end
def single_commit
+ 1
- 0
app/services/gitea/client_service.rb
View File
@@ -28,6 +28,7 @@ class Gitea::ClientService < ApplicationService
end
def get(url, params={})
Rails.logger.info("##########__________get_params__________########{params}")
auth_token = authen_params(params[:token])
conn(auth_token).get do |req|
req.url full_url(url)
Write
Preview
Loading…
Cancel
Save