From 813c6d9ef3c0c7736b0d772bf0c3ddd843c17830 Mon Sep 17 00:00:00 2001 From: Lucille Hua Date: Fri, 12 Apr 2024 16:28:09 -0400 Subject: [PATCH] Company rename change --- CONTRIBUTING.md | 48 ++++++++++++++----------- README.md | 25 ++++--------- cmd/launchpad/main.go | 2 +- launchpad/build.go | 2 +- padcli/padcli.go | 2 +- pkg/buildstamp/buildstamp.go | 2 +- pkg/reaktor/kubeconfig/clientbuilder.go | 4 +-- pkg/reaktor/kubeconfig/flags.go | 4 +-- pkg/reaktor/kubeconfig/incluster.go | 4 +-- 9 files changed, 45 insertions(+), 48 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d92b731..ec356d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,22 +5,26 @@ When contributing to this repository, please describe the change you wish to mak Please note we have a [code of conduct](CODE_OF_CONDUCT.md), please follow it in all your interactions with the project. ## Setting Up Development Environment + Before making any changes to the source code (documentation excluded) make sure you have installed all the required tools. We use Devbox to manage our development environment. + ### Prerequisites -* Install [Devbox](https://github.com/jetpack-io/devbox#installing-devbox). -* Clone this repository: - * ```bash - git clone git@github.com:jetpack-io/launchpad.git go.jetpack.io/launchpad + +- Install [Devbox](https://github.com/jetify/devbox#installing-devbox). +- Clone this repository: + - ```bash + git clone git@github.com:jetify/launchpad.git go.jetify.com/launchpad ``` -* Use devbox to init your development environment: - * ```bash - cd go.jetpack.io/launchpad +- Use devbox to init your development environment: + - ```bash + cd go.jetify.com/launchpad ``` - * ```bash - devbox shell + - ```bash + devbox shell ``` ## Building and Testing + Launchpad is setup like a typical Go project. After installing the required tools and setting up your environment. You can make changes in the source code, build, and test your changes by following these steps: 1. Install dependencies: @@ -37,54 +41,58 @@ Launchpad is setup like a typical Go project. After installing the required tool ./dist/launchpad ``` - ## Pull Request Process 1. Ensure any new feature or functionality also includes tests to verify its correctness. 2. Ensure any new dependency is also included in [go.mod](go.mod) file -2. Ensure any binary file as a result of build (e.g., `./launchpad`) are removed and/or excluded from tracking in git. +3. Ensure any binary file as a result of build (e.g., `./launchpad`) are removed and/or excluded from tracking in git. -3. Update the [README.md](README.md) and/or docs with details of changes to the interface, this includes new environment +4. Update the [README.md](README.md) and/or docs with details of changes to the interface, this includes new environment variables, new commands, new flags, and useful file locations. -4. You may merge the Pull Request in once you have the sign-off of developers/maintainers, or if you +5. You may merge the Pull Request in once you have the sign-off of developers/maintainers, or if you do not have permission to do that, you may request the maintainers to merge it for you. ## Developer Certificate of Origin + By contributing to this project you agree to the [Developer Certificate of Origin](https://developercertificate.org/) (DCO) which was created by the Linux Foundation and is a simple statement that you, as a contributor, have the legal right to make the contribution. See the DCO description for details below: + > Developer Certificate of Origin -> +> > Version 1.1 > > Copyright (C) 2004, 2006 The Linux Foundation and its contributors. > > Everyone is permitted to copy and distribute verbatim copies of this -license document, but changing it is not allowed. -> +> license document, but changing it is not allowed. > > Developer's Certificate of Origin 1.1 > > By making a contribution to this project, I certify that: -> +> > (a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license indicated in the file; or -> + > (b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or -> + > (c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified it. -> + > (d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with diff --git a/README.md b/README.md index a3f9683..586854f 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ ### From Code to Kubernetes in One Step -[![Join Discord](https://img.shields.io/discord/903306922852245526?color=7389D8&label=discord&logo=discord&logoColor=ffffff)](https://discord.gg/agbskCJXk2) ![License: Apache 2.0](https://img.shields.io/github/license/jetpack-io/devbox) [![version](https://img.shields.io/github/v/release/jetpack-io/launchpad?color=green&label=version&sort=semver)](https://github.com/jetpack-io/launchpad/releases) [![tests](https://github.com/jetpack-io/launchpad/actions/workflows/release.yaml/badge.svg)](https://github.com/jetpack-io/launchpad/actions/workflows/release.yaml?branch=main) +[![Join Discord](https://img.shields.io/discord/903306922852245526?color=7389D8&label=discord&logo=discord&logoColor=ffffff)](https://discord.gg/jetify) ![License: Apache 2.0](https://img.shields.io/github/license/jetpack-io/devbox) [![version](https://img.shields.io/github/v/release/jetpack-io/launchpad?color=green&label=version&sort=semver)](https://github.com/jetify-com/launchpad/releases) [![tests](https://github.com/jetify-com/launchpad/actions/workflows/release.yaml/badge.svg)](https://github.com/jetify-com/launchpad/actions/workflows/release.yaml?branch=main) ## What is it? -[Launchpad](https://www.jetpack.io/launchpad) is a command-line tool that lets you easily create applications on Kubernetes. +[Launchpad](https://www.jetify.com/launchpad) is a command-line tool that lets you easily create applications on Kubernetes. In practice, Launchpad works similar to Heroku or Vercel, except everything is on Kubernetes. @@ -14,7 +14,7 @@ In practice, Launchpad works similar to Heroku or Vercel, except everything is o The example below initializes a web project with `launchpad init`, and deploys to a local Kubernetes cluster with `launchpad up`: -![screen cast](https://www.jetpack.io/assets/image/launchpad-docker-desktop-k.svg) +![screen cast](https://www.jetify.com/assets/image/launchpad-docker-desktop-k.svg) ## Installing Launchpad @@ -25,11 +25,9 @@ In addition to installing Launchpad itself, you will need to install `docker` si 2. Install Launchpad: ```sh - curl -fsSL https://get.jetpack.io/launchpad | bash + curl -fsSL https://get.jetify.com/launchpad | bash ``` -Read more on the [Launchpad docs](http://www.jetpack.io/launchpad/docs/getting-started/any-image-to-k8s-5-min/). - ## Benefits ### A Zero Ops workflow @@ -40,10 +38,6 @@ Launchpad builds any image, publishes it to your Docker Registry, and deploys it Ever wonder how you'd graduate from Heroku or a single EC2 machine to Kubernetes without going through a painful setup again? Faint not! With Launchpad, no manual migrations are required. In fact, developers can deploy and run their applications without needing to learn Kubernetes. -### With Mission Control, onboarding new members is as easy as "launchpad up" - -Adding a new member to the team? Forget about Registry access, Cluster credentials, Kubernetes configurations, Namespace permissions, and a million other things to take care of. With Jetpack's Mission Control, Launchpad can automatically create all of the above for each new developer. - ### Secret management built-in Secrets are tied to your launchpad projects, so they can be shared and updated securely by your team. @@ -100,8 +94,6 @@ In this quickstart, we’ll deploy a cron job to your local Docker Desktop Kuber > kubectl logs ``` - [kubectl](https://www.jetpack.io/launchpad/docs/getting-started/any-image-to-k8s-5-min/#prerequisites), while not required, is a useful tool for inspecting and managing your deployments in Kubernetes. - 7. Clean up: ```bash @@ -118,15 +110,12 @@ In this quickstart, we’ll deploy a cron job to your local Docker Desktop Kuber `launchpad cluster` - create a cluster, list your clusters (login required) -All "login required" commands require you to have an account with [Jetpack's Mission Control](https://www.jetpack.io/launchpad) offering. These special commands are added on top of the open-source codebase for you. Even though they are excluded from this repository, they are readily available in the launchpad CLI. - -See the [CLI Reference](https://www.jetpack.io/launchpad/docs/reference/cli/) for the full list of commands. ## Join our Developer Community -- Chat with us by joining the [Jetpack.io Discord Server](https://discord.gg/jetpack-io) – we have a #launchpad channel dedicated to this project. -- File bug reports and feature requests using [Github Issues](https://github.com/jetpack-io/launchpad/issues) -- Follow us on [Jetpack's Twitter](https://twitter.com/jetpack_io) for product updates +- Chat with us by joining the [Jetify's Discord Server](https://discord.gg/jetify) – we have a #launchpad channel dedicated to this project. +- File bug reports and feature requests using [Github Issues](https://github.com/jetify-com/launchpad/issues) +- Follow us on [Jetpack's Twitter](https://twitter.com/jetify_com) for product updates ## Contributing diff --git a/cmd/launchpad/main.go b/cmd/launchpad/main.go index 52acc87..4ef8c04 100644 --- a/cmd/launchpad/main.go +++ b/cmd/launchpad/main.go @@ -1,4 +1,4 @@ -// Copyright 2022 Jetpack Technologies Inc and contributors. All rights reserved. +// Copyright 2022 Jetify Inc. and contributors. All rights reserved. // Use of this source code is governed by the license in the LICENSE file. package main diff --git a/launchpad/build.go b/launchpad/build.go index fe75517..d9430ca 100644 --- a/launchpad/build.go +++ b/launchpad/build.go @@ -233,7 +233,7 @@ func validateBuildPlan(plan *BuildPlan, fs afero.Fs) error { "Dockerfile missing.\n" + "- Please add a Dockerfile manually under your app directory.\n" + "- You can find an example Dockerfile at " + - "https://github.com/jetpack-io/project-templates/blob/main/api/Dockerfile.\n" + + "https://github.com/jetify/project-templates/blob/main/api/Dockerfile.\n" + "- Alternatively, to use a pre-existing image, you can add an Image: field to your service in" + " launchpad.yaml or jetconfig.yaml.", ) diff --git a/padcli/padcli.go b/padcli/padcli.go index 9ce6439..a9e311c 100644 --- a/padcli/padcli.go +++ b/padcli/padcli.go @@ -1,4 +1,4 @@ -// Copyright 2022 Jetpack Technologies Inc and contributors. All rights reserved. +// Copyright 2022 Jetify Inc. and contributors. All rights reserved. // Use of this source code is governed by the license in the LICENSE file. package padcli diff --git a/pkg/buildstamp/buildstamp.go b/pkg/buildstamp/buildstamp.go index f64cacb..758133e 100644 --- a/pkg/buildstamp/buildstamp.go +++ b/pkg/buildstamp/buildstamp.go @@ -41,7 +41,7 @@ var ( // VersionNumber is the version number in semver format MAJOR.MINOR.PATCH VersionNumber string - // PrereleaseTag tells us what edition of Jetpack's Pre-releases this is. Usually, "dev". + // PrereleaseTag tells us what edition of Jetify's Pre-releases this is. Usually, "dev". PrereleaseTag string // CicdBuildRelease is set when the CLI binary was built through CICD diff --git a/pkg/reaktor/kubeconfig/clientbuilder.go b/pkg/reaktor/kubeconfig/clientbuilder.go index 5ae9d25..64eb42f 100644 --- a/pkg/reaktor/kubeconfig/clientbuilder.go +++ b/pkg/reaktor/kubeconfig/clientbuilder.go @@ -1,5 +1,5 @@ /* -Copyright 2021 Jetpack Technologies Inc. +Copyright 2021 Jetify Inc.. Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); @@ -9,7 +9,7 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -This file has been modified by Jetpack Technologies Inc to: +This file has been modified by Jetify Inc. to: - Support different ClientConfigs, depending on whether the kubeconfig is being provided via a file, in-cluster, or the contents are passed in directly. - The RESTClientGetter interface has been generalized to a ClientBuilder interface diff --git a/pkg/reaktor/kubeconfig/flags.go b/pkg/reaktor/kubeconfig/flags.go index e06fc1b..0f29045 100644 --- a/pkg/reaktor/kubeconfig/flags.go +++ b/pkg/reaktor/kubeconfig/flags.go @@ -1,5 +1,5 @@ /* -Copyright 2021 Jetpack Technologies Inc. +Copyright 2021 Jetify Inc.. Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); @@ -9,7 +9,7 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -This file has been modified by Jetpack Technologies Inc to isolate flags that +This file has been modified by Jetify Inc. to isolate flags that can be used when configuring a kubernetes client. The code is extracted from: https://github.com/kubernetes/cli-runtime/blob/master/pkg/genericclioptions/config_flags.go#L80 */ diff --git a/pkg/reaktor/kubeconfig/incluster.go b/pkg/reaktor/kubeconfig/incluster.go index e08c6e0..7ee809d 100644 --- a/pkg/reaktor/kubeconfig/incluster.go +++ b/pkg/reaktor/kubeconfig/incluster.go @@ -1,5 +1,5 @@ /* -Copyright 2021 Jetpack Technologies Inc. +Copyright 2021 Jetify Inc.. Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); @@ -9,7 +9,7 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -This file has been modified by Jetpack Technologies Inc: +This file has been modified by Jetify Inc.: + This an InClusterClientConfig that can be used publicly outside of the k8s code. As opposed to the original version which is private.