mindspore 最近提交数同步
This commit is contained in:
parent
1508013abb
commit
0dffec8902
|
@ -25,6 +25,7 @@ namespace :batch_add_commits do
|
|||
end
|
||||
|
||||
def add_commits_to_project(project,page)
|
||||
puts "page==========#{page}"
|
||||
# curl -X GET --header 'Content-Type: application/json;charset=UTF-8' 'https://gitee.com/api/v5/repos/mindspore/mindspore/issues?access_token=5ccebd935915fb6cfcae634b161047a2&state=open&sort=created&direction=desc&page=1&per_page=10'
|
||||
api_url = "https://gitee.com/api/v5/repos/mindspore/mindspore/commits?access_token=96a637aa055f15056e77e3cf11a67525&state=all&sort=created&direction=desc&page=#{page}&per_page=100"
|
||||
uri = URI.parse(api_url)
|
||||
|
|
Loading…
Reference in New Issue