tabulon tabulon
  • Joined on 2023-03-25
tabulon commented on issue ungleich-public/cdist#249 2024-04-04 14:12:53 +00:00
Shell selection support via shebang

Sure @fnux, I would be glad.

@nico said he was starting the review last week, but perhaps he got caught up in the mean time. @nico, what say you?

Meanwhile, I took a look at the changes…

tabulon commented on issue ungleich-public/cdist#249 2024-03-25 09:13:55 +00:00
Shell selection support via shebang

This is great news, @nico. Thank you.

Let me know if you have any comments / questions.

Note that the changes may appear vast at first : 22 files, many lines, ... as reported by git.…

tabulon commented on issue ungleich-public/cdist#249 2024-03-24 13:13:17 +00:00
Shell selection support via shebang

Hi @nico (or other maintainers of cdist),

Is there anything I can do expedite the review process around PR #365 which I had submitted about a year ago, following your initial encouragement on…

tabulon commented on pull request ungleich-public/cdist#365 2024-03-24 13:12:09 +00:00
Make cdist truely language-agnostic (polyglot)

Hi @nico (or other maintainers of cdist),

Is there anything I can do expedite the review process around this PR which I had submitted about a year ago, following your initial encouragement on…

tabulon commented on pull request ungleich-public/cdist#365 2023-06-22 00:59:09 +00:00
Make cdist truely language-agnostic (polyglot)

Hi @nico,

Is everything allright ?

tabulon commented on pull request ungleich-public/cdist#365 2023-04-27 20:12:35 +00:00
Make cdist truely language-agnostic (polyglot)

Hi @nico,

Any idea when you could get a chance to review this? (I hope it can happen when things are still sort of fresh in my mind)

Ayhan

tabulon commented on issue ungleich-public/cdist#249 2023-04-15 03:41:14 +00:00
Shell selection support via shebang

Hi @nico,

Tell me about it... I am quite swamped on my end, too.

Just created the PR (#365) to make sure the ball is no longer on my court... :-)

No rush; whenever you can get to…

tabulon created pull request ungleich-public/cdist#365 2023-04-15 03:36:30 +00:00
WIP: Cdist becomes truely language-agnostic (polyglot)
tabulon pushed to dev-tabulon-feat-polyglot-PR1 at tabulon/cdist 2023-04-15 02:52:45 +00:00
1e4475c0f4 Log changes related to transparent shebang support which is now available for all contexts : all scripts (including generated code) destined for local or remote hosts
ae10ff49dd Add documentation and mentions for polyglot scripting capabilities for configuring and extending cdist [POLYGLOT]
Compare 2 commits »
tabulon pushed to dev-tabulon-feat-polyglot-PR1 at tabulon/cdist 2023-04-15 02:02:25 +00:00
tabulon created branch dev-tabulon-feat-polyglot-PR1 in tabulon/cdist 2023-04-15 00:32:21 +00:00
tabulon pushed to dev-tabulon-feat-polyglot-PR1 at tabulon/cdist 2023-04-15 00:32:21 +00:00
83cac366bb Log changes related to transparent shebang support and polyglot scripting now available for all contexts (persistent or generated code destined for local or remote hosts)
d0881ed8bd Add documentation and mentions for polyglot scripting capabilities for configuring and extending cdist [POLYGLOT]
9b3505e8a1 Automatically set execute permissions on generated scripts that contain a shebang [POLYGLOT]
26ebbd8688 Add tests related to the transparent support of an eventual shebang in generated code [POLYGLOT]
ef3f075650 Run executable [remote] scripts directly, allowing for transparent shebang support [POLYGLOT]
Compare 6 commits »
tabulon created repository tabulon/cdist 2023-04-15 00:14:47 +00:00
tabulon commented on issue ungleich-public/cdist#249 2023-04-07 13:26:30 +00:00
Shell selection support via shebang

Hi @nico,

At this point, I have got 3 branches, covering changes in different areas:

  1. changes in exec/remote.py for honoring "execute" permissions on remote scripts
  • related tests…
tabulon commented on issue ungleich-public/cdist#249 2023-03-30 07:36:28 +00:00
Shell selection support via shebang

Hi @nico,

Thank you for your prompt reaction and my apologies for the late reply.

It is certainly quite wise to keep assumptions about the remote host to a bare minimum.

And yes, you are…

tabulon commented on issue ungleich-public/cdist#249 2023-03-28 02:47:34 +00:00
Shell selection support via shebang

For future reference (to self and others), here are two ugly workarounds that one can resort to within the script files themselves even in the absence of a proper fix on the cdist side.

The…

tabulon commented on issue ungleich-public/cdist#249 2023-03-28 02:24:44 +00:00
Shell selection support via shebang

Hi,

Well, I am not a fan of the solution involving the CDIST_LOCAL_SHELL and CDIST_REMOTE_SHELL environment variables, because of the all-or-nothing nature.

The shebang mecanism is…