Partition the on-disk repository directories by Repository#hashed_path [migration]
[gitorious:yousource.git] / spec / fixtures / repositories.yml
1 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2 johans:
3   id: 1
4   name: Johansprojectrepos
5   project_id: 1
6   user_id: 1
7   created_at: 2007-11-18 01:21:21
8   updated_at: 2007-11-18 01:21:21
9   mainline: true
10   owner_type: Project
11   owner_id: 1
12   hashed_path: <%= Digest::SHA1.hexdigest("johans") %>
13
14 johans2:
15   id: 2
16   name: Johansprojectrepos-clone
17   project_id: 1
18   user_id: 2
19   parent_id: 1
20   created_at: 2007-11-18 01:21:21
21   updated_at: 2007-11-18 01:21:21
22   mainline: false
23   owner_type: Group
24   owner_id: <%= Fixtures.identify(:johans_team_thunderbird) %>
25   hashed_path: <%= Digest::SHA1.hexdigest("johans2") %>
26
27 moes:
28   id: 3
29   name: moesprojectrepos
30   project_id: 2
31   user_id: 2
32   created_at: 2007-11-18 01:21:21
33   updated_at: 2007-11-18 01:21:21
34   mainline: true
35   owner_type: Project
36   owner_id: 2
37   hashed_path: <%= Digest::SHA1.hexdigest("moes") %>
38   
39 johans_moe_clone:
40   id: 4
41   name: johans-clone-of-moes
42   project_id: 2
43   user_id: 1
44   created_at: 2007-11-18 01:21:21
45   updated_at: 2007-11-18 01:21:21
46   mainline: false
47   parent_id: 3
48   owner_type: User
49   owner_id: 1
50   hashed_path: <%= Digest::SHA1.hexdigest("johans_moe_clone") %>
51   
52 johans_wiki:
53   name: <%= "mainline#{Repository::WIKI_NAME_SUFFIX}" %>
54   project_id: 1
55   user_id: 1
56   created_at: <%= Time.now %>
57   updated_at: <%= Time.now %>
58   mainline: false
59   kind: <%= "#{Repository::KIND_WIKI}" %>
60   ready: true
61   owner_type: Group
62   owner_id: <%= Fixtures.identify(:johans_core) %>
63   hashed_path: <%= Digest::SHA1.hexdigest("johans_wiki") %>