Skip to content

CFE-3882: Added strtotime policy function - #6237

Open
victormlg wants to merge 2 commits into
cfengine:masterfrom
victormlg:strtotime
Open

CFE-3882: Added strtotime policy function#6237
victormlg wants to merge 2 commits into
cfengine:masterfrom
victormlg:strtotime

Conversation

@victormlg

@victormlg victormlg commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@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.

Please add some acceptance tests :)

@olehermanse olehermanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yep, as @larsewi said not much to review here, please add acceptance test. Most code review is in libntech.

@github-actions

Copy link
Copy Markdown

Marking this PR as stale due to inactivity; it will be closed in 7 days.

@github-actions github-actions Bot added the stale Pull requests with no recent activity label Aug 16, 2026
@github-actions github-actions Bot removed the stale Pull requests with no recent activity label Aug 17, 2026
@victormlg
victormlg force-pushed the strtotime branch 3 times, most recently from f264368 to 189600a Compare August 18, 2026 13:28
Comment thread libpromises/evalfunction.c Fixed
@victormlg
victormlg force-pushed the strtotime branch 2 times, most recently from 38e6fef to c76539d Compare August 18, 2026 13:53

@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.

The new functions in pipes.h probably deserve their own commit.

Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
cf_popen_exact_args is variation of cf_popen when the exact arguments are known at compile time. This skips the quote escaping of ArgSplitCommand which is needed when argv can be of arbitrary length, such as with user input

Signed-off-by: Victor Moene <victor.moene@northern.tech>
Ticket: CFE-3882
Changeglog: Title
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@larsewi

larsewi commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

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