Commit Graph

23 Commits

Author SHA1 Message Date
Mick Semb Wever 14e89fc3c7
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Missing license info and headers
2023-08-31 22:36:33 +02:00
Mick Semb Wever ce49e775f7
Missing license info and headers
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-18807
2023-08-31 22:30:42 +02:00
Stefan Miklosovic f52b316016 Merge branch 'cassandra-3.0' into cassandra-3.11 2023-01-23 15:00:03 +01:00
Stefan Miklosovic 357c0d5a89 Expand build.dir property in rat targets
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18183
2023-01-23 14:45:39 +01:00
Stefan Miklosovic 761d9f9516 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-10-21 10:05:28 +02:00
Stefan Miklosovic 2b31675fbd Fix running Ant rat targets without git
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-17974
2022-10-21 09:58:43 +02:00
Lorina Poland 05b0eaecad
Migrate documentation to AsciiDoc
This commit sets up a new documentation structure and format:

* The directory struture changes from a Sphinx project to an Antora module layout.
* The formatting of the content changes from reStructuredText to AsciiDoc.

The documentation must now be built and published with Antora. Initially only from the cassandra-website repository.

This change was done to make maintaining versioned website documentation easier. As Antora is designed to generate versioned documentation.

The old directory structure was:

<ROOT>
  - doc/
    - cql3/
      - CQL.css
      - CQL.textile
    - source/
      - _static/
      - _templates/
      - _theme/
      - _util/
      - <other directory sections>/
      - conf.py
      - index.rst
      - <other *.rst pages>
    - make.bat
    - Makefile
    - README.md
    - SASI.md
    - <*.spec files>
    - <generation scripts>

The new directory structure organises the documentation into modules:

<ROOT>
  - doc/
    - cql3
    - modules/
      - cassandra/
        - assets/
        - examples/
        - pages/
        - partials/
        - nav.adoc
      - ROOT/
        - pages/
        - nav.adoc
    - scripts/
    - antora.yaml
    - README.md
    - SASI.md

 patch by Lorina Poland, Anthony Grasso; reviewed by Anthony Grasso, Mick Semb Wever for CASSANDRA-16763

Co-authored-by: Anthony Grasso <anthony@thelastpickle.com>
2022-01-05 22:03:02 +01:00
Mick Semb Wever 2fdf1d2762 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:37:32 -05:00
Mick Semb Wever 3259d6de37 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:35:45 -05:00
Sam Tunnicliffe 9449cd3d6e Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-27 11:57:00 +01:00
Sam Tunnicliffe 4763d5625a Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-27 11:56:07 +01:00
Sam Tunnicliffe 26163bb12a Follow up fixes to CASSANDRA-16633
* Don't run rat check if git fails or not available
* Check for presence of rat.txt before running eclipse-warnings task
  (to ensure that the report is always generated by CI runs)

Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever for CASSANDRA-16633
2021-04-27 11:12:07 +01:00
Sam Tunnicliffe 87a46c36f0 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-27 09:20:25 +01:00
Sam Tunnicliffe ad2f41ef88 Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-27 09:18:50 +01:00
Sam Tunnicliffe bd270260c8 Only include versioned files in rat-report
Patch by Sam Tunnicliffe; reviewed by Benedict Elliott Smith
and Mick Semb Wever for CASSANDRA-16633
2021-04-27 09:17:56 +01:00
Sam Tunnicliffe 5be6d7e6b1 Only include versioned files in rat-report
Patch by Sam Tunnicliffe; reviewed by Benedict Elliott Smith
and Mick Semb Wever for CASSANDRA-16633
2021-04-27 08:57:50 +01:00
Mick Semb Wever 618b48db41
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-23 15:19:14 +02:00
Mick Semb Wever ad16aa1763
Provide a better failure message when the rat check fails
patch by Mick Semb Wever; reviewed by David Capwell, Ekaterina Dimitrova for CASSANDRA-16620
2021-04-23 14:56:00 +02:00
Ekaterina Dimitrova 8b977d0da9 Ninja fix, add header to the Circle LOWRES and HIGHRES config files 2021-04-19 14:13:49 -04:00
Ekaterina Dimitrova eb0f13af8d Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-19 13:51:18 -04:00
Ekaterina Dimitrova 5c6ae40404 Ninja fix, add header to the Circle LOWRES and HIGHRES config files 2021-04-19 13:34:22 -04:00
Mick Semb Wever 2ec96ae669
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-19 17:34:05 +02:00
Mick Semb Wever 53b0661cbb
Fix rat checking for files with missing license headers
patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova for CASSANDRA-16558
2021-04-19 17:18:26 +02:00