Skip to content

Comments

Feat: Export tool#154

Merged
gergely-szabo-sap merged 85 commits intomainfrom
feat/export-tool
Jan 30, 2026
Merged

Feat: Export tool#154
gergely-szabo-sap merged 85 commits intomainfrom
feat/export-tool

Conversation

@gergely-szabo-sap
Copy link
Contributor

@gergely-szabo-sap gergely-szabo-sap commented Oct 6, 2025

This PR adds a new binary tool. It is an export CLI tool that can export resource definitions from a Cloud Foundry system in the format of the Cloud Foundry provider's custom resource definitions.

@gergely-szabo-sap gergely-szabo-sap self-assigned this Oct 6, 2025
@gergely-szabo-sap gergely-szabo-sap linked an issue Jan 29, 2026 that may be closed by this pull request
Copy link
Member

@sdischer-sap sdischer-sap left a comment

Choose a reason for hiding this comment

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

Looks great.
I noticed that tests are missing. Also we should probably have some developer centric documentation for that (explaining "how to add export support for a new resource").
Can be follow ups I guess, but we should have tickets for that. Not sure if we do.


<a id="installation"></a>

# TODO Installation
Copy link
Member

Choose a reason for hiding this comment

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

Missing content.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This chapter will be filled in when #121 is implemented.

@@ -0,0 +1,574 @@
# Introduction
Copy link
Member

Choose a reason for hiding this comment

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

Nice docs, maybe we should link them from main README?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reference added. See b2d935b


import (
"context"
"log/slog"
Copy link
Member

Choose a reason for hiding this comment

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

I guess we are using a different library for logging here compared to the rest of the provider right?
Is that technically required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The logging comes from xp-clifford, which aimed to use the most advanced, non-third-party logging framework. I hope the provider will eventually follow this path...

@sdischer-sap
Copy link
Member

Does this PR belong to a particular issue?

@gergely-szabo-sap
Copy link
Contributor Author

Does this PR belong to a particular issue?

I linked the relevant issues.

@sdischer-sap
Copy link
Member

Does this PR belong to a particular issue?

I linked the relevant issues.

argh this github tools confuse me. I am still used to putting a ref in the Description. Always forget to check the UI, but thats fine then.

@gergely-szabo-sap
Copy link
Contributor Author

I noticed that tests are missing.

Unit test for a CLI tool is not obvious. We want to have e2e test, see #198.

Copy link
Member

@sdischer-sap sdischer-sap left a comment

Choose a reason for hiding this comment

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

LGTM to me then

@gergely-szabo-sap
Copy link
Contributor Author

Also we should probably have some developer centric documentation for that (explaining "how to add export support for a new resource").
Can be follow ups I guess, but we should have tickets for that. Not sure if we do.

I created #199.

@gergely-szabo-sap
Copy link
Contributor Author

Does this PR belong to a particular issue?

I linked the relevant issues.

argh this github tools confuse me. I am still used to putting a ref in the Description. Always forget to check the UI, but thats fine then.

I mean, I linked them after your comment.

@gergely-szabo-sap gergely-szabo-sap merged commit 7041360 into main Jan 30, 2026
11 checks passed
@gergely-szabo-sap gergely-szabo-sap deleted the feat/export-tool branch January 30, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants