LU-16502 python: improve support for virtual environments Python virutal environments make it easy to install the correct Python packages isolated from the rest of the system. https://docs.python.org/3/library/venv.html .venv is added to .gitignore and a simple virtual environment example has been added to the README. This patch collects all of the requirements for various scripts in the Lustre tree and consolidates them in a top level requirements.txt. lu_object.py spacing was fixed due to parsing errors. Test-Parameters: trivial Signed-off-by: Timothy Day <timday@amazon.com> Change-Id: I69d074e9ba50022817bd243fb82d004366ab6adf Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53209 Tested-by: jenkins <devops@whamcloud.com> Tested-by: Maloo <maloo@whamcloud.com> Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com> Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-930 doc: add static analysis documentation Add more documentation about Clang/LLVM and other static analysis tools for Lustre. This will make it easier for other developers to try out various tools. It will also serve as a place to record best practices and experiences. Hopefully, this will increase awareness and usage of these various tools and improve the Lustre codebase as a result. This patch also has a few other small doc updates. Test-Parameters: trivial Signed-off-by: Timothy Day <timday@amazon.com> Change-Id: I4bd860775729aaa4ef1ae1cc2cceb6435f3affdd Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52186 Tested-by: jenkins <devops@whamcloud.com> Tested-by: Maloo <maloo@whamcloud.com> Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-17058 build: add help and checkpatch as make targets Add `make help` to print out available make targets. The output is styled after the Linux kernel `make help`. Add `make checkpatch` to run checkpatch.pl script against most recent commit. Update README to mention `make help`. Test-Parameters: trivial Signed-off-by: Timothy Day <timday@amazon.com> Change-Id: I65ce84040502994ae7caa0c8b72d808442f6b79e Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52142 Tested-by: jenkins <devops@whamcloud.com> Tested-by: Maloo <maloo@whamcloud.com> Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com> Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-16751 docs: consolidate and cleanup READMEs A number of the in-tree READMEs are very outdated. Consolidating these into the top-level README will make it more likely that the infomation is read (since this file gets rendered by many git hosts) and more likely to be keep up-to-date. The information in the consolidated README has been updated. Some docs which don't seem relevant anymore are simply deleted. The llverfs.txt doc has been converted to a proper man page. The descriptive comment in llverfs.c has been redirected towards the man page instead, to reduce the risk of these becoming out-of-sync. Test-Parameters: trivial Signed-off-by: Timothy Day <timday@amazon.com> Change-Id: I57a6f13056913551d96363ffdbce76beed5c9486 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50703 Tested-by: jenkins <devops@whamcloud.com> Tested-by: Maloo <maloo@whamcloud.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-930 misc: update URLs in README Update the URLs in the README file to reference the pages at https://wiki.lustre.org/ instead of the WC pages. Test-Parameters: trivial Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Change-Id: I209956b74c19e8b1fd1c0f6d93b8b217073ebbe5 Reviewed-on: https://review.whamcloud.com/38985 Tested-by: jenkins <devops@whamcloud.com> Tested-by: Maloo <maloo@whamcloud.com> Reviewed-by: Peter Jones <pjones@whamcloud.com> Reviewed-by: Emoly Liu <emoly@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-11304 misc: update all url links to whamcloud Even old links could redirect to whamcloud automatically, We'd better update to use new whamcloud links to avoid any further confusions. Test-parameters: trivial Change-Id: Ida7161a062d822141bf0c1fdf20b2098a21ea9e7 Signed-off-by: Wang Shilong <wshilong@ddn.com> Reviewed-on: https://review.whamcloud.com/33094 Reviewed-by: Peter Jones <pjones@whamcloud.com> Tested-by: Jenkins Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Tested-by: Maloo <hpdd-maloo@intel.com>
LU-930 misc: update README path to git hooks Update the README file so that the paths given to the git hooks stored in contrib are current. Signed-off-by: Olaf Faaland <faaland1@llnl.gov> Change-Id: If864751d88ad54de629a1cda9d1ba6f2089ecd69 Reviewed-on: http://review.whamcloud.com/13428 Tested-by: Jenkins Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
LU-3434 build: disable automatic Git hook install Don't automatically install the Git commit hooks for checking code and commit message style into .git/hooks/{prepare-,}commit-msg. This should be done manually by the developer and/or checked when the patch is pushed to Gerrit. Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Change-Id: Ie44be3baa5f04eb71a3d7f76556c455fd5fa7052 Reviewed-on: http://review.whamcloud.com/7046 Reviewed-by: Ned Bass <bass6@llnl.gov> Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Christopher J. Morrone <chris.morrone.llnl@gmail.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-553 build: Lustre style commit hooks for Git Adds recommended commit hooks for Lustre commit messages, that can/should be installed into lustre/.git/hooks for all Lustre trees. prepare-commit-msg: adds the output of checkpatch.pl as a comment to the commit message, to "soft" validate the new patch is matching the Lustre coding style. It doesn't check 100% of the Lustre coding style, but at least finds most of the obvious errors so that they can be fixed locally before any manual inspection time is spent on the patch. commit-msg: verifies the format of the commit message (somewhat). Checks that there is a valid-looking Signed-off-by: line. Adds the Gerrit Change-Id: line for change tracking. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Change-Id: I35fdfb8206d1f0efb3bb401522e8412c62b7c02a Reviewed-on: http://review.whamcloud.com/1296 Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
Branch HEAD Another test commit to ensure cvs is back to normal.
Branch HEAD Test commit to ensure cvs is back to normal.
Updated content to point to valid wiki page.
i=scjody
Move portals into its own CVS module for HEAD.
blah blah blah