Skip to content

Conversation

@jakub-nt
Copy link
Contributor

No description provided.

… MPF release information

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
@cf-bottom
Copy link

Thank you for submitting a PR! Maybe @craigcomstock can review this?

Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Looks good so far, some preliminary comments.

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Copy link
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

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

Cool. Noticed a few things with a cursory look. I didn't check the logic too carefully. I can make another pass if need be.

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Copy link
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

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

Nice.

@olehermanse olehermanse requested a review from larsewi November 6, 2024 12:41
Copy link
Contributor

@larsewi larsewi left a comment

Choose a reason for hiding this comment

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

Great work 🚀 I see you still have some # TODO's left to address. I have some smaller nitpicks for you. But in general:

  • It's nice if you try to avoid too many nested if's. They tend to make it really hard to understand the code. But this is not always the case.
  • When you look for the masterfiles tarball URL, maybe it's possible to search for it, instead of hard coding where it is in the JSON? Maybe there is a common denominator you can look for? I'm not sure.

I tried running your program, but it hung. Or maybe it just takes a very long time? I did not try to figure out why.

Looking forward to re-review!

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
@jakub-nt jakub-nt requested a review from larsewi November 13, 2024 19:32
Copy link
Contributor

@larsewi larsewi left a comment

Choose a reason for hiding this comment

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

Thank you, this looks good to me 🚀

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
…lity

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
…ut additional dependencies

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Copy link
Contributor

@larsewi larsewi left a comment

Choose a reason for hiding this comment

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

Great improvements 🚀 I have some minor comments and some open questions that I hope @olehermanse or @craigcomstock can answer

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
…download, document `cfbs generate-release-information`, change git-checkout wording

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Copy link
Contributor

@larsewi larsewi left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 @jakub-nt maybe you can squash the commits? @olehermanse do you want to have one last look before we hit the merge button?

@olehermanse olehermanse changed the title [ENT-12098] Add an initial implementation of an internal cfbs command to generate MPF release information ENT-12098: Added an initial implementation of an internal cfbs command to generate MPF release information Nov 25, 2024
Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me, merging, and we can always submit follow-up fixes in new PRs.

@olehermanse olehermanse merged commit 7affc57 into cfengine:master Nov 25, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants