BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ba95015a
Commit
ba95015a
authored
Feb 26, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganize plugins dir structure
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
645dceb0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
plugin.rb
lib/gitlab/plugin.rb
+3
-2
.gitkeep
plugins/enabled/.gitkeep
+0
-0
save_to_file.clj
plugins/examples/save_to_file.clj
+0
-0
save_to_file.rb
plugins/examples/save_to_file.rb
+0
-0
No files found.
lib/gitlab/plugin.rb
View file @
ba95015a
module
Gitlab
module
Plugin
def
self
.
files
Dir
.
glob
(
Rails
.
root
.
join
(
'plugins/enabled/*'
))
Dir
.
glob
(
Rails
.
root
.
join
(
'plugins/*'
)).
select
do
|
entry
|
File
.
file?
(
entry
)
end
end
def
self
.
execute_all_async
(
data
)
files
.
each
do
|
file
|
puts
file
PluginWorker
.
perform_async
(
file
,
data
)
end
end
...
...
plugins/enabled/.gitkeep
deleted
100644 → 0
View file @
645dceb0
plugins/
available
/save_to_file.clj
→
plugins/
examples
/save_to_file.clj
View file @
ba95015a
File moved
plugins/
available
/save_to_file.rb
→
plugins/
examples
/save_to_file.rb
View file @
ba95015a
File moved
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