You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@texera.apache.org by "Yicong-Huang (via GitHub)" <gi...@apache.org> on 2025/10/12 23:26:13 UTC

[PR] chore: rename `core` to `common` [texera]

Yicong-Huang opened a new pull request, #3882:
URL: https://github.com/apache/texera/pull/3882

   According to the reorganization plan #3846. This PR renames `core` out to `common`.  The folder will contain shared dependencies of services.
   
   resolves #3861


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: rename `core` to `common` [texera]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #3882:
URL: https://github.com/apache/texera/pull/3882#discussion_r2424997996


##########
Dockerfile:
##########
@@ -49,9 +49,9 @@ WORKDIR /core
 COPY .git ../.git
 COPY --from=nodegui /gui/dist ./gui/dist
 
-RUN scripts/build-services.sh
+RUN ../bin/build-services.sh

Review Comment:
   The script path `../bin/build-services.sh` may be incorrect. Since the working directory is `/core`, the relative path `../bin/` would point to `/bin/build-services.sh` which is likely not the intended location for project scripts.
   ```suggestion
   RUN bin/build-services.sh
   ```



##########
Dockerfile:
##########
@@ -49,9 +49,9 @@ WORKDIR /core
 COPY .git ../.git
 COPY --from=nodegui /gui/dist ./gui/dist
 
-RUN scripts/build-services.sh
+RUN ../bin/build-services.sh
 
-CMD ["scripts/deploy-docker.sh"]
+CMD ["../bin/deploy-docker.sh"]

Review Comment:
   The script path `../bin/deploy-docker.sh` may be incorrect. Since the working directory is `/core`, the relative path `../bin/` would point to `/bin/deploy-docker.sh` which is likely not the intended location for project scripts.
   ```suggestion
   CMD ["bin/deploy-docker.sh"]
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: rename `core` to `common` [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan commented on code in PR #3882:
URL: https://github.com/apache/texera/pull/3882#discussion_r2425039310


##########
.github/workflows/github-action-build.yml:
##########
@@ -105,7 +105,7 @@ jobs:
         uses: sbt/setup-sbt@v1
       - uses: coursier/cache-action@v6
         with:
-          extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]'
+          extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'

Review Comment:
   The CI failure might be due to this reason.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: rename `core` to `common` [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on code in PR #3882:
URL: https://github.com/apache/texera/pull/3882#discussion_r2425068557


##########
.github/workflows/github-action-build.yml:
##########
@@ -105,7 +105,7 @@ jobs:
         uses: sbt/setup-sbt@v1
       - uses: coursier/cache-action@v6
         with:
-          extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]'
+          extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'

Review Comment:
   no the failure is related to jooq.  I pushed a fix. the change here is related to ci cache. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: rename `core` to `common` [texera]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #3882:
URL: https://github.com/apache/texera/pull/3882#discussion_r2425034932


##########
.github/workflows/github-action-build.yml:
##########
@@ -105,7 +105,7 @@ jobs:
         uses: sbt/setup-sbt@v1
       - uses: coursier/cache-action@v6
         with:
-          extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]'
+          extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'

Review Comment:
   The SBT file patterns have been changed from `core/*` to relative paths, but this may not correctly reference the new `common` directory structure. The patterns should likely be `common/*.sbt` and `common/project/**` to maintain the same functionality after the rename.
   ```suggestion
             extraSbtFiles: '["common/*.sbt", "common/project/**", "common/project/build.properties" ]'
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: rename `core` to `common` [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan commented on PR #3882:
URL: https://github.com/apache/texera/pull/3882#issuecomment-3395652493

   Test case fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: rename `core` to `common` [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang merged PR #3882:
URL: https://github.com/apache/texera/pull/3882


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org