Skip to content

lint: opts, trust#14813

Closed
sevki wants to merge 2 commits intomoby:masterfrom
sevki:14756-opts
Closed

lint: opts, trust#14813
sevki wants to merge 2 commits intomoby:masterfrom
sevki:14756-opts

Conversation

@sevki
Copy link
Contributor

@sevki sevki commented Jul 21, 2015

contributes to #14756
for opts

opts/ip.go:9:6: type IpOpt should be IPOpt
opts/ip.go:13:1: exported function NewIpOpt should have comment or be unexported
opts/ip.go:13:6: func NewIpOpt should be NewIPOpt
opts/ip.go:21:1: exported method IpOpt.Set should have comment or be unexported
opts/ip_test.go:48:2: var invalidIp should be invalidIP
opts/ulimit.go:9:6: exported type UlimitOpt should have comment or be unexported
opts/ulimit.go:13:1: exported function NewUlimitOpt should have comment or be unexported
opts/ulimit.go:17:1: exported method UlimitOpt.Set should have comment or be unexported
opts/ulimit.go:37:1: exported method UlimitOpt.GetList should have comment or be unexported

for trust

trust/service.go:11:6: exported type NotVerifiedError should have comment or be unexported
trust/service.go:17:1: exported method TrustStore.CheckKey should have comment or be unexported
trust/service.go:51:1: exported method TrustStore.UpdateBase should have comment or be unexported
trust/trusts.go:19:6: exported type TrustStore should have comment or be unexported
trust/trusts.go:19:6: type name will be used as trust.TrustStore by other packages, and that stutters; consider calling this Store
trust/trusts.go:40:1: exported function NewTrustStore should have comment or be unexported

@runcom
Copy link
Member

runcom commented Jul 21, 2015

@sevki there are errors in unit tests

@sevki
Copy link
Contributor Author

sevki commented Jul 21, 2015

@runcom yup, just figured out make doesn't run tests, have to do make test before submitting 😦

@GordonTheTurtle GordonTheTurtle added the dco/no Automatically set by a bot when one of the commits lacks proper signature label Jul 21, 2015
@GordonTheTurtle GordonTheTurtle removed the dco/no Automatically set by a bot when one of the commits lacks proper signature label Jul 21, 2015
@sevki sevki changed the title Opts lint issues, ip and ulimit lint: opts, trust Jul 21, 2015
@vdemeester
Copy link
Member

@sevki I tend to run make validate test-unit each time 😉.

I think it would be safer (and clearer) to stash your commits 😉.

@calavera
Copy link
Contributor

LGTM

opts/ip.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/a IP/an IP/ and line should end with a dot

@runcom
Copy link
Member

runcom commented Jul 23, 2015

@sevki thanks! Can you also squash your commits to just 2 (one for opts and one for trust)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comments doesn't really say anything.
"NotVerifiedError error is returned when …" (I'm still thinking what to put here 😅 )

@vdemeester
Copy link
Member

@sevki you're gonna need a rebase too 😉 and add the package trust and opts in ./hack/make/validate-lint too 😊.

opts/ulimit.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ulmits -> Ulimits

@dmcgowan
Copy link
Member

Looks like an update was pushed but another rebase is still needed, also need to address the comment about ./hack/make/validate-lint from @vdemeester

@tiborvass
Copy link
Contributor

Sorry @sevki needs a rebase :(

@sevki
Copy link
Contributor Author

sevki commented Jul 29, 2015

@tiborvass merge all commits?

@tiborvass
Copy link
Contributor

@sevki sure why not, but either way you need to rebase on master :)

@sevki
Copy link
Contributor Author

sevki commented Jul 29, 2015

ok.
On Wed, 29 Jul 2015 at 18:39 Tibor Vass notifications@github.com wrote:

@sevki https://github.com/sevki sure why not, but either way you need
to rebase on master :)


Reply to this email directly or view it on GitHub
#14813 (comment).

opts/ulimit.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add period at the end of func comments

opts/ulimit.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add period at the end of func comments

@tiborvass
Copy link
Contributor

@sevki sorry needs another rebase

@tiborvass
Copy link
Contributor

Ping @sevki

@sevki
Copy link
Contributor Author

sevki commented Jul 30, 2015

yes?
On Thu, 30 Jul 2015 at 23:00 Tibor Vass notifications@github.com wrote:

Ping @sevki https://github.com/sevki


Reply to this email directly or view it on GitHub
#14813 (comment).

@tiborvass
Copy link
Contributor

@sevki would you mind rebasing please? :)

@GordonTheTurtle GordonTheTurtle added the dco/no Automatically set by a bot when one of the commits lacks proper signature label Aug 4, 2015
Signed-off-by: Sevki Hasirci <s@sevki.org>
@GordonTheTurtle GordonTheTurtle removed the dco/no Automatically set by a bot when one of the commits lacks proper signature label Aug 4, 2015
@icecrime
Copy link
Contributor

icecrime commented Aug 5, 2015

It seems it doesn't build :-(

@vdemeester
Copy link
Member

@sevki I think you had a problem while rebasing maybe ? (because there is some merge commit and thus non-signed one). If you need help, feel free to ping us on #docker / #docker-dev irc channel 😉

contributes to moby#14756

Signed-off-by: Sevki Hasirci <s@sevki.org>
@sevki
Copy link
Contributor Author

sevki commented Aug 11, 2015

@vdemeester done

@vdemeester
Copy link
Member

@sevki There is still two commit so it's not rebased 😅. You should do something like that : http://stackoverflow.com/a/2568581/89249.

git rebase --interactive HEAD~2
# […]

@sevki
Copy link
Contributor Author

sevki commented Aug 13, 2015

yeah two different folders two different commits
On Thu, 13 Aug 2015 at 10:46 Vincent Demeester notifications@github.com
wrote:

@sevki https://github.com/sevki There is still two commit so it's not
rebased [image: 😅]. You should do something like that :
http://stackoverflow.com/a/2568581/89249.

git rebase --interactive HEAD~2# […]


Reply to this email directly or view it on GitHub
#14813 (comment).

@vdemeester
Copy link
Member

@sevki oh my bad >.<

@vdemeester
Copy link
Member

@sevki Could you take a look to the 2 left comments ? Then I think we'll be good to go 😉

@LK4D4
Copy link
Contributor

LK4D4 commented Aug 26, 2015

@vdemeester Do you want to carry this PR?

@vdemeester
Copy link
Member

@LK4D4 I could (tomorrow morning though :-P )

cpuguy83 added a commit that referenced this pull request Aug 27, 2015
@vdemeester
Copy link
Member

@sevki Thanks for the hard work, it's been carried and merged 😉 🎉

@sevki
Copy link
Contributor Author

sevki commented Aug 28, 2015

@vdemeester cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.