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
fe19300a
Commit
fe19300a
authored
Mar 06, 2020
by
Amy Qualls
Committed by
Marcel Amirault
Mar 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add language declarations to code blocks
Add yet more language declarations to code blocks.
parent
01130251
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
109 additions
and
109 deletions
+109
-109
doc/administration/auth/crowd.md
doc/administration/auth/crowd.md
+1
-1
doc/administration/auth/ldap.md
doc/administration/auth/ldap.md
+6
-6
doc/administration/geo/replication/database.md
doc/administration/geo/replication/database.md
+1
-1
doc/administration/geo/replication/troubleshooting.md
doc/administration/geo/replication/troubleshooting.md
+80
-80
doc/administration/git_annex.md
doc/administration/git_annex.md
+6
-6
doc/administration/lfs/migrate_from_git_annex_to_git_lfs.md
doc/administration/lfs/migrate_from_git_annex_to_git_lfs.md
+1
-1
doc/administration/logs.md
doc/administration/logs.md
+1
-1
doc/administration/operations/ssh_certificates.md
doc/administration/operations/ssh_certificates.md
+4
-4
doc/administration/reply_by_email_postfix_setup.md
doc/administration/reply_by_email_postfix_setup.md
+7
-7
doc/administration/repository_storage_paths.md
doc/administration/repository_storage_paths.md
+2
-2
No files found.
doc/administration/auth/crowd.md
View file @
fe19300a
...
...
@@ -54,7 +54,7 @@ Authenticate to GitLab using the Atlassian Crowd OmniAuth provider.
**Source:**
```
```
yaml
-
{
name
:
'
crowd'
,
args
:
{
crowd_server_url
:
'
CROWD_SERVER_URL'
,
...
...
doc/administration/auth/ldap.md
View file @
fe19300a
...
...
@@ -405,7 +405,7 @@ production:
Tip: If you want to limit access to the nested members of an Active Directory
group, you can use the following syntax:
```
text
```
plain
text
(memberOf:1.2.840.113556.1.4.1941:=CN=My Group,DC=Example,DC=com)
```
...
...
@@ -423,13 +423,13 @@ The `user_filter` DN can contain special characters. For example:
-
A comma:
```
text
```
plain
text
OU=GitLab, Inc,DC=gitlab,DC=com
```
-
Open and close brackets:
```
text
```
plain
text
OU=Gitlab (Inc),DC=gitlab,DC=com
```
...
...
@@ -438,13 +438,13 @@ The `user_filter` DN can contain special characters. For example:
-
Escape commas with
`\2C`
. For example:
```
text
```
plain
text
OU=GitLab\2C Inc,DC=gitlab,DC=com
```
-
Escape open and close brackets with
`\28`
and
`\29`
, respectively. For example:
```
text
```
plain
text
OU=Gitlab \28Inc\29,DC=gitlab,DC=com
```
...
...
@@ -603,7 +603,7 @@ GitLab. Common combinations are `encryption: 'plain'` and `port: 389`, OR
If GitLab cannot reach your LDAP endpoint, you will see a message like this:
```
```
plaintext
Could not authenticate you from Ldapmain because "Connection timed out - user specified timeout".
```
...
...
doc/administration/geo/replication/database.md
View file @
fe19300a
...
...
@@ -495,7 +495,7 @@ work:
1.
On the
**secondary**
nodes, change
`/etc/gitlab/gitlab.rb`
:
```
```
ruby
geo_postgresql
[
'fdw_external_user'
]
=
'gitlab_geo_fdw'
```
...
...
doc/administration/geo/replication/troubleshooting.md
View file @
fe19300a
This diff is collapsed.
Click to expand it.
doc/administration/git_annex.md
View file @
fe19300a
...
...
@@ -43,13 +43,13 @@ configuration options required to enable it.
For Debian-like systems (for example, Debian and Ubuntu) this can be achieved by running:
```
```
shell
sudo
apt-get update
&&
sudo
apt-get
install
git-annex
```
For RedHat-like systems (for example, CentOS and RHEL) this can be achieved by running:
```
```
shell
sudo
yum
install
epel-release
&&
sudo
yum
install
git-annex
```
...
...
@@ -108,7 +108,7 @@ git annex sync --content # sync the Git repo and large file to the GitLa
The output should look like this:
```
```
plaintext
commit
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
...
...
@@ -154,7 +154,7 @@ are turned into symbolic links that point to data in `.git/annex/objects/`.
The
`debian.iso`
file in the example will contain the symbolic link:
```
```
plaintext
.git/annex/objects/ZW/1k/SHA256E-s82701--6384039733b5035b559efd5a2e25a493ab6e09aabfd5162cc03f6f0ec238429d.png/SHA256E-s82701--6384039733b5035b559efd5a2e25a493ab6e09aabfd5162cc03f6f0ec238429d.iso
```
...
...
@@ -216,14 +216,14 @@ and the files are pushed to the GitLab repository.
If you get hit by this, you can run the following command inside the repository
that the warning was raised:
```
```
shell
git config remote.origin.annex-ignore
false
```
Consecutive runs of
`git annex sync --content`
**should not**
produce this
warning and the output should look like this:
```
```
plaintext
commit ok
pull origin
ok
...
...
doc/administration/lfs/migrate_from_git_annex_to_git_lfs.md
View file @
fe19300a
...
...
@@ -57,7 +57,7 @@ Fire up a terminal, navigate to your Git repository and:
1.
Enable
`git-lfs`
:
```
```
shell
git lfs
install
git lfs track <files>
git add
.
...
...
doc/administration/logs.md
View file @
fe19300a
...
...
@@ -353,7 +353,7 @@ GitLab uses background jobs for processing tasks which can take a long
time. All information about processing these jobs are written down to
this file. For example:
```
```
plaintext
2014-06-10T07:55:20Z 2037 TID-tm504 ERROR: /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/1.9.1/gems/redis-3.0.7/lib/redis/client.rb:228:in `read'
2014-06-10T18:18:26Z 14299 TID-55uqo INFO: Booting Sidekiq 3.0.0 with redis options {:url=>"redis://localhost:6379/0", :namespace=>"sidekiq"}
```
...
...
doc/administration/operations/ssh_certificates.md
View file @
fe19300a
...
...
@@ -40,7 +40,7 @@ it](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/htm
We assume that you already have SSH certificates set up, and have
added the
`TrustedUserCAKeys`
of your CA to your
`sshd_config`
, e.g.:
```
```
plaintext
TrustedUserCAKeys /etc/security/mycompany_user_ca.pub
```
...
...
@@ -87,7 +87,7 @@ Then, in your `sshd_config` set up `AuthorizedPrincipalsCommand` for
the
`git`
user. Hopefully you can use the default one shipped with
GitLab:
```
```
plaintext
Match User git
AuthorizedPrincipalsCommandUser root
AuthorizedPrincipalsCommand /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-authorized-principals-check %i sshUsers
...
...
@@ -95,7 +95,7 @@ Match User git
This command will emit output that looks something like:
```
```
shell
command
=
"/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell username-{KEY_ID}"
,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty
{
PRINCIPAL
}
```
...
...
@@ -108,7 +108,7 @@ some principal that's guaranteed to be part of the key for all users
who can log in to GitLab, or you must provide a list of principals,
one of which is going to be present for the user, e.g.:
```
```
plaintext
[...]
AuthorizedPrincipalsCommand /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-authorized-principals-check %i sshUsers windowsUsers
```
...
...
doc/administration/reply_by_email_postfix_setup.md
View file @
fe19300a
...
...
@@ -73,7 +73,7 @@ The instructions make the assumption that you will be using the email address `i
1.
Send the new
`incoming`
user a dummy email to test SMTP, by entering the following into the SMTP prompt:
```
```
plaintext
ehlo localhost
mail from: root@localhost
rcpt to: incoming@localhost
...
...
@@ -101,7 +101,7 @@ The instructions make the assumption that you will be using the email address `i
You should see output like this:
```
```
plaintext
"/var/mail/incoming": 1 message 1 unread
>U 1 root@localhost 59/2842 Re: Some issue
```
...
...
@@ -147,7 +147,7 @@ Courier, which we will install later to add IMAP authentication, requires mailbo
You should see output like this:
```
```
plaintext
"/home/incoming/Maildir": 1 message 1 unread
>U 1 root@localhost 59/2842 Re: Some issue
```
...
...
@@ -253,7 +253,7 @@ Courier, which we will install later to add IMAP authentication, requires mailbo
1.
Send the
`incoming`
user a dummy email to test SMTP, by entering the following into the SMTP prompt:
```
```
plaintext
ehlo gitlab.example.com
mail from: root@gitlab.example.com
rcpt to: incoming@gitlab.example.com
...
...
@@ -277,7 +277,7 @@ Courier, which we will install later to add IMAP authentication, requires mailbo
You should see output like this:
```
```
plaintext
"/home/incoming/Maildir": 1 message 1 unread
>U 1 root@gitlab.example.com 59/2842 Re: Some issue
```
...
...
@@ -313,7 +313,7 @@ Courier, which we will install later to add IMAP authentication, requires mailbo
1.
Sign in as the
`incoming`
user to test IMAP, by entering the following into the IMAP prompt:
```
```
plaintext
a login incoming PASSWORD
```
...
...
@@ -321,7 +321,7 @@ Courier, which we will install later to add IMAP authentication, requires mailbo
You should see output like this:
```
```
plaintext
a OK LOGIN Ok.
```
...
...
doc/administration/repository_storage_paths.md
View file @
fe19300a
...
...
@@ -15,7 +15,7 @@ storage shards) to distribute the storage load between several mount points.
Example: this is OK:
```
```
plaintext
default:
path: /mnt/git-storage-1
storage2:
...
...
@@ -24,7 +24,7 @@ storage2:
This is not OK because it nests storage paths:
```
```
plaintext
default:
path: /mnt/git-storage-1
storage2:
...
...
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