Skip to content

Build enterprise coder binary by default#3517

Merged
spikecurtis merged 5 commits into
mainfrom
spike/3277_enterprise_builds
Aug 17, 2022
Merged

Build enterprise coder binary by default#3517
spikecurtis merged 5 commits into
mainfrom
spike/3277_enterprise_builds

Conversation

@spikecurtis
Copy link
Copy Markdown
Contributor

Fixes #3277

We now build enterprise binary by default. If anyone wants just the AGPL code, they can use our build scripts with --agpl flag.

(Note that this PR doesn't introduce any enterprise code; the main.go is just a direct copy of the AGPL version)

Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis requested a review from a team as a code owner August 15, 2022 19:36
Copy link
Copy Markdown
Member

@Kira-Pilot Kira-Pilot left a comment

Choose a reason for hiding this comment

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

FE ✅

Comment thread scripts/coder-dev.sh
Comment thread scripts/develop.sh Outdated
Comment thread LICENSE.enterprise Outdated
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
Copy link
Copy Markdown
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

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

I believe this would make Unknown appear in GitHub for the license field.

Can we make LICENSE.agpl named LICENSE instead? And still have the Enterprise license?

func main() {
rand.Seed(time.Now().UnixMicro())

cmd, err := cli.Root().ExecuteC()
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.

Do we plan on having a separate CLI package to maintain? How do we imagine this working?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There will eventually be a separate enterprise cli package, because CLI commands for enterprise features will be in it. It will import all the core commands from the AGPL cli package.

Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis requested a review from kylecarbs August 16, 2022 20:42
@spikecurtis spikecurtis merged commit 5817c6a into main Aug 17, 2022
@spikecurtis spikecurtis deleted the spike/3277_enterprise_builds branch August 17, 2022 16:02
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.

Enterprise license, builds, release

4 participants