Commit Graph

16 Commits

Author SHA1 Message Date
Małgorzata Ksionek 5ce4236b66 Add code review remarks
Add cr remarks

Improve specs according to the review

Fix schema

Add cr remarks

Fix naming

Add cr remarks
2019-07-23 12:01:39 +02:00
Małgorzata Ksionek 1b102f5d11 Add basic project extraction
To allow project filtering

Prepare summary for accepting multiple groups

Modify deploys group summary class

Add filtering by project name in issues summary

Fix rubocop offences

Add changelog entry

Change name to id in project filtering

Fix rebase problem

Add project extraction
2019-07-23 12:01:39 +02:00
Małgorzata Ksionek beaa635306 Add class for group level analytics
Add specs for group level

Update entities

Update base classes

Add groups-centric changes

Update plan and review stage

Add summary classes

Add summary spec

Update specs files

Add to specs test cases for group

Add changelog entry

Add group serializer

Fix typo

Fix typo

Add fetching namespace in sql query

Update specs

Add rubocop fix

Add rubocop fix

Modify method to be in sync with code review

Add counting deploys from subgroup

To group summary stage

Add subgroups handling

In group stage summary

Add additional spec

Add additional specs

Add more precise inheritance

Add attr reader to group level

Fix rubocop offence

Fix problems with specs

Add cr remarks

Renaming median method and a lot of calls in specs

Move spec setup

Rename method in specs

Add code review remarks regarding module

Add proper module name
2019-07-15 15:06:40 +02:00
Małgorzata Ksionek 198df06fea Add attribute reader 2019-07-10 13:22:29 +02:00
Małgorzata Ksionek 21bc038b8d Add one method to base event fetcher
FIx file
2019-07-09 12:16:37 +02:00
Małgorzata Ksionek abca34d08e Modify base class for cycle analytics fetching 2019-07-09 12:16:37 +02:00
gfyoung 7e6f6e1603 Enable even more frozen string in lib/gitlab
Enables frozens string for the following:

* lib/gitlab/conflict/**/*.rb
* lib/gitlab/cross_project_access/**/*.rb
* lib/gitlab/cycle_analytics/**/*.rb
* lib/gitlab/data_builder/**/*.rb
* lib/gitlab/database/**/*.rb
* lib/gitlab/dependency_linker/**/*.rb
* lib/gitlab/diff/**/*.rb
* lib/gitlab/downtime_check/**/*.rb
* lib/gitlab/email/**/*.rb
* lib/gitlab/etag_caching/**/*.rb

Partially addresses gitlab-org/gitlab-ce#47424.
2018-11-06 22:47:32 -08:00
Lin Jen-Shin 689658456f Cache allowed_ids 2017-11-22 23:30:51 +08:00
Lin Jen-Shin 0b6d01ed77 Just define allowed_ids and override it with empty value
if not needed for those sub-classes.
2017-11-22 17:06:57 +08:00
Lin Jen-Shin 9ae92b8caa Add cop to make sure we don't use ivar in a module 2017-09-18 21:23:45 +08:00
James Lopez 1b7c186723 move query limit to base event fetcher 2017-02-06 16:23:55 +01:00
James Lopez 150a448596 refactored a bunch of stuff based on feedback 2017-01-17 11:32:55 +01:00
James Lopez 30c6703f0a fix specs 2017-01-17 11:32:55 +01:00
James Lopez 982d5a0506 refactored metrics fetcher - merged into stage and events 2017-01-17 11:32:55 +01:00
James Lopez 3f681f4cef fix specs, refactor missing bits from events stuff 2017-01-17 11:32:55 +01:00
James Lopez b214be493d big refactor based on MR feedback 2017-01-17 11:32:55 +01:00
Renamed from lib/gitlab/cycle_analytics/base_event.rb (Browse further)