Commit Graph

67 Commits

Author SHA1 Message Date
Ernesto Puerta a09e6d3c2f
README: add OpenSSF Best Practices Badge
This effort was started long time ago by Mike Perez.[1] I now completed the remaining steps to achieve the Passing level of the OpenSSF Best Practices Badge.[2]

It should be used as an opportunity to implement best practices in the Ceph community. For example, the Passing level was achieved without meeting the optional compliance with Dynamic Analysis or Security Scanning.

[1] https://www.bestpractices.dev/en/projects/2220
[2] https://www.bestpractices.dev/en/criteria/0

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2024-09-30 22:06:17 +02:00
Zac Dover 36c620b04f doc/README.md: create selectable commands
An indentation of five spaces relative to the previous line creates a
command that is copyable with a single mouse click. This commit adds
those copyabale commands to the procedure in the section "Building
Ceph".

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-09-14 18:46:56 +10:00
Zac Dover b9ca395730 doc/README.md: improve formatting
Improve the formatting in the section "Building Ceph" in the file
README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-09-11 22:50:35 +10:00
Zac Dover 7171f73c81 doc/README.md: improve formatting
Improve the formatting of the section "Building Ceph" in the file
README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-09-10 01:21:18 +10:00
Zac Dover 0b277fe380 doc/README.md: edit "Build Prerequisites"
Make the sentences in the "Build Prerequisites" section of README.md
more direct.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-09-06 17:56:27 +10:00
Zac Dover a7e8779be7 doc/README.md - add "tip" alert styling
Add "tip" alert styling (what in Docbook XML is called "an admonition")
to information about Ninja in an ordered list (which is what markdown
has here instead of procedures).

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-08-08 17:04:45 +10:00
Zac Dover c105a45c90 doc/README.md - allocate information correctly
Add information in the "Building Ceph" procedure to the steps where it
belongs. Add information about "do_cmake.sh" to the step about
"do_cmake.sh". Add information about Ninja to the step about Ninja.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-08-07 09:20:50 +10:00
Zac Dover 1f21057e41 doc/README.md - add ordered list
Add ordered-list formatting to the "Building Ceph" section of README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-08-05 23:02:49 +10:00
Patrick Donnelly dd3176c814
doc: add status badge for backport creation
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-05-14 08:19:42 -04:00
Rishabh Dave eb6995436f cmake: add --progress flag to git submodule update commands
Ceph has lots of submodules that needs to be cloned before building
binaries from the repository. Seeing the progress when these submodules
are being cloned is useful, especially when developers/users have a
network issue or a slow network.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-10-31 23:14:49 +05:30
Zac Dover 8d606003af doc: update test cluster commands in README.md
The "rbd" pool has not been created by default since Luminous. This
commit removes a command that assumed the existence of the "rbd" pool.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-09-08 21:00:38 +10:00
Zac Dover 420ecc7add doc/README.md - improve "Running a test cluster"
Improve the English in the section "Running a test cluster in the
ceph/README.md file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-09-01 10:19:58 +10:00
Zac Dover 2a9b13bd7b doc/README.md - improve "CMake Options"
Add subheadings to the "CMake Options" section of ceph/README.md. Remove
modal verbs when appropriate and make sentences tidier.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-22 00:13:34 +10:00
Zac Dover 5bb3942365 doc/README.md - edit "Building Ceph"
Improve the "Building Ceph" section of ceph/README.md.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-20 09:16:54 +10:00
Zac Dover 9433a3e62f doc: edit README.md - contributing code
Edit the "Contributing Code" section of the "ceph/README.md" file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-18 04:53:30 +10:00
Zac Dover 578fdb27a0 doc: improve submodule update command - README.md
Improve the portion of README.md that directs the reader to update the
submodules. Previously, the text assumed that the reader knew that they
should cd into the ceph directory. Now the text is explicit about the
necessity of this action.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-15 21:07:13 +10:00
Zac Dover 0b0009bf1f doc: update README.md install procedure
Add instructions directing the reader to install the "python3-routes"
package. This package is required in order to launch the dashboard after
the installation procedure has completed, but is not yet included in the
install-deps.sh script.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-07-27 21:49:19 +10:00
Zac Dover ad1202be68 doc: update README.md
Correct and improve ceph/README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-07-25 23:15:09 +10:00
luo rixin 6da360833a doc: remove leveldb support from doc
Signed-off-by: luo rixin <luorixin@huawei.com>
2023-05-04 10:43:08 +08:00
SHANKAR c110659728
Update README.md
Signed-off-by: SHANKAR <98207888+evershalik@users.noreply.github.com>
2023-01-29 12:42:01 +05:30
Kai 8f50c67eae
README.md: HTTP => HTTPS
Switching the link http://ceph.com/ from HTTP to HTTPS, so https://ceph.com/, to skip the redirect when opening it.
(http://ceph.com/ is being redirected to https://ceph.com/)

Signed-off-by: Kai Hollberg <kai.hollberg@googlemail.com>
2022-07-03 21:36:27 +02:00
Casey Bodley 42f3833dbd README: document cmake options for system packages
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-03-31 14:56:06 -04:00
John Bent cbe029bb3a README.md: Update README.md to add link to tracker.ceph.com
I searched the existing documentation for a link to the tracker and had a hard time finding it. Other folks like myself might like it so prominently displayed.
Added a link to https://tracker.ceph.com/projects/ceph as https://tracker.ceph.com/ is basically blank and not totally intuitive how to get to issues.

Signed-off-by: John Bent <john.bent@seagate.com>
2022-01-05 14:48:12 -07:00
Kefu Chai a5d38f0b14 README.md: recommend -Og instead of -O0
per https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

> -Og
>  Optimize debugging experience. -Og should be the optimization level of
>  choice for the standard edit-compile-debug cycle, offering a reasonable
>  level of optimization while maintaining fast compilation and a good
>  debugging experience. It is a better choice than -O0 for producing
>  debuggable code because some compiler passes that collect debug
>  information are disabled at -O0.

so instead of using -O0, for better developer experience, -Og is
recommended.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-07-20 14:23:59 +08:00
Srishti Guleria faccb57b3f README.md: fix couple minor syntax issues
Signed-off-by: Srishti Guleria <guleriasrishti01@gmail.com>
2021-07-08 23:27:33 +08:00
Varsha Rao 0c1c3d594d README.md: remove extra 'the' and format para related to ninja
Signed-off-by: Varsha Rao <varao@redhat.com>
2021-03-26 12:20:00 +05:30
Kefu Chai 1fab195e91 README.md: correct notes on `-j` option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-12 22:18:10 +08:00
Rishabh Dave 65ba380251 README.md: replace "make" by "ninja"
Update README.md since ninja is the default generator now.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2021-03-12 09:55:52 +05:30
Kefu Chai 8a7c8015c8 cmake: do not check OFED_PREFIX anymore
OFED_PREFIX was added to compile with xio messenger for supporting RDMA
using the Accelio and/or MLNX_OFED package. but xio messenger was removed in
in cc9a9142fd

let remove the leftover in CMakeLists

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-01 13:23:18 +08:00
Kefu Chai 9d32ca8c36 README.md: remove stale cmake prerequisite
it's stale. as we now require 3.10 after dropping the support of xenial.

and it's incomplete, we have a ton of build dependencies apart from
cmake.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-22 00:00:01 +08:00
Matthew Oliver eb33b30d3d do_cmake.sh: Add CEPH_GIT_DIR
This patch adds a new env variables that users can set to define the
location of the checked out ceph git repo.

The documentation mentions having to go edit the script directly to
point to the ceph git directory if the build dir isn't in the
top directory of the checked out git repo. This patch changes the '..'
into an env variable, CEPH_GIT_DIR, that defaults to '..'. To make it
easy to script and change.

This allows someone to do things like:

 export CEPH_GIT_DIR=~/git/ceph
 ./do_cmake.sh

or

 CEPH_GIT_DIR=~/git/ceph ./do_cmake.sh

Which is much better then editing the script directly.
The README.md has been modified to mention this variable and also
includes a drive by to mention `make -j` for new contributors to
build ceph quicker.

Signed-off-by: Matthew Oliver <moliver@suse.com>
2019-11-04 00:30:09 +00:00
Sage Weil 2f361a6eee relicense LGPL-2.1 code as LGPL-2.1 or LGPL-3.0
The primary motivation to relicense is a desire to integrate with projects
that are licensed under the Apache License version 2.0.  Although opinions
vary, there are some who argue the the LGPL-2.1 and Apache-2.0 licenses
are not fully compatible.  We would like to avoid the ambiguity and
potential for controversy.

Projects we would like to consume that are Apache-2.0 licensed include
Seastar, OpenSSL (which is in the process of relicensing to Apache-2.0),
and Swagger (swagger.io).  Note that some of these are dynamically linked
or consumed via a high-level language and may or may not require a change
to LGPL-3.0, but providing the option for LGPL-3.0 certainly avoids any
uncertainty.

A few other source files are already incorporated into Ceph that claim an
Apache-2.0 license:

    src/common/deleter.h
    src/common/sstring.h
    src/include/cpp-btree

The Ceph developers would further like to provide a license option that is
more modern than the current LGPL-2.1.  LGPL-3.0 includes updated,
clarified language around several issues and is widely considered
more modern, superior license.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-22 11:22:55 -05:00
Mark Nelson 3214b71558 README.md: Add note about default do_cmake.sh debug builds.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-12-12 12:09:57 -06:00
Kefu Chai 5e0dd8c19e README.md: bump up required cmake to 3.5.1
we started to use cmake 3.5.1 back in 34f1ee78

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-09 13:52:11 +08:00
Nathan Cutler e294dd5910 legal: remove doc license ambiguity
The license applicable to the files under doc/ was originally declared (in the
top-level file COPYING) to be "Creative Commons Attribution-ShareAlike (CC
BY-SA)" by ed0653b493

