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
2a5d9074
Commit
2a5d9074
authored
Mar 04, 2020
by
Amy Qualls
Committed by
Marcel Amirault
Mar 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code blocks to add language
Adding in langauges to code blocks to prepare for linting.
parent
422c6d97
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
doc/integration/twitter.md
doc/integration/twitter.md
+1
-1
doc/integration/ultra_auth.md
doc/integration/ultra_auth.md
+1
-1
doc/integration/vault.md
doc/integration/vault.md
+2
-2
doc/raketasks/import.md
doc/raketasks/import.md
+3
-3
No files found.
doc/integration/twitter.md
View file @
2a5d9074
...
@@ -64,7 +64,7 @@ To enable the Twitter OmniAuth provider you must register your application with
...
@@ -64,7 +64,7 @@ To enable the Twitter OmniAuth provider you must register your application with
For installations from source:
For installations from source:
```
```
yaml
-
{
name
:
'
twitter'
,
app_id
:
'
YOUR_APP_ID'
,
-
{
name
:
'
twitter'
,
app_id
:
'
YOUR_APP_ID'
,
app_secret
:
'
YOUR_APP_SECRET'
}
app_secret
:
'
YOUR_APP_SECRET'
}
```
```
...
...
doc/integration/ultra_auth.md
View file @
2a5d9074
...
@@ -60,7 +60,7 @@ To get the credentials (a pair of Client ID and Client Secret), you must registe
...
@@ -60,7 +60,7 @@ To get the credentials (a pair of Client ID and Client Secret), you must registe
For installation from source:
For installation from source:
```
```
yaml
-
{
name
:
'
ultraauth'
,
-
{
name
:
'
ultraauth'
,
app_id
:
'
OPENID_CLIENT_ID'
,
app_id
:
'
OPENID_CLIENT_ID'
,
app_secret
:
'
OPENID_CLIENT_SECRET'
,
app_secret
:
'
OPENID_CLIENT_SECRET'
,
...
...
doc/integration/vault.md
View file @
2a5d9074
...
@@ -36,7 +36,7 @@ The following assumes you already have Vault installed and running.
...
@@ -36,7 +36,7 @@ The following assumes you already have Vault installed and running.
You should see the following output in the terminal:
You should see the following output in the terminal:
```
shell
```
plaintext
Success! Enabled oidc auth method at: oidc/
Success! Enabled oidc auth method at: oidc/
```
```
...
@@ -113,7 +113,7 @@ The following assumes you already have Vault installed and running.
...
@@ -113,7 +113,7 @@ The following assumes you already have Vault installed and running.
The terminal will output:
The terminal will output:
```
```
plaintext
Success! You are now authenticated. The token information displayed below
Success! You are now authenticated. The token information displayed below
is already stored in the token helper. You do NOT need to run "vault login"
is already stored in the token helper. You do NOT need to run "vault login"
again. Future Vault requests will automatically use this token.
again. Future Vault requests will automatically use this token.
...
...
doc/raketasks/import.md
View file @
2a5d9074
...
@@ -98,7 +98,7 @@ To support importing bare repositories from hashed storage, GitLab 10.4 and
...
@@ -98,7 +98,7 @@ To support importing bare repositories from hashed storage, GitLab 10.4 and
later stores the full project path with each repository, in a special section of
later stores the full project path with each repository, in a special section of
the Git repository's config file. This section is formatted as follows:
the Git repository's config file. This section is formatted as follows:
```
```
ini
[gitlab]
[gitlab]
fullpath
=
gitlab-org/gitlab
fullpath
=
gitlab-org/gitlab
```
```
...
@@ -128,7 +128,7 @@ Until then, you may wish to manually migrate repositories yourself. You can use
...
@@ -128,7 +128,7 @@ Until then, you may wish to manually migrate repositories yourself. You can use
[
Rails console
](
https://docs.gitlab.com/omnibus/maintenance/#starting-a-rails-console-session
)
[
Rails console
](
https://docs.gitlab.com/omnibus/maintenance/#starting-a-rails-console-session
)
to do so. In a Rails console session, run the following to migrate a project:
to do so. In a Rails console session, run the following to migrate a project:
```
```
ruby
project
=
Project
.
find_by_full_path
(
'gitlab-org/gitlab'
)
project
=
Project
.
find_by_full_path
(
'gitlab-org/gitlab'
)
project
.
write_repository_config
project
.
write_repository_config
```
```
...
@@ -136,7 +136,7 @@ project.write_repository_config
...
@@ -136,7 +136,7 @@ project.write_repository_config
In a Rails console session, run the following to migrate all of a namespace's
In a Rails console session, run the following to migrate all of a namespace's
projects (this may take a while if there are 1000s of projects in a namespace):
projects (this may take a while if there are 1000s of projects in a namespace):
```
```
ruby
namespace
=
Namespace
.
find_by_full_path
(
'gitlab-org'
)
namespace
=
Namespace
.
find_by_full_path
(
'gitlab-org'
)
namespace
.
send
(
:write_projects_repository_config
)
namespace
.
send
(
:write_projects_repository_config
)
```
```
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