summaryrefslogtreecommitdiff
path: root/db/fixtures/development/002_project.rb
blob: e50ab5d9d52c8b4925831045a26c58fda2df3125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Group.seed(:id, [
  { id: 99,  name: "GitLab", path: 'gitlab', owner_id: 1 },
  { id: 100, name: "Brightbox", path: 'brightbox', owner_id: 1 },
  { id: 101, name: "KDE", path: 'kde', owner_id: 1 },
])

Project.seed(:id, [

  # Global
  { id: 1, name: "Underscore.js", path: "underscore", creator_id: 1 },
  { id: 2, name: "Diaspora", path: "diaspora", creator_id: 1 },

  # Brightbox
  { id: 3, namespace_id: 100, name: "Brightbox CLI", path: "brightbox-cli", creator_id: 1 },
  { id: 4, namespace_id: 100, name: "Puppet", path: "puppet", creator_id: 1 },

  # KDE
  { id: 5, namespace_id: 101, name: "kdebase", path: "kdebase", creator_id: 1},
  { id: 6, namespace_id: 101, name: "kdelibs", path: "kdelibs", creator_id: 1},
  { id: 7, namespace_id: 101, name: "amarok",  path: "amarok",  creator_id: 1},

  # GitLab
  { id: 8,  namespace_id: 99, name: "gitlabhq", path: "gitlabhq", creator_id: 1},
  { id: 9,  namespace_id: 99, name: "gitlab-ci",  path: "gitlab-ci",  creator_id: 1},
  { id: 10, namespace_id: 99, name: "gitlab-recipes",  path: "gitlab-recipes",  creator_id: 1},
])