Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
28cb32cfbfc8
Commit
28cb32cfbfc8
authored
8 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
output projects with missing documentation
parent
476e00ea4ac7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
create_documentation
+5
-1
5 additions, 1 deletion
create_documentation
with
5 additions
and
1 deletion
create_documentation
+
5
−
1
View file @
28cb32cf
...
...
@@ -60,5 +60,4 @@
pushd
$dir
for
module
in
*
;
do
if
[[
-d
"
$module
"
]]
;
then
# echo $dir/$module
pushd
$module
...
...
@@ -64,3 +63,4 @@
pushd
$module
has_doc
=
""
for
doc_dir
in
doc docs
;
do
if
[[
-d
$doc_dir
&&
-e
$doc_dir
/Makefile
]]
;
then
...
...
@@ -65,5 +65,6 @@
for
doc_dir
in
doc docs
;
do
if
[[
-d
$doc_dir
&&
-e
$doc_dir
/Makefile
]]
;
then
has_doc
=
True
echo
${
YELLOW
}
INFO
${
RESET
}
- Makefile found
in
$dir
/
$module
/
$doc_dir
if
[
-e
".git"
]
;
then
branch
=
"
$(
git rev-parse
--abbrev-ref
HEAD
)
"
...
...
@@ -90,6 +91,9 @@
popd
fi
done
if
[[
-z
"
$has_doc
"
]]
;
then
echo
${
RED
}
ERROR
${
RESET
}
- Missing documentation
for
$dir
/
$module
fi
popd
fi
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment