Skip to content

Commit

Permalink
[ci] Partly revert to get package building again
Browse files Browse the repository at this point in the history
[ci] fix rake task of db:extract_fixtures
  • Loading branch information
adrianschroeter committed Nov 19, 2015
1 parent 87591dc commit 12d3d4e
Show file tree
Hide file tree
Showing 20 changed files with 206 additions and 253 deletions.
4 changes: 2 additions & 2 deletions src/api/test/fixtures/attrib_default_values.yml
@@ -1,5 +1,5 @@
attrib_default_values_QualityCategory:
id: 1
attrib_type_id: 75
attrib_type_id: 75
value: Development
position: 1
position: 1
14 changes: 6 additions & 8 deletions src/api/test/fixtures/attrib_namespace_modifiable_bies.yml
@@ -1,16 +1,14 @@
Admin_can_change_obs:
id: 1
id: 624394844
attrib_namespace_id: 9
user: Admin
king_can_change_obs:
id: 624394835
attrib_namespace_id: 9
user: king
fred_can_change_obs:
id: 3
attrib_namespace_id: 9
user: fred
honks_can_change_obs:
id: 4
attrib_namespace_id: 9
group: honks
king_can_change_obs:
id: 2
attrib_namespace_id: 9
user: king
group: honks
7 changes: 3 additions & 4 deletions src/api/test/fixtures/attrib_type_modifiable_bies.yml
@@ -1,7 +1,3 @@
User_VeryImportantProject:
id: 1003545546
attrib_type_id: 56
user: fred
attrib_type_modifiable_bies_179501368:
id: 179501368
attrib_type_id: 58
Expand Down Expand Up @@ -87,3 +83,6 @@ attrib_type_modifiable_bies_973674882:
id: 973674882
attrib_type_id: 77
role: Admin
User_VeryImportantProject:
attrib_type_id: 56
user: fred
10 changes: 5 additions & 5 deletions src/api/test/fixtures/attrib_values.yml
@@ -1,8 +1,3 @@
attrib_My_Maintenance_updateinfo:
id: 3
attrib_id: 1040753499
value: updateinfo%N-%Y-%C
position: 0
attrib_values_UpdateProject_for_BaseDistro:
id: 1
attrib_id: 102
Expand All @@ -13,3 +8,8 @@ attrib_values_UpdateProject_for_BaseDistro2_0:
attrib_id: 103
value: BaseDistro2.0:LinkedUpdateProject
position: 0
attrib_My_Maintenance_updateinfo:
id: 3
attrib_id: 1040753499
value: "updateinfo%N-%Y-%C"
position: 0
42 changes: 21 additions & 21 deletions src/api/test/fixtures/backend_packages.yml
Expand Up @@ -46,13 +46,6 @@ BaseDistro3_pack2:
expandedmd5: 4f379b8e116209d2146b349280ba0440
maxmtime: 2013-09-30 15:50:31.000000000 Z
package: BaseDistro3_pack2
BaseDistro_Pack3:
updated_at: 2013-09-30 15:50:42.000000000 Z
srcmd5: 96c3955b419fec1a637698e52b6a7d37
verifymd5: 96c3955b419fec1a637698e52b6a7d37
expandedmd5: 96c3955b419fec1a637698e52b6a7d37
maxmtime: 2013-09-30 15:50:30.000000000 Z
package: BaseDistro_Pack3
BaseDistro_Update_pack2:
updated_at: 2013-09-16 19:24:58.000000000 Z
srcmd5: eac312ffacd1f577056eafc9101b7ce9
Expand All @@ -75,6 +68,13 @@ BaseDistro_pack2:
expandedmd5: d430c2f61e4d8999f9ca6ed6667a104e
maxmtime: 2013-09-30 15:50:30.000000000 Z
package: BaseDistro_pack2
BaseDistro_pack3:
updated_at: 2013-09-30 15:50:42.000000000 Z
srcmd5: 96c3955b419fec1a637698e52b6a7d37
verifymd5: 96c3955b419fec1a637698e52b6a7d37
expandedmd5: 96c3955b419fec1a637698e52b6a7d37
maxmtime: 2013-09-30 15:50:30.000000000 Z
package: BaseDistro_pack3
BaseDistro_patchinfo:
updated_at: 2013-09-30 15:50:42.000000000 Z
srcmd5: a4ff2cef044a88ad8b8315690d351765
Expand Down Expand Up @@ -102,13 +102,6 @@ CopyTest_test:
expandedmd5: 4e5c79d6293a88aa9650504d5be5b157
maxmtime: 2013-09-30 15:50:34.000000000 Z
package: CopyTest_test
Devel_BaseDistro_Update_Pack3:
updated_at: 2013-09-30 15:50:44.000000000 Z
srcmd5: 65ea42833ec36a572cf1e06d5dc9d98f
verifymd5: 40932d5b533a34cf5394079ed5923338
expandedmd5: b3daf35d3a364c521fa8cd9fcc201131
maxmtime: 2013-09-30 15:50:32.000000000 Z
package: Devel_BaseDistro_Update_Pack3
Devel_BaseDistro_Update_pack2:
updated_at: 2013-09-16 19:24:59.000000000 Z
srcmd5: 2798a1588d6ab6ce6843f39956ffe04c
Expand All @@ -117,6 +110,13 @@ Devel_BaseDistro_Update_pack2:
maxmtime: 2013-09-16 19:24:54.000000000 Z
package: Devel_BaseDistro_Update_pack2
links_to: BaseDistro_Update_pack2
Devel_BaseDistro_Update_pack3:
updated_at: 2013-09-30 15:50:44.000000000 Z
srcmd5: 65ea42833ec36a572cf1e06d5dc9d98f
verifymd5: 40932d5b533a34cf5394079ed5923338
expandedmd5: b3daf35d3a364c521fa8cd9fcc201131
maxmtime: 2013-09-30 15:50:32.000000000 Z
package: Devel_BaseDistro_Update_pack3
LocalProject_newpackage:
updated_at: 2013-09-30 15:50:44.000000000 Z
srcmd5: d41d8cd98f00b204e9800998ecf8427e
Expand Down Expand Up @@ -184,13 +184,6 @@ home_dmayr_x11vnc:
expandedmd5: 5444d110509157dbac7f14e23c88cba5
maxmtime: 2013-09-30 15:50:37.000000000 Z
package: home_dmayr_x11vnc
home_king_commentpack:
updated_at: 2013-09-30 15:50:41.000000000 Z
srcmd5: d41d8cd98f00b204e9800998ecf8427e
verifymd5: d41d8cd98f00b204e9800998ecf8427e
expandedmd5: d41d8cd98f00b204e9800998ecf8427e
maxmtime: 2013-09-30 15:50:37.000000000 Z
package: home_king_commentpack
kde4_kdebase:
updated_at: 2013-09-30 15:50:40.000000000 Z
srcmd5: 472e3c79db1d15a4db15ff37ca5f4ca9
Expand All @@ -205,3 +198,10 @@ kde4_kdelibs:
expandedmd5: 1636661d96a88cd985d82dc611ebd723
maxmtime: 2013-09-30 15:50:37.000000000 Z
package: kde4_kdelibs
home_king_commentpack:
updated_at: 2013-09-30 15:50:41.000000000 Z
srcmd5: d41d8cd98f00b204e9800998ecf8427e
verifymd5: d41d8cd98f00b204e9800998ecf8427e
expandedmd5: d41d8cd98f00b204e9800998ecf8427e
maxmtime: 2013-09-30 15:50:37.000000000 Z
package: home_king_commentpack
Empty file.
6 changes: 0 additions & 6 deletions src/api/test/fixtures/bs_requests.yml
Expand Up @@ -6,7 +6,6 @@ bs_requests_1000:
commenter: tom
created_at: 2013-09-09 19:15:16.000000000 Z
updated_at: 2013-09-09 19:15:16.000000000 Z
priority: moderate
missing_projects:
id: 2
description: ''
Expand All @@ -15,7 +14,6 @@ missing_projects:
commenter: tom
created_at: 2012-09-02 13:08:02.000000000 Z
updated_at: 2012-09-02 13:08:02.000000000 Z
priority: moderate
missing_source_project:
id: 1
description: ''
Expand All @@ -24,7 +22,6 @@ missing_source_project:
commenter: tom
created_at: 2012-09-01 13:08:02.000000000 Z
updated_at: 2012-09-01 13:08:02.000000000 Z
priority: moderate
missing_target_project:
id: 3
description: ''
Expand All @@ -33,7 +30,6 @@ missing_target_project:
commenter: tom
created_at: 2012-09-03 13:08:02.000000000 Z
updated_at: 2012-09-03 13:08:02.000000000 Z
priority: moderate
multiple_test:
id: 10
description: multiple test
Expand All @@ -42,7 +38,6 @@ multiple_test:
commenter: tom
created_at: 2013-09-09 19:20:44.000000000 Z
updated_at: 2013-09-09 19:20:44.000000000 Z
priority: moderate
submit_from_home_project:
id: 4
description: test home project shortening
Expand All @@ -52,4 +47,3 @@ submit_from_home_project:
commenter: king
created_at: 2012-09-04 13:08:02.000000000 Z
updated_at: 2012-09-28 11:56:53.000000000 Z
priority: moderate
104 changes: 52 additions & 52 deletions src/api/test/fixtures/comments.yml
@@ -1,55 +1,3 @@
king_package_comment_parent:
id: 400
body: This is the start of a comment thread on a package
type: CommentPackage
created_at: 2014-02-14 12:00:00.000000000 Z
updated_at: 2014-02-14 12:00:04.000000000 Z
user: Admin
package: home_king_commentpack
king_package_comment_reply_1:
id: 401
body: This is the first reply
parent_id: 400
type: CommentPackage
created_at: 2014-02-14 12:01:00.000000000 Z
updated_at: 2014-02-14 12:01:04.000000000 Z
user: tom
package: home_king_commentpack
king_package_comment_reply_2:
id: 402
body: This is a reply to the first reply
parent_id: 401
type: CommentPackage
created_at: 2014-02-14 12:02:00.000000000 Z
updated_at: 2014-02-14 12:02:04.000000000 Z
user: adrian
package: home_king_commentpack
king_project_comment_parent:
id: 500
body: This is the start of a comment thread on a project
type: CommentProject
created_at: 2014-02-14 12:00:00.000000000 Z
updated_at: 2014-02-14 12:00:04.000000000 Z
user: Admin
project: home_king
king_project_comment_reply_1:
id: 501
body: This is the first reply
parent_id: 500
type: CommentProject
created_at: 2014-02-14 12:01:00.000000000 Z
updated_at: 2014-02-14 12:01:04.000000000 Z
user: tom
project: home_king
king_project_comment_reply_2:
id: 502
body: This is a reply to the first reply
parent_id: 501
type: CommentProject
created_at: 2014-02-14 12:02:00.000000000 Z
updated_at: 2014-02-14 12:02:04.000000000 Z
user: adrian
project: home_king
package_comment_parent:
id: 200
body: |-
Expand Down Expand Up @@ -137,3 +85,55 @@ request_comment_reply_2:
created_at: 2013-07-25 18:00:21.000000000 Z
updated_at: 2014-01-13 11:07:05.000000000 Z
user: adrian
king_package_comment_parent:
id: 400
body: This is the start of a comment thread on a package
type: CommentPackage
created_at: 2014-02-14 12:00:00.000000000 Z
updated_at: 2014-02-14 12:00:04.000000000 Z
user: Admin
package: home_king_commentpack
king_package_comment_reply_1:
id: 401
body: This is the first reply
parent_id: 400
type: CommentPackage
created_at: 2014-02-14 12:01:00.000000000 Z
updated_at: 2014-02-14 12:01:04.000000000 Z
user: tom
package: home_king_commentpack
king_package_comment_reply_2:
id: 402
body: This is a reply to the first reply
parent_id: 401
type: CommentPackage
created_at: 2014-02-14 12:02:00.000000000 Z
updated_at: 2014-02-14 12:02:04.000000000 Z
user: adrian
package: home_king_commentpack
king_project_comment_parent:
id: 500
body: This is the start of a comment thread on a project
type: CommentProject
created_at: 2014-02-14 12:00:00.000000000 Z
updated_at: 2014-02-14 12:00:04.000000000 Z
user: Admin
project: home_king
king_project_comment_reply_1:
id: 501
body: This is the first reply
parent_id: 500
type: CommentProject
created_at: 2014-02-14 12:01:00.000000000 Z
updated_at: 2014-02-14 12:01:04.000000000 Z
user: tom
project: home_king
king_project_comment_reply_2:
id: 502
body: This is a reply to the first reply
parent_id: 501
type: CommentProject
created_at: 2014-02-14 12:02:00.000000000 Z
updated_at: 2014-02-14 12:02:04.000000000 Z
user: adrian
project: home_king
6 changes: 3 additions & 3 deletions src/api/test/fixtures/configurations.yml
Expand Up @@ -19,19 +19,19 @@ seed:
name: obstest
registration: allow
anonymous: 1
default_tracker: bnc
default_access_disabled: 0
allow_user_to_create_home_project: 1
disallow_group_creation: 0
change_password: 1
hide_private_options: 0
cleanup_after_days: 3
gravatar: 0
enforce_project_keys: 0
download_on_demand: 1
admin_email: obs-email@opensuse.org
download_url: http://example.com/download
ymp_url: http://example.com/ymp
obs_url: http://localhost
cleanup_after_days: 3
cleanup_empty_projects: 1
disable_publish_for_branches: 1
admin_email: obs-email@opensuse.org
default_tracker: bnc
34 changes: 17 additions & 17 deletions src/api/test/fixtures/event_subscriptions.yml
Expand Up @@ -23,52 +23,52 @@ record_3:
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
record_4:
eventtype: Event::CommentForProject
receiver_role: commenter
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
record_5:
eventtype: Event::CommentForProject
receiver_role: maintainer
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
record_6:
record_5:
eventtype: Event::RequestStateChange
receiver_role: creator
created_at: 2013-11-29 16:20:19.000000000 Z
updated_at: 2013-11-29 16:20:19.000000000 Z
receive: 1
record_7:
eventtype: Event::CommentForPackage
receiver_role: commenter
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
record_8:
record_6:
eventtype: Event::Request
receiver_role: maintainer
created_at: 2013-08-20 17:45:23.000000000 Z
updated_at: 2013-12-10 19:00:58.000000000 Z
receive: 0
user: tom
record_9:
record_7:
eventtype: Event::Build
receiver_role: all
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
user: fred
record_10:
record_8:
eventtype: Event::CommentForRequest
receiver_role: commenter
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
record_11:
record_9:
eventtype: Event::RequestCreate
receiver_role: target_maintainer
created_at: 2013-08-20 15:32:05.000000000 Z
updated_at: 2013-08-20 15:32:05.000000000 Z
receive: 1
record_10:
eventtype: Event::CommentForProject
receiver_role: commenter
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1
record_11:
eventtype: Event::CommentForPackage
receiver_role: commenter
created_at: 2013-08-20 17:45:46.000000000 Z
updated_at: 2013-08-20 17:45:46.000000000 Z
receive: 1

0 comments on commit 12d3d4e

Please sign in to comment.