github --> bitbucket --> gitlab 으로 호스팅을 바꾸면서 이슈 답글이 많이 날아갔는데, 모두 수작업으로 복구했습니다.
아래와 같은 루비 스크립트를 이용했습니다.
require 'json'
require 'pp'
file = open("db-1.0.json")
json = file.read
parsed = JSON.parse(json)
parsed["comments"].each do |comment|
if(comment["issue"].eql? ARGV[0])
puts "### " + comment["user"] + " "
puts "created on " + comment["created_on"] + " "
puts "updated on " + comment["updated_on"] + " "
puts
puts comment["content"].gsub(/\n/, " \n")
puts
puts "---"
puts
end
end
그리고, github 이슈 백업 파일을 올려놓았으니 필요하신 분들은 아래 주소에서 다운받으시기 바랍니다.
https://gitlab.com/nimf-i18n/nimf/issues/114
댓글 없음:
댓글 쓰기