Skip to content

Tags: mrhyperbit/devbox

Tags

0.0.0-edge.2024-01-25

Toggle 0.0.0-edge.2024-01-25's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2024-01-18

Toggle 0.0.0-edge.2024-01-18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2024-01-11

Toggle 0.0.0-edge.2024-01-11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2024-01-04

Toggle 0.0.0-edge.2024-01-04's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2023-12-28

Toggle 0.0.0-edge.2023-12-28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2023-12-21

Toggle 0.0.0-edge.2023-12-21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2023-12-14

Toggle 0.0.0-edge.2023-12-14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2023-12-07

Toggle 0.0.0-edge.2023-12-07's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2023-11-30

Toggle 0.0.0-edge.2023-11-30's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```

0.0.0-edge.2023-11-23

Toggle 0.0.0-edge.2023-11-23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[global] Fix global services (jetify-com#1484)

## Summary

cobra doesn't chain `PersistentPreRunE`. So if a parent declares one and
a child declares it as well, the parent function is ignored. `global`
uses `PersistentPreRunE` to set the global project directory. The
`services` command was running it to ensure nix is installed. The child
replaced the parent, so we were never setting th

The fix here is a bit ugly but it solves them problem.

There's a UX issue I rediscovered while testing this. When adding global
packages the environment is not automatically refreshed. This means
services wont work until a new shell is opened or if the user does `eval
"$(devbox global shellenv)"` manually.

## How was it tested?
```
devbox global add nginx
eval "$(devbox global shellenv)"
devbox global services up
```