get data from final export

This commit is contained in:
Min RK 2015-09-08 15:37:12 +02:00
parent 13b8af1dcf
commit 528afe6373

View File

@ -23,6 +23,7 @@ HOMEPAGE = "http://opendreamkit.org"
PROPOSAL_URL = "https://github.com/OpenDreamKit/OpenDreamKit/raw/master/Proposal/proposal-www.pdf" PROPOSAL_URL = "https://github.com/OpenDreamKit/OpenDreamKit/raw/master/Proposal/proposal-www.pdf"
PROJECT = "OpenDreamKit" PROJECT = "OpenDreamKit"
REPO = "minrk/odktest2" REPO = "minrk/odktest2"
TARGET = "final" # or 'proposal
# throttle github creation requests to 5 Hz to avoid getting flagged for abuse # throttle github creation requests to 5 Hz to avoid getting flagged for abuse
THROTTLE_SECONDS = 5 THROTTLE_SECONDS = 5
@ -129,8 +130,8 @@ end
def load_pdata(proposal_dir) def load_pdata(proposal_dir)
pdata = File.join(proposal_dir, 'proposal.pdata') pdata = File.join(proposal_dir, "#{TARGET}.pdata")
deliv_data = File.join(proposal_dir, 'proposal.deliverables') deliv_data = File.join(proposal_dir, "#{TARGET}.deliverables")
workpackages = {} # mapping of workpackage id => wp info workpackages = {} # mapping of workpackage id => wp info