This license declaration omitted a version number.

Some time later ef7418421b was merged, mentioning
CC-BY-SA-1.0 as one of the Ceph source code licenses. Although the purpose of that
commit was only to summarize the canonical license information from COPYING, it
unintentionally became the only place in the source code where the doc license
version was specified.

In March 2018, the Debian project warned that CC-BY-SA-1.0 does not meet its
criteria for inclusion in the "free" section of the Debian distribution. (For
that, at least version 3.0 must be used.)

This new commit removes the doc license ambiguity by setting it to CC-BY-SA-3.0
in all places where the license is mentioned.

The exact spelling of the license name is taken from https://spdx.org/licenses/

Fixes: http://tracker.ceph.com/issues/23336
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-13 18:59:02 +01:00
Abhishek Lekshmanan d6175381b4 doc/README: mention about ARGS in do_cmake
Add an example on how to use ARGS to override cmake builds

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-01-10 18:11:20 +01:00
Yao Zongyou 18d17706bf doc: make the commands in README.md properly aligned
The commands in README.md are aligned using one tab or eight spaces,
the github markdown engine not handle this properly, so using one tab
universely.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-31 13:44:23 +08:00
Yan Jun bf7227b62a README.md: bump up cmake to 2.8.12
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-10-17 19:27:26 +08:00
Fabian Vogt 1a357143a2 README: Improve vstart.sh usage
Using long options where possible to make it easier to understand directly
and adding bluestore by default as it is the default storage backend.

