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
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
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
lib/gitlab/plugin.rb
lib/gitlab/plugin.rb
+3
-2
plugins/enabled/.gitkeep
plugins/enabled/.gitkeep
+0
-0
plugins/examples/save_to_file.clj
plugins/examples/save_to_file.clj
+0
-0
plugins/examples/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
Gitlab
module
Plugin
module
Plugin
def
self
.
files
def
self
.
files
Dir
.
glob
(
Rails
.
root
.
join
(
'plugins/enabled/*'
))
Dir
.
glob
(
Rails
.
root
.
join
(
'plugins/*'
)).
select
do
|
entry
|
File
.
file?
(
entry
)
end
end
end
def
self
.
execute_all_async
(
data
)
def
self
.
execute_all_async
(
data
)
files
.
each
do
|
file
|
files
.
each
do
|
file
|
puts
file
PluginWorker
.
perform_async
(
file
,
data
)
PluginWorker
.
perform_async
(
file
,
data
)
end
end
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