You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2019/01/10 18:09:00 UTC

[jira] [Updated] (YETUS-15) build environment

     [ https://issues.apache.org/jira/browse/YETUS-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Busbey updated YETUS-15:
-----------------------------
    Release Note: 
<!-- markdown -->
Apache Yetus has been converted to use Apache Maven as a build tool. As a result, many changes have taken place that directly impacts the project.  

* Source directories have been re-arranged and re-named:
  * All bash code is now in (feature)/src/main/shell
  * All python code is now in (feature)/src/main/python
* audience-annotations is mostly unchanged.
* releasedocmaker and shelldocs are now available as Jython-built jars.
* Introduction of the yetus-minimaven-plugin and yetus-maven-plugins.  The yetus-minimaven-plugin is used to build Apache Yetus.  yetus-maven-plugin is an end-user artifact that gives access some Apache Yetus features to Apache Maven and compatible build systems without needing any external help (e.g., yetus-wrapper)
* Middleman is still used for creating the static website, however, it is now tied into the 'mvn site' command. 'mvn install' MUST be executed before running 'mvn site' as website generation depends upon the yetus-minimaven-plugin.
* The content of yetus-project is now in the root of the source tree.
* The new yetus-dist module handles the creation of a complete distribution. The artifacts are now in the yetus-dist/target directory.  The artifact contents are largely unchanged.  New yetus-assemblies module and various Apache Maven configuration files have been added to create distribution parity.
* The website is also available as a tar.gz tarball in the yetus-dist artifact area.
* The jdiff module is now always built.
* Version handling has been modified in several different locations and the executables themselves.

Also, other changes  introduced:

* start-build-env.sh has been added to create a Docker-ized development environment. In particular, this imports the .ssh and .gnupg directories and has all pre-requisites for building Apache Yetus and making releases.
* A Dockerfile in root has been added for hub.docker.com and CI-system integration.
* The old Dockerfile (previously located at precommit/test-patch-docker and now located at precommit/src/main/shell/test-patch-docker) has been changed to be able also to run releasedocmaker.
* Some ruby dependencies for the website have been updated for security reasons.
* JDK8 is now the minimum version of Java used to build the Apache Yetus Java components.
* precommit's shellcheck.sh now recognizes src/main/shell as containing shell code to check.
* releasedocmaker and shelldocs now explicitly call for python2


  was:
<!-- markdown -->
Apache Yetus has been converted to use Apache Maven as a build tool. As a result, many changes have taken place that directly impacts the project.  

* Source directories have been re-arranged and re-named:
  * All bash code is now in (feature)/src/main/shell
  * All python code is now in (feature)/src/main/python
* audience-annotations is mostly unchanged.
* releasedocmaker and shelldocs are now available as Jython-built jars.
* Introduction of the yetus-minimaven-plugin and yetus-maven-plugins.  The yetus-minimaven-plugin is used to build Apache Yetus.  yetus-maven-plugin is an end-user artifact that gives access some Apache Yetus features to Apache Maven and compatible build systems without needing any external help (e.g., yetus-wrapper)
* Middleman is still used for creating the static website, however, it is now tied into the 'mvn site' command. 'mvn install' MUST be executed before running 'mvn site' as website generation depends upon the yetus-minimaven-plugin.
* The content of yetus-project is now in the root of the source tree.
* The new yetus-dist module handles the creation of a complete distribution. The artifacts are now in the yetus-dist/target directory.  The artifact contents are largely unchanged.  New yetus-assemblies module and various Apache Maven configuration files have been added to create distribution parity.
* The website is also available as a tar.gz tarball in the yetus-dist artifact area.
* The jdiff module is now always built.
* Version handling has been modified in several different locations and the executables themselves.

Also, other changes  introduced:

* start-build-env.sh has been added to create a Docker-ized development environment. In particular, this imports the .ssh and .gnupg directories and has all pre-requisites for building Apache Yetus and making releases.
* A Dockerfile in root has been added for hub.docker.com and CI-system integration.
* The old Dockerfile (previously located at precommit/test-patch-docker and now located at precommit/src/main/shell/test-patch-docker) has been changed to be able also to run releasedocmaker.
* Some ruby dependencies for the website have been for security reasons.
* JDK8 is now the minimum version of Java used to build the Apache Yetus Java components.
* precommit's shellcheck.sh now recognizes src/main/shell as containing shell code to check.
* releasedocmaker and shelldocs now explicitly call for python2



> build environment
> -----------------
>
>                 Key: YETUS-15
>                 URL: https://issues.apache.org/jira/browse/YETUS-15
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Test Patch
>    Affects Versions: 0.1.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Critical
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-12137.HADOOP-12111.00.patch, HADOOP-12137.HADOOP-12111.01.patch, YETUS-15.000.patch, YETUS-15.002.patch, YETUS-15.004.patch, YETUS-15.005.patch, YETUS-15.006.patch, YETUS-15.007.patch, YETUS-15.008.patch, YETUS-15.009.patch, YETUS-15.010.patch, YETUS-15.011.patch, YETUS-15.03.patch, YETUS-15.ea-maven-001.patch
>
>
> We need to have some way to build (esp the documentation!) and unit tests.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)