Copilot commented on code in PR #40:
URL:
https://github.com/apache/incubator-kie-website/pull/40#discussion_r2153222738
##########
docs/community/build-10.1.0.md:
##########
@@ -0,0 +1,188 @@
+---
+id: build-10.1
+title: Build from Source - 10.1.0
+sidebar_position: 4
+---
+
+### Complete Environment requirements:
+
+- Temurin JDK 17.0.12+8.1
+- Maven 3.9.6
+- Oracle GraalVM 17.0.12+8.1
+- Docker 25+
+- Python 3.12.9
+- Make 4.4.1+
+- Node 20.19.0
+- PNPM 9.3.0
+- Go 1.23.6
+- Helm 3.15.2
+
+:::note
+
+If you're using a different engine for docker api, Cekit and other tools will
require the DOCKER_HOST to be properly setup.
+
+If using colima:
+ ```bash
+ export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock
+ ```
+
+if using rancher:
+
+ ```bash
+ export DOCKER_HOST=unix://$HOME/.rd/docker.sock
+ ```
+
+if using podman:
+
+ ```bash
+ export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
+ ```
+
+:::
+
+### 1. Obtain the Source Code
+
+The first step in building from source is to obtain and extract the source
code archive. This archive is available in both release candidates and final
releases.
+
+#### Download the Source Archive
+
+Use the following pattern to locate and download the source zip:
+
+```bash
+https://dist.apache.org/repos/dist/dev/incubator/kie/10.1.0-${rc_version}/apache-kie-10.1.0-incubating-sources.zip
+```
+
+Replace `10.1.0` and `${rc_version}` with the appropriate values. For example:
+
+
+```bash
+https://dist.apache.org/repos/dist/dev/incubator/kie/10.0.0-rc1/apache-kie-10.1.0-incubating-sources.zip
Review Comment:
The version number in the download link example seems inconsistent with the
page title. Update the version from '10.0.0-rc1' to '10.1.0-rc1' (or the
intended version) for clarity.
```suggestion
https://dist.apache.org/repos/dist/dev/incubator/kie/10.1.0-rc1/apache-kie-10.1.0-incubating-sources.zip
```
##########
docs/community/build-10.1.0.md:
##########
@@ -0,0 +1,188 @@
+---
+id: build-10.1
+title: Build from Source - 10.1.0
+sidebar_position: 4
+---
+
+### Complete Environment requirements:
+
+- Temurin JDK 17.0.12+8.1
+- Maven 3.9.6
+- Oracle GraalVM 17.0.12+8.1
+- Docker 25+
+- Python 3.12.9
+- Make 4.4.1+
+- Node 20.19.0
+- PNPM 9.3.0
+- Go 1.23.6
+- Helm 3.15.2
+
+:::note
+
+If you're using a different engine for docker api, Cekit and other tools will
require the DOCKER_HOST to be properly setup.
+
+If using colima:
+ ```bash
+ export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock
+ ```
+
+if using rancher:
+
+ ```bash
+ export DOCKER_HOST=unix://$HOME/.rd/docker.sock
+ ```
+
+if using podman:
+
+ ```bash
+ export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
+ ```
+
+:::
+
+### 1. Obtain the Source Code
+
+The first step in building from source is to obtain and extract the source
code archive. This archive is available in both release candidates and final
releases.
+
+#### Download the Source Archive
+
+Use the following pattern to locate and download the source zip:
+
+```bash
+https://dist.apache.org/repos/dist/dev/incubator/kie/10.1.0-${rc_version}/apache-kie-10.1.0-incubating-sources.zip
+```
+
+Replace `10.1.0` and `${rc_version}` with the appropriate values. For example:
+
+
+```bash
+https://dist.apache.org/repos/dist/dev/incubator/kie/10.0.0-rc1/apache-kie-10.1.0-incubating-sources.zip
+```
+
+#### Extract the Source Archive
+
+Once downloaded, extract the contents of the zip file:
+
+```bash
+unzip apache-kie-10.1.0-incubating-sources.zip
+```
+
+### 2. Navigate to the Source Directory
+
+```bash
+cd apache-kie-10.1.0-incubating-sources
+```
+- BUILD
+- DISCLAIMER-WIP
+- LICENSE
+- NOTICE
+- build.sh
+- incubator-kie-drools
+- incubator-kie-kogito-apps
+- incubator-kie-kogito-runtimes
+- incubator-kie-optaplanner
+- incubator-kie-tools
+
+We'll build each of these components individually.
+
+### 3. Building Individual Components
+
+:::note
+It's recommended to clean the local `~/.m2` repository, because its content
will be incorporated in some container images during the build.
+:::
+
+### 3.1. Drools
+
+**Environment Requirements:**
+- Temurin JDK
+- Maven
+
+**Build Commands:**
+```bash
+cd incubator-kie-drools
+git init .
+mvn clean install -DskipTests -Dfull -Donly.reproducible=true
+```
+
+**Produced Artifacts:** JARs will be installed to local Maven repository.
+
+### 3.2. OptaPlanner
+
+**Environment Requirements:**
+- Temurin JDK
+- Maven
+
+**Build Commands:**
+```bash
+cd incubator-kie-optaplanner
+mvn clean install -DskipTests -Dfull -Donly.reproducible=true
+```
+
+**Produced Artifacts:** JARs will be installed to local Maven repository.
+
+### 3.3. Kogito Runtimes
+
+**Environment Requirements:**
+- Temurin JDK
+- Maven
+
+**Build Commands:**
+```bash
+cd incubator-kie-kogito-runtimes
+mvn clean install -DskipTests -Dfull -Donly.reproducible=true
+```
+
+**Produced Artifacts:** JARs will be installed to local Maven repository.
+
+### 3.4. Kogito Apps
+
+**Environment Requirements:**
+- Temurin JDK
+- Maven
+- GraalVM for JDK
+- Docker
+
+:::note
+If you're using Podman as a docker api, to build Kogito Apps you'll need to
pass this variable
+
+ ```bash
+ -Djib.dockerClient.executable=$(which podman)
+ ```
+:::
+
+**Build Commands:**
+```bash
+cd incubator-kie-kogito-apps
+mvn clean install -DskipTests -Dfull -Donly.reproducible=true
-Pjitexecutor-native
+```
+
+**Produced Artifacts:** JARs will be installed to local Maven repository.
+
+### 3.5. KIE Tools
+
+**Environment Requirements:**
+- Temurin JDK
+- Maven
+- Node
+- PNPM
+- Go
+- Python
+- Helm
+- Docker
+- Make
+
+**Build Commands:**
+```bash
+cd incubator-kie-tools
+git config user.name "Your Name"
+git config user.email "[email protected]"
+git init . && git add . && git commit -m "."
Review Comment:
The commit message '.' is non-descriptive and may impact traceability.
Consider using a more meaningful commit message to clearly indicate the purpose
of the commit.
```suggestion
git init . && git add . && git commit -m "Initialize repository and add
project files"
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]