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
302cb7dc
Commit
302cb7dc
authored
Aug 10, 2015
by
Eric Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move boilerplate from hooks/ to hack/
Hooks seems like they should be hooks. Not sure hack makes a lot more sense, but it has more stuff already.
parent
5aeebb48
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
4 deletions
+4
-4
boilerplate.go.txt
hack/boilerplate/boilerplate.go.txt
+0
-0
boilerplate.py
hack/boilerplate/boilerplate.py
+0
-0
boilerplate.py.txt
hack/boilerplate/boilerplate.py.txt
+0
-0
boilerplate.sh.txt
hack/boilerplate/boilerplate.sh.txt
+0
-0
build-ui.sh
hack/build-ui.sh
+1
-1
update-generated-conversions.sh
hack/update-generated-conversions.sh
+1
-1
update-generated-deep-copies.sh
hack/update-generated-deep-copies.sh
+1
-1
verify-boilerplate.sh
hack/verify-boilerplate.sh
+1
-1
No files found.
h
ooks
/boilerplate.go.txt
→
h
ack/boilerplate
/boilerplate.go.txt
View file @
302cb7dc
File moved
h
ooks
/boilerplate.py
→
h
ack/boilerplate
/boilerplate.py
View file @
302cb7dc
File moved
h
ooks
/boilerplate.py.txt
→
h
ack/boilerplate
/boilerplate.py.txt
View file @
302cb7dc
File moved
h
ooks
/boilerplate.sh.txt
→
h
ack/boilerplate
/boilerplate.sh.txt
View file @
302cb7dc
File moved
hack/build-ui.sh
View file @
302cb7dc
...
@@ -44,7 +44,7 @@ function kube::hack::build_ui() {
...
@@ -44,7 +44,7 @@ function kube::hack::build_ui() {
go-bindata
-nocompress
-o
"
${
output_file
}
"
-prefix
${
PWD
}
-pkg
"
${
pkg
}
"
"
${
src
}
"
go-bindata
-nocompress
-o
"
${
output_file
}
"
-prefix
${
PWD
}
-pkg
"
${
pkg
}
"
"
${
src
}
"
local
year
=
$(
date
+%Y
)
local
year
=
$(
date
+%Y
)
cat
h
ooks
/boilerplate.go.txt |
sed
"s/YEAR/
${
year
}
/"
>
"
${
TMP_DATAFILE
}
"
cat
h
ack/boilerplate
/boilerplate.go.txt |
sed
"s/YEAR/
${
year
}
/"
>
"
${
TMP_DATAFILE
}
"
echo
-e
"// generated by hack/build-ui.sh; DO NOT EDIT
\n
"
>>
"
${
TMP_DATAFILE
}
"
echo
-e
"// generated by hack/build-ui.sh; DO NOT EDIT
\n
"
>>
"
${
TMP_DATAFILE
}
"
cat
"
${
output_file
}
"
>>
"
${
TMP_DATAFILE
}
"
cat
"
${
output_file
}
"
>>
"
${
TMP_DATAFILE
}
"
...
...
hack/update-generated-conversions.sh
View file @
302cb7dc
...
@@ -29,7 +29,7 @@ function generate_version() {
...
@@ -29,7 +29,7 @@ function generate_version() {
echo
"Generating for version
${
version
}
"
echo
"Generating for version
${
version
}
"
sed
's/YEAR/2015/'
h
ooks
/boilerplate.go.txt
>
$TMPFILE
sed
's/YEAR/2015/'
h
ack/boilerplate
/boilerplate.go.txt
>
$TMPFILE
cat
>>
$TMPFILE
<<
EOF
cat
>>
$TMPFILE
<<
EOF
package
${
version
}
package
${
version
}
...
...
hack/update-generated-deep-copies.sh
View file @
302cb7dc
...
@@ -38,7 +38,7 @@ function generate_version() {
...
@@ -38,7 +38,7 @@ function generate_version() {
echo
"Generating for version
${
version
}
"
echo
"Generating for version
${
version
}
"
sed
's/YEAR/2015/'
h
ooks
/boilerplate.go.txt
>
$TMPFILE
sed
's/YEAR/2015/'
h
ack/boilerplate
/boilerplate.go.txt
>
$TMPFILE
cat
>>
$TMPFILE
<<
EOF
cat
>>
$TMPFILE
<<
EOF
package
${
version
}
package
${
version
}
...
...
hack/verify-boilerplate.sh
View file @
302cb7dc
...
@@ -19,7 +19,7 @@ set -o nounset
...
@@ -19,7 +19,7 @@ set -o nounset
set
-o
pipefail
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
boiler
=
"
${
KUBE_ROOT
}
/h
ooks
/boilerplate.py"
boiler
=
"
${
KUBE_ROOT
}
/h
ack/boilerplate
/boilerplate.py"
cd
${
KUBE_ROOT
}
cd
${
KUBE_ROOT
}
...
...
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