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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
80b8fe24
Commit
80b8fe24
authored
Jan 09, 2018
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small typos
parent
9afb77b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/administration/raketasks/check.md
doc/administration/raketasks/check.md
+3
-3
lib/tasks/gitlab/uploads.rake
lib/tasks/gitlab/uploads.rake
+1
-1
No files found.
doc/administration/raketasks/check.md
View file @
80b8fe24
...
@@ -79,10 +79,10 @@ Example output:
...
@@ -79,10 +79,10 @@ Example output:
## Uploaded Files Integrity
## Uploaded Files Integrity
The uploads check Rake task will loop through all uploads in the database
The uploads check Rake task will loop through all uploads in the database
and run
s
two checks to determine the integrity of each file:
and run two checks to determine the integrity of each file:
1.
Check if the file exist
i
n the file system.
1.
Check if the file exist
o
n the file system.
1.
Check if the checksum of the file
i
n the file system matches the checksum in the database.
1.
Check if the checksum of the file
o
n the file system matches the checksum in the database.
**Omnibus Installation**
**Omnibus Installation**
...
...
lib/tasks/gitlab/uploads.rake
View file @
80b8fe24
...
@@ -2,7 +2,7 @@ namespace :gitlab do
...
@@ -2,7 +2,7 @@ namespace :gitlab do
namespace
:uploads
do
namespace
:uploads
do
desc
'GitLab | Uploads | Check integrity of uploaded files'
desc
'GitLab | Uploads | Check integrity of uploaded files'
task
check: :environment
do
task
check: :environment
do
puts
'
Starting c
hecking integrity of uploaded files'
puts
'
C
hecking integrity of uploaded files'
uploads_batches
do
|
batch
|
uploads_batches
do
|
batch
|
batch
.
each
do
|
upload
|
batch
.
each
do
|
upload
|
...
...
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