-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #3738 - pinning versions of all code generators #3779
Conversation
71d06bd
to
83f5a05
Compare
/test lint |
abf1d81
to
1f5d78d
Compare
1f5d78d
to
a73ef4d
Compare
/retest |
a73ef4d
to
5f915a2
Compare
/test lint |
2 similar comments
/test lint |
/test lint |
5f915a2
to
6931d31
Compare
/test lint |
1 similar comment
/test lint |
6931d31
to
e5ac697
Compare
f9a06d0
to
5c415bc
Compare
5c415bc
to
db316ef
Compare
/test bdd |
/test all |
1 similar comment
/test all |
cmd/codegen/util/files.go
Outdated
return nil | ||
} | ||
|
||
// Download a file from the given URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment on exported function DownloadFile should be of the form "DownloadFile ..."
return nil | ||
} | ||
|
||
// credit https://gist.github.com/r0l1/92462b38df26839a3ca324697c8cba04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment on exported function CopyFile should be of the form "CopyFile ..."
return nil | ||
} | ||
|
||
func FileExists(path string) (bool, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported function FileExists should have comment or be unexported
cmd/codegen/util/cli.go
Outdated
|
||
var ( | ||
fatalErrHandler = fatal | ||
ErrExit = fmt.Errorf("exit") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported var ErrExit should have comment or be unexported
) | ||
|
||
const ( | ||
DefaultErrorExitCode = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported const DefaultErrorExitCode should have comment (or a comment on this block) or be unexported
980cf20
to
bdb9333
Compare
@pmuir all tests passed |
Signed-off-by: Hardy Ferentschik <hardy@ferentschik.de>
- refactoring options setup for generators fixes issue jenkins-x#3738 Signed-off-by: Hardy Ferentschik <hardy@ferentschik.de>
Signed-off-by: Hardy Ferentschik <hardy@ferentschik.de>
Signed-off-by: Hardy Ferentschik <hardy@ferentschik.de>
Signed-off-by: Hardy Ferentschik <hardy@ferentschik.de>
Signed-off-by: Hardy Ferentschik <hardy@ferentschik.de>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pmuir The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Submitter checklist
Special notes for the reviewer(s)
Now all code generators are fixed in version. Also, the lint job does now properly run and not silently ignore errors.
Which issue this PR fixes
fixes # 3738