OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
update work packages seeded
ulfertsb7105b8a88cd
diff --git a/config/locales/en.seeders.standard.yml b/config/locales/en.seeders.standard.ymlindex 6ec584bde7a..e2cc033bdc1 100644--- a/config/locales/en.seeders.standard.yml+++ b/config/locales/en.seeders.standard.yml@@ -114,50 +114,74 @@ en:name: 'Basic board'parent_child:name: 'Work breakdown structure'+ # For all dates, the reference is the monday of the current week+ # So+ # * start: 0 references Monday+ # * start: 4 references Friday+work_packages:- - start: 4+ - start: -1subject: Start of projectdescription:status: default_status_closedtype: default_type_milestoneduration: 0schedule_manually: false- - start: 5+ - start: 0subject: Organize open source conferencedescription:status: default_status_in_progresstype: default_type_phasechildren:- - start: 5+ - start: 0subject: Set date and location of conferencedescription: ''status: default_status_in_progresstype: default_type_task- duration: 16+ children:+ - start: 0+ subject: Send invitation to speakers+ description: ''+ status: default_status_in_progress+ type: default_type_task+ duration: 1+ - start: 0+ subject: Contact sponsoring partners+ description: ''+ status: default_status_new+ type: default_type_task+ duration: 2+ - start: 0+ subject: Create sponsorship brochure and hand-outs+ description: ''+ status: default_status_new+ type: default_type_task+ duration: 4+ duration: 4schedule_manually: false- - start: 22- subject: Setup conference website+ - start: 4+ subject: Invite attendees to conferencedescription: ''status: default_status_newtype: default_type_task- duration: 35+ duration: 1relations:- to: Set date and location of conferencetype: follows- :schedule_manually: false- - start: 22- subject: Invite attendees to conference+ schedule_manually: false+ - start: 4+ subject: Setup conference websitedescription: ''status: default_status_newtype: default_type_task- duration: 16+ duration: 11relations:- to: Set date and location of conferencetype: followsschedule_manually: false- duration: 70+ duration: 15schedule_manually: true- - start: 76+ - start: 15subject: Conferencedescription:status: default_status_scheduled@@ -167,20 +191,20 @@ en:- to: Organize open source conferencetype: followsschedule_manually: false- - start: 77+ - start: 21subject: Follow-up tasksdescription:status: default_status_to_be_scheduledtype: default_type_phasechildren:- - start: 77+ - start: 21subject: Upload presentations to websitedescription: ''status: default_status_newtype: default_type_task- duration: 16+ duration: 10schedule_manually: false- - start: 77+ - start: 31subject: Party for conference supporters :-)description: |-* [ ] Beer@@ -189,11 +213,11 @@ en:* [ ] Even more beerstatus: default_status_newtype: default_type_task- duration: 0+ duration: 1schedule_manually: false- duration: 16+ duration: 11schedule_manually: false- - start: 94+ - start: 32subject: End of projectdescription:status: default_status_newdiff --git a/spec/seeders/demo_data_seeder_spec.rb b/spec/seeders/demo_data_seeder_spec.rbindex 75c84627cc9..83d4dfcb295 100644--- a/spec/seeders/demo_data_seeder_spec.rb+++ b/spec/seeders/demo_data_seeder_spec.rb@@ -39,7 +39,7 @@ describe RootSeeder,expect(User.where(admin: true).count).to eq 1expect(Project.count).to eq 2- expect(WorkPackage.count).to eq 33+ expect(WorkPackage.count).to eq 36expect(Wiki.count).to eq 2expect(Query.having_views.count).to eq 7expect(View.where(type: 'work_packages_table').count).to eq 7