28 Commits
Author SHA1 Message Date
Taylor Braun-Jones d326c8afd5 devcontainer: Add a Dev Container definition for CMake development
Provide a `.devcontainer` definition, following the Dev Container
Specification, to give contributors a ready-made Linux environment with
the tools needed to build CMake, run its test suite, build its
documentation, and satisfy its style rules.

Base the container on Ubuntu, which offers the broadest ecosystem of
packages and tooling for development, including a recent `cmake` and the
`clang-format` version our style rules require, exactly.  Mirror the
package lists of the Debian image our CI infrastructure uses, section by
section, so that the dependencies available closely match the ones
against which merge requests are tested.  Build the image the way the
images under `.gitlab/ci/docker/` are built: bind mount the package
lists and the installation script rather than copying them in, and cache
the package lists and downloaded archives so that a rebuild fetches only
what has changed.

Run optional `.devcontainer/hooks/root.sh` and
`.devcontainer/hooks/user.sh` scripts, both ignored by Git, so that
developers may customize the container without modifying tracked files.

Document usage in a new `Help/dev/devcontainer.rst`.

Fixes: #28043
2026-09-08 16:23:33 +00:00
Craig Scott 475cc5487f Help: Document CMake's AI policy 2026-03-21 08:35:50 +11:00
Brad King 2d42a5444f LICENSE: Rename Copyright.txt to LICENSE.rst
The name `LICENSE` is now more conventional.
Format as reStructuredText to improve rendering.
2025-03-03 09:55:56 -05:00
Brad King 8a688e556e Help/dev: Add a CMake Testing Guide
Document how developers working on CMake itself may run the test suite
locally.

Fixes: #26001
2024-06-05 12:58:47 -04:00
Brad King 7cc124d4b5 Help/dev: Move integration testing to a more-specific document
Avoid breaking existing links to `Help/dev/testing.rst` by keeping
the document with minimal text to direct readers to the new one.
2024-06-05 12:58:47 -04:00
scivision 53a542936e Help: Convert http URLs to https 2024-03-07 09:42:45 -05:00
Josef Angstenberger 03b1140ddc CONTRIBUTING: Fix typos and spelling 2021-05-07 17:00:17 +02:00
Craig Scott 4f7cdcaabf Help: Update contributor instructions to refer to the forum
Fixes: #20746
2020-05-24 09:13:48 +10:00
Brad King 2fa3361384 CONTRIBUTING: Clarify creation of topic branch from target branch
The sentence "Base all new work on the upstream master branch." may be
interpreted to mean that one should commit on a 'master' branch.
Precede this with an explicit step for creating a topic branch.
2019-08-30 11:12:30 -04:00
Joachim Wuttke (h) 0861580a14 Help: Insert link from CONTRIBUTING to build instructions 2018-12-18 17:11:13 +01:00
Craig Scott 670324bea2 Help: Update maintainer edit checkbox label
Recent GitLab updates have changed the label associated with the
checkbox in merge request descriptions for allowing edits from
maintainers. Make the contributor guidelines match the new label
and add a note for why it is recommended.
2018-08-06 22:50:39 +10:00
Jean-Christophe Fillion-Robin f9b26718b7 contributing: Document that anyone can contribute testing machine 2018-08-05 20:22:06 +10:00
Brad King fc7e1de188 CONTRIBUTING: Mention GitLab option to allow edits from maintainers
Collaboration between contributors and developers is easier if a
developer can push an update to a contributor's MR source branch.
2018-04-12 13:16:38 -04:00
Jean-Christophe Fillion-Robin 27502491dd CONTRIBUTING: Clarify choice of master or release branch as a base 2018-03-15 07:56:30 -04:00
Craig Scott 11d00a17aa Help/dev: Add commit message guidelines 2017-08-08 21:17:32 +10:00
Brad King d5030124bb CONTRIBUTING: Explain how to propose changes to the release branch 2017-07-21 11:31:59 -04:00
Brad King 0fd255adf5 Help/dev: Adopt clang-format instructions in coding guide
Simplify the `CONTRIBUTING.rst` document by moving the code style
section over to our dedicated coding guide and linking to it instead.
2017-04-19 16:33:06 -04:00
Brad King 1cc73e9a6c CONTRIBUTING: Add link to review process document 2017-03-03 11:47:37 -05:00
Brad King 9a65b1272c CONTRIBUTING: Add link to development documentation README 2017-03-03 11:47:37 -05:00
Brad King 205ac0f034 CONTRIBUTING: Add note about running developer setup script 2017-03-03 11:47:36 -05:00
Brad King 03bd9895e3 CONTRIBUTING: Document contribution through the Kitware GitLab Instance
Replace the instructions that routed patches to the mailing list with
new instructions routing them to our GitLab instance.
2016-09-28 15:28:06 -04:00
Brad King 2cbfb5c7a4 CONTRIBUTING: Reference clang-format helper script for code style 2016-09-28 11:48:13 -04:00
Brad King 6a13f43f30 CONTRIBUTING: Add a section on coding style
Document that we now define our coding style with `clang-format`.
2016-05-16 16:04:46 -04:00
Brad King da7276cf94 Replace http://www.cmake.org URLs with https://cmake.org
The latter is now the preferred URL for visiting cmake.org with a
browser.  Convert using the shell code:

 git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
2015-09-25 15:47:39 -04:00
Brad King b14fd0f724 CONTRIBUTING: Spell "offered" correctly
Reported-by: Radovan Bast
2015-07-02 09:09:01 -04:00
Brad King 8da0a75ba2 Simplify and clarify credit text and link
Use the name "Kitware" rather than "Kitware, Inc." to simplify the text.
Provide a CMake-specific URL.
2014-06-03 09:24:26 -04:00
Brad King 395881f77d README: Credit Kitware and community of contributors 2014-02-03 11:10:02 -05:00
Brad King da87549238 Update README and add guidelines for CONTRIBUTING
Rename 'Readme.txt' to 'README.rst', format the documentation as
reStructuredText, and modernize the content.  Also add a new
'CONTRIBUTING.rst' explaining the preferred entry path for new
contributors.
2014-01-29 11:02:41 -05:00