Class: TFSGraph::Populators::Everything

Inherits:
Object
  • Object
show all
Includes:
Utilities
Defined in:
lib/tfs_graph/populators/everything.rb

Constant Summary

Constants included from StoreHelpers

StoreHelpers::UPDATED_KEY

Instance Method Summary collapse

Methods included from Utilities

#clean, #collect_branches, #collect_changesets, #collect_merges, #collect_projects, #finalize, #generate_branch_tree

Methods included from StoreHelpers

#flush_all, #last_updated_on, #mark_as_updated

Instance Method Details

#populateObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/tfs_graph/populators/everything.rb', line 6

def populate
  clean

  collect_projects.map do |project|
    branches = collect_branches(project)
    branches.map {|branch| collect_changesets(branch) }

    branches.each {|branch| collect_merges(branch) }
  end

  finalize
end