Signed-off-by: Fabian Vogt <fvogt@suse.com>
2017-09-11 16:39:18 +02:00
Kefu Chai 472df1540a README: quote file names with "`"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-27 11:57:54 +08:00
Kefu Chai b973be63fe Merge pull request #14555 from yaozongyou/fix-readme-notconsistent
README.md: fix build instructions inconsistent.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-18 15:59:23 +08:00
Kefu Chai 472626b4ec README.md: use github heading syntax to mark the headings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-17 23:49:32 +08:00
Yao Zongyou 40f18d4cda Fix build instructions inconsistent.
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-04-14 20:56:16 +08:00
Dan Mick f81a47dbe3 README: hint at where to look to diagnose test failures
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-11-10 14:43:41 -08:00
Sage Weil 428b3b8d67 README.md: replace package build instructions with tarball instructions
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-23 14:22:21 -04:00
Ali Maredia af6e986100 cmake: Removed README.cmake.md, edited README.md
Deleted README.cmake.md and put any helpful
information it had into README.md.

Also a added note about which tests get executed
by ctest.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-06-30 18:07:58 -04:00
Sage Weil 09919ce683 README.md: update a few things
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-27 11:16:23 -07:00
Sage Weil 9bc6f6e614 README.md: fix whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-27 11:03:11 -07:00
Sage Weil 0d10262bfd README.md: note about builds (they are for development!)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-23 09:28:09 -04:00
Sage Weil 08c563424d README.md: drop autotools instructions
Never look back!

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-22 16:42:37 -04:00