Skip to content

Conversation

@mmlb
Copy link
Contributor

@mmlb mmlb commented May 10, 2022

Description

Updates all the things that we use in hook (except the kernel). This sort of started because of #105 where tests failed because of latest make lint which wanted go1.17 and we've been wanting to update to that anyway and well here we are.

Why is this needed

I was rebasing #105 and noticed that I had a bunch of non-Makefile stuff there including some stuff I hadn't pushed yet (go update). So I broke it out to this PR instead.

How Has This Been Tested?

make lint works, and make dev does too.

How are existing users impacted? What migration steps/scripts do we need?

Nicer looking code.

mmlb and others added 6 commits May 10, 2022 16:29
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Mostly just for visibility into timing.

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
I couldn't figure out a max line length and so decided one-sentence-per-line.

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
@mmlb mmlb force-pushed the update-all-the-things branch from 8727cc6 to 926fdda Compare May 10, 2022 20:31
if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

@mmlb mmlb force-pushed the update-all-the-things branch from 926fdda to 1593745 Compare May 10, 2022 21:50
@mmlb mmlb mentioned this pull request May 10, 2022
3 tasks
if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

@mmlb mmlb force-pushed the update-all-the-things branch from 8974c12 to dd4f190 Compare May 11, 2022 17:50
if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

@mmlb mmlb force-pushed the update-all-the-things branch from dd4f190 to 248c0c6 Compare May 16, 2022 17:11
README.md Outdated
[osie]: https://github.com/tinkebell/osie
[sandbox]: https://github.com/tinkerbell/sandbox
[specification]: https://github.com/linuxkit/linuxkit/blob/master/docs/yaml.md
[tinkerbe]: https://tinkerbell.org
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

indeed!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should be fixed now @ScottGarman, ptal

if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

mmlb and others added 5 commits May 16, 2022 13:25
Avoids repitition and long lines.

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
mmlb added 4 commits May 16, 2022 13:25
With fixes from tinkerbell/lint-install#40 applied manually.

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Still builds, so :shipit: I guess...?

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
@mmlb mmlb force-pushed the update-all-the-things branch from 248c0c6 to f8e1ab4 Compare May 16, 2022 17:26
@mmlb mmlb requested a review from ScottGarman May 16, 2022 17:26
if err == nil {
break
}
resp.Body.Close()
Copy link

Choose a reason for hiding this comment

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

G104: Errors unhandled.

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

@mmlb mmlb removed the request for review from thebsdbox May 16, 2022 17:37
@mmlb mmlb added the ready-to-merge Signal to Mergify to merge the PR. label May 16, 2022
@mergify mergify bot merged commit 029ef8f into tinkerbell:main May 16, 2022
@mmlb mmlb deleted the update-all-the-things branch May 16, 2022 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Signal to Mergify to merge the PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants