Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
17446061
Commit
17446061
authored
Mar 06, 2015
by
Vishnu Kannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn on "description:" verification for v1beta3 API.
parent
28aef4ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
verify-description.sh
hack/verify-description.sh
+1
-1
description.sh
hooks/description.sh
+1
-1
No files found.
hack/verify-description.sh
View file @
17446061
...
@@ -37,7 +37,7 @@ find_files() {
...
@@ -37,7 +37,7 @@ find_files() {
\)
-name
'*.go'
\)
-name
'*.go'
}
}
files
=
`
find_files | egrep
"pkg/api/v.[^/]*/types
\.
go"
|
grep
-v
v1beta3
`
files
=
`
find_files | egrep
"pkg/api/v.[^/]*/types
\.
go"
`
for
file
in
$files
for
file
in
$files
do
do
...
...
hooks/description.sh
View file @
17446061
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
# Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise.
# Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise.
FILE
=
"
$1
"
FILE
=
"
$1
"
if
grep
json:
"
${
FILE
}
"
|
grep
-v
,inline |
grep
-v
-q
description:
;
then
if
grep
json:
"
${
FILE
}
"
|
grep
-v
,inline |
grep
-v
-q
description:
|
grep
-v
//
;
then
echo
"0"
echo
"0"
else
else
echo
"1"
echo
"1"
...
...
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