Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
65836d5f
Commit
65836d5f
authored
Apr 05, 2022
by
jejacks0n
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds links to documentation and removes a TODO
parent
753b597a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
app/experiments/application_experiment.rb
app/experiments/application_experiment.rb
+9
-1
No files found.
app/experiments/application_experiment.rb
View file @
65836d5f
...
...
@@ -3,6 +3,11 @@
class
ApplicationExperiment
<
Gitlab
::
Experiment
control
{
nil
}
# provide a default control for anonymous experiments
# Documented in:
# https://gitlab.com/gitlab-org/gitlab/-/issues/357904
# https://gitlab.com/gitlab-org/gitlab/-/issues/345932
#
# @deprecated
def
publish_to_database
ActiveSupport
::
Deprecation
.
warn
(
'publish_to_database is deprecated and should not be used for reporting anymore'
)
...
...
@@ -21,10 +26,13 @@ class ApplicationExperiment < Gitlab::Experiment
# define a default nil control behavior so we can omit it when not needed
end
# TODO: remove
# This is deprecated logic as of v0.6.0 and should eventually be removed, but
# needs to stay intact for actively running experiments. The new strategy
# utilizes Digest::SHA2, a secret seed, and generates a 64-byte string.
#
# https://gitlab.com/gitlab-org/gitlab/-/issues/334590
#
# @deprecated
def
key_for
(
source
,
seed
=
name
)
source
=
source
.
keys
+
source
.
values
if
source
.
is_a?
(
Hash
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment