Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shell hooks #31

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Add shell hooks #31

merged 1 commit into from
Jul 30, 2024

Conversation

ThetaSinner
Copy link
Member

@ThetaSinner ThetaSinner commented Jul 29, 2024

Slightly different approach to previously. Adding this in the templates so that people can choose whether they want them or to change them. I have personally never liked my custom shell hook being overwritten and would want to be able to remove this. I think it should be there by default for people who are new to Holonix and they can make their own decisions later. It also helps reduce the amount of secret magic that happens with Holonix a bit.

@ThetaSinner ThetaSinner requested a review from jost-s July 29, 2024 18:06
Copy link
Contributor

@jost-s jost-s left a comment

Choose a reason for hiding this comment

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

I like the approach and agree. How can the shell hook be disabled?

@ThetaSinner
Copy link
Member Author

How can the shell hook be disabled?

Oh by disabled I mean "delete the line". Nothing fancy :) I just think it's much easier to find when it's in your flake, rather than trying to guess what inherited variable to assign an empty string to

@jost-s
Copy link
Contributor

jost-s commented Jul 30, 2024

Ah yes, of course. Cool!

@ThetaSinner ThetaSinner merged commit 11b34c5 into main Jul 30, 2024
16 checks passed
@ThetaSinner ThetaSinner deleted the add-shell-hooks branch July 30, 2024 11:28
ThetaSinner added a commit that referenced this pull request Sep 2, 2024
* Fix concurrency logic

* Use command instead of type for quiet output

* Update Holonix versions on main (#30)

* [create-pull-request] automated change

* build

---------

Co-authored-by: holochain-release-automation2 <[email protected]>
Co-authored-by: ThetaSinner <[email protected]>

* Add shell hooks (#31)

* Run on PR

* [create-pull-request] automated change (#33)

Co-authored-by: holochain-release-automation2 <[email protected]>

* [create-pull-request] automated change (#36)

Co-authored-by: holochain-release-automation2 <[email protected]>

* [create-pull-request] automated change (#37)

Co-authored-by: ThetaSinner <[email protected]>

* [create-pull-request] automated change (#38)

Co-authored-by: holochain-release-automation2 <[email protected]>

* feat: cargo build argument overrides for holochain (#35)

* enable customized holochain builds

* add custom build template

* add hc-sandbox and hcterm

* ci(build): add custom template

* add template reference to flake

* remove no-default-features from custom template

* update holochain input

* comment all binaries to build back in

* Allow secret to be empty

* Update Holonix versions on main (#39)

* [create-pull-request] automated change

* Bump hc-scaffold version

* Update Lair

---------

Co-authored-by: holochain-release-automation2 <[email protected]>
Co-authored-by: Holochain Release Automation <[email protected]>
Co-authored-by: ThetaSinner <[email protected]>

* Exclude workflow call

* [create-pull-request] automated change (#40)

Co-authored-by: ThetaSinner <[email protected]>

* Update Rust version and Nix packages

* Add aarch64-linux (#41)

* Point to main-0.3

* Ignore hcterm

* Don't look for hcterm either

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: holochain-release-automation2 <[email protected]>
Co-authored-by: ThetaSinner <[email protected]>
Co-authored-by: Jost Schulte <[email protected]>
Co-authored-by: Holochain Release Automation <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants