nginx / homebrew-unit

Unit Homebrew tap
15 stars 23 forks source link

Add support for unitctl #39

Closed danielledeleo closed 1 month ago

danielledeleo commented 5 months ago

brew install should also install unitctl to the user's path. @avahahn has CI builds in-progress which may simplify this process.

thresheek commented 5 months ago

Do we tie unitctl releases to unit releases?

Or will it be updated & released separately?

The reason I'm asking is that former or latter will probably dictate if we should provide a separate formula for unitctl or just stick it into unit just like we do with unitc/setup-unit

danielledeleo commented 5 months ago

I'm not sure. Refer to this PR for specifics on that. https://github.com/nginx/unit/pull/1265

ac000 commented 5 months ago

@thresheek

It will be tied to the Unit release....

thresheek commented 5 months ago

OK, so we can just use the tarball to get the sources we'd need.

danielledeleo commented 5 months ago

I mean sure, that's fine, but we already have Mac CI builds for both aarch64 and x86-64. Can we use those? You'll probably find that it's a pain in the butt to build unitctl on macOS with its Maven dependencies and such.

danielledeleo commented 5 months ago

@thresheek

It will be tied to the Unit release....

The reverse is true. Separate release tags are cut for unitctl, so it’s not bound to a unit release. It should therefore be a separate formula.

ac000 commented 5 months ago

The reverse is true. Separate release tags are cut for unitctl, so it’s not bound to a unit release. It should therefore be a separate formula.

I double checked, unitctl will be tied to unit releases...

avahahn commented 5 months ago

It will in fact be tied to unit releases. We did originally design for separate unitctl tags, but judged having separate tags superfluous.

avahahn commented 4 months ago

@thresheek Is this currently prioritized for working on? We have users who clearly want this: https://github.com/nginx/unit/issues/1298

thresheek commented 4 months ago

I postponed this to until we actually have a Unit release with unitctl included. There is nothing to install yet as of Unit 1.32.1 tarball.

thresheek commented 1 month ago

Done in 1.33.0, via ab77c014e32a0ae47681aa94bbab18a9e932b3fd