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
6f2aa950
Commit
6f2aa950
authored
Nov 18, 2020
by
Jennifer Louie
Committed by
Heinrich Lee Yu
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render markdown snippets on Geo secondary sites
parent
13a73325
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
app/models/snippet_blob.rb
app/models/snippet_blob.rb
+4
-0
changelogs/unreleased/jsl-snippet-fix.yml
changelogs/unreleased/jsl-snippet-fix.yml
+5
-0
qa/qa/specs/features/ee/browser_ui/geo/geo_replication_project_snippets_spec.rb
...e/browser_ui/geo/geo_replication_project_snippets_spec.rb
+1
-1
No files found.
app/models/snippet_blob.rb
View file @
6f2aa950
...
...
@@ -21,6 +21,10 @@ class SnippetBlob
data
.
bytesize
end
def
commit_id
nil
end
def
data
snippet
.
content
end
...
...
changelogs/unreleased/jsl-snippet-fix.yml
0 → 100644
View file @
6f2aa950
---
title
:
Fix single file snippets display for Geo secondary sites
merge_request
:
46812
author
:
type
:
fixed
qa/qa/specs/features/ee/browser_ui/geo/geo_replication_project_snippets_spec.rb
View file @
6f2aa950
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Geo'
,
:orchestrated
,
:geo
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/262103'
,
type: :bug
}
do
RSpec
.
describe
'Geo'
,
:orchestrated
,
:geo
do
describe
'Project snippet'
do
let
(
:snippet_title
)
{
"Geo project snippet-
#{
SecureRandom
.
hex
(
8
)
}
"
}
let
(
:snippet_description
)
{
'Geo snippet description'
}
...
...
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