Skip to content

CFE-4074: Added a new input-type: file - #330

Merged
larsewi merged 1 commit into
cfengine:masterfrom
SimonThalvorsen:ENT4074
Aug 10, 2026
Merged

CFE-4074: Added a new input-type: file#330
larsewi merged 1 commit into
cfengine:masterfrom
SimonThalvorsen:ENT4074

Conversation

@SimonThalvorsen

@SimonThalvorsen SimonThalvorsen commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Ticket: CFE-4074

@cf-bottom

Copy link
Copy Markdown

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

@SimonThalvorsen
SimonThalvorsen marked this pull request as draft August 4, 2026 14:25
@SimonThalvorsen
SimonThalvorsen marked this pull request as ready for review August 6, 2026 10:54
@SimonThalvorsen
SimonThalvorsen requested a review from larsewi August 7, 2026 09:01

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread cfbs/build.py Outdated
Comment thread cfbs/build.py Outdated
@SimonThalvorsen
SimonThalvorsen force-pushed the ENT4074 branch 2 times, most recently from 62aad2a to 4ceb73a Compare August 7, 2026 11:35
@SimonThalvorsen SimonThalvorsen changed the title ENT-4074: Added a new input-type: file CFE-4074: Added a new input-type: file Aug 7, 2026
@SimonThalvorsen
SimonThalvorsen requested a review from larsewi August 7, 2026 13:55

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would like @nickanderson or @olehermanse to review this before we merge

Comment thread cfbs/build.py
Comment thread cfbs/build.py


def _perform_input_step(args, name, destination, prefix):
def _path_if_already_shipped(path, build_modules, destination):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So this function both tests if the file is already shipped and computes the if not? It feels a bit messy, but I don't know how to make it better.

Comment thread JSON.md Outdated
Comment thread JSON.md
Comment thread tests/shell/060_input_file.sh
Comment thread JSON.md Outdated
Comment thread JSON.md Outdated
Comment thread tests/shell/060_input_file.sh
Ticket: CFE-4074
Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
@larsewi
larsewi merged commit 4aed13e into cfengine:master Aug 10, 2026
14 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.

3 participants