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

function catalog should make full version (vX.Y.Z) of all functions available #2609

Closed
droot opened this issue Dec 6, 2021 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request triaged Issue has been triaged by adding an `area/` label
Milestone

Comments

@droot
Copy link
Contributor

droot commented Dec 6, 2021

We want to recommend users to use fully qualified version (vX.Y.Z) of functions in their packages to ensure that the render config is immutable but catalog seems to use floating version (vX.Y) today. So two asks:

  • Make it easy to discover all the patch versions of functions
  • All examples should use latest stable full versions.

Note: This is even more critical because very soon, we will make image-pull-policy to ifNotPresent.

@droot droot added enhancement New feature or request triaged Issue has been triaged by adding an `area/` label labels Dec 6, 2021
@droot
Copy link
Contributor Author

droot commented Dec 6, 2021

We should also ensure that kpt fn eval auto complete should display the latest patch version the function.

Note: our installation guide should document kpt completion to enable auto completion.

@droot droot added this to the Q4-2021 milestone Dec 6, 2021
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 6, 2021
Update the function catalog pages of the site to use the patch
version on the version dropdown. This is done using a new
catalog-v2.json endpoint in order to avoid breaking compatibility
with older versions of the CLI which are already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 6, 2021
This uses the fully qualified image name (patch version) to
provide a convenient means for the user to follow the best
practice of not using a floating version.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 6, 2021
This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 6, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions.
The latest patch version is now being presented in:
- The version dropdown for the function
- A new dynamic latest image tag section at the top of the page

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 6, 2021
This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 6, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions.
The latest patch version is now being presented in:
- The version dropdown for the function
- A new dynamic latest image tag section at the top of the page

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 8, 2021
This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 8, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions.
The latest patch version is now being presented in:
- The version dropdown for the function
- A new dynamic latest image tag section at the top of the page

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 8, 2021
This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 8, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions.
The latest patch version is now being presented in:
- The version dropdown for the function
- A new dynamic latest image tag section at the top of the page

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 8, 2021
This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 8, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions.
The latest patch version is now being presented in:
- The version dropdown for the function
- A new dynamic latest image tag section at the top of the page

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 9, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions.
The latest patch version is now being presented in:
- The version dropdown for the function
- A new dynamic latest image tag section at the top of the page

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 9, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions. The latest patch version is now presented
in the version dropdown for the function.

Issues: kptdev/kpt#2609
mengqiy pushed a commit to GoogleContainerTools/kpt-functions-catalog that referenced this issue Dec 9, 2021
* docs: Add catalog-v2.json endpoint to site

This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609

* docs: Display patch versions in site catalog

Consumes the new catalog-v2.json endpoint which provides the
latest patch versions. The latest patch version is now presented
in the version dropdown for the function.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 10, 2021
This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 10, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions. The latest patch version is now presented
in the version dropdown for the function.

Issues: kptdev/kpt#2609
sdowell added a commit to sdowell/kpt-functions-catalog that referenced this issue Dec 10, 2021
Consumes the new catalog-v2.json endpoint which provides the
latest patch versions. The latest patch version is now presented
in the version dropdown for the function.

Issues: kptdev/kpt#2609
mengqiy pushed a commit to GoogleContainerTools/kpt-functions-catalog that referenced this issue Dec 10, 2021
* docs: Add catalog-v2.json endpoint to site

This endpoint provides a new schema for the catalog.json file.
The motivation for this change is to provide access to the latest
patch version for each major/minor version for each function.
A new endpoint is added in order to avoid breaking backwards
compatibility with existing consumers of the catalog.json
endpoint, such as older versions of kpt already in the wild.

Issues: kptdev/kpt#2609

* docs: Display patch versions in site catalog

Consumes the new catalog-v2.json endpoint which provides the
latest patch versions. The latest patch version is now presented
in the version dropdown for the function.

Issues: kptdev/kpt#2609
@mengqiy
Copy link
Contributor

mengqiy commented Jan 5, 2022

This is done

@mengqiy mengqiy closed this as completed Jan 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

3 participants