Skip to content

Commit 807d501

Browse files
authored
codegen: remove unnecessary files in codegen (#79)
Fix directory name for cleanup in python Makefile and remove unused files and folders
1 parent 99d76f7 commit 807d501

51 files changed

Lines changed: 20 additions & 2355 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

java/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ gen-java-apache-client: clean-java-apache-client
2424
--additional-properties=groupId=com.lancedb,artifactId=lance-namespace-apache-client,artifactVersion=$(VERSION),parentGroupId=com.lancedb,parentArtifactId=lance-namespace-root,parentVersion=$(VERSION),parentRelativePath=pom.xml,library=apache-httpclient,apiPackage=com.lancedb.lance.namespace.client.apache.api,modelPackage=com.lancedb.lance.namespace.model,hideGenerationTimestamp=true,licenseName=Apache-2.0,licenseUrl=https://www.apache.org/licenses/LICENSE-2.0.txt
2525
sed -i -e 's#<junit-version>5.10.2</junit-version>#<junit-version>5.8.2</junit-version>#g' lance-namespace-apache-client/pom.xml
2626
rm -f lance-namespace-apache-client/pom.xml-e
27+
rm -rf lance-namespace-reqwest-client/.openapi-generator-ignore
28+
rm -rf lance-namespace-reqwest-client/.openapi-generator
2729

2830
lint-java-apache-client: gen-java-apache-client gen-java-springboot-server
2931
./mvnw spotless:apply -pl lance-namespace-apache-client -am
@@ -40,6 +42,8 @@ gen-java-springboot-server: clean-java-springboot-server
4042
-g spring \
4143
-o lance-namespace-springboot-server \
4244
--additional-properties=groupId=com.lancedb,artifactId=lance-namespace-springboot-server,artifactVersion=$(VERSION),parentGroupId=com.lancedb,parentArtifactId=lance-namespace-root,parentVersion=$(VERSION),parentRelativePath=pom.xml,library=spring-boot,interfaceOnly=true,useOptional=true,openApiNullable=false,java8=true,apiPackage=com.lancedb.lance.namespace.server.springboot.api,modelPackage=com.lancedb.lance.namespace.server.springboot.model,useTags=true,skipDefaultInterface=false,hideGenerationTimestamp=true,licenseName=Apache-2.0,licenseUrl=https://www.apache.org/licenses/LICENSE-2.0.txt
45+
rm -rf lance-namespace-reqwest-client/.openapi-generator-ignore
46+
rm -rf lance-namespace-reqwest-client/.openapi-generator
4347

4448
lint-java-springboot-server: gen-java-apache-client gen-java-springboot-server
4549
./mvnw spotless:apply -pl lance-namespace-springboot-server -am

python/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
VERSION = 0.0.1
1414

1515
clean-python-urllib3-client:
16-
rm -rf lance-namespace-urllib3-client/**
16+
rm -rf lance_namespace_urllib3_client/**
1717

1818
gen-python-urllib3-client: clean-python-urllib3-client
1919
openapi-generator-cli generate \
@@ -32,6 +32,8 @@ gen-python-urllib3-client: clean-python-urllib3-client
3232
rm -rf lance_namespace_urllib3_client/setup.py
3333
rm -rf lance_namespace_urllib3_client/test-requirements.txt
3434
rm -rf lance_namespace_urllib3_client/tox.ini
35+
rm -rf lance_namespace_urllib3_client/.openapi-generator-ignore
36+
rm -rf lance_namespace_urllib3_client/.openapi-generator
3537

3638
build-python-urllib3-client: gen-python-urllib3-client
3739
cd lance_namespace_urllib3_client; \

python/lance_namespace_urllib3_client/.openapi-generator-ignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

python/lance_namespace_urllib3_client/.openapi-generator/FILES

Lines changed: 0 additions & 60 deletions
This file was deleted.

python/lance_namespace_urllib3_client/.openapi-generator/VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)