Skip to content

fix documentation inconsistency - #7971

Merged
poshul merged 2 commits into
OpenMS:developfrom
Son-0f-Anton:develop
May 8, 2025
Merged

poshul merged 2 commits into
OpenMS:developfrom
Son-0f-Anton:develop

Conversation

@Son-0f-Anton

@Son-0f-Anton Son-0f-Anton commented Apr 6, 2025 •

Copy link
Copy Markdown
Contributor

Description

I noticed an inconsistency in the OpenMS build documentation for GNU/Linux.

The documentation currently instructs users to add:

export LD_LIBRARY_PATH="/PATH/TO/OpenMS/lib:$LD_LIBRARY_PATH"

to their .bashrc file. However, when following the build instructions, the binaries are actually located in the OpenMS-build directory, not the source directory.

This PR changes the path in the documentation from "OpenMS" to "OpenMS-build" to correctly reflect where the libraries are located when following the standard build instructions. This change should prevent confusion for new users.

I verified this fix by exporting the environment variables with the path to the build directory, and all tests passed.

Checklist

  • Make sure that you are listed in the AUTHORS file
  • Add relevant changes and new features to the CHANGELOG file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

How can I get additional information on failed tests during CI

Click to expand If your PR is failing you can check out

Advanced commands (admins / reviewer only)

Click to expand
  • /reformat (experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.
  • setting the label "NoJenkins" will skip tests for this PR on jenkins (saves resources e.g., on edits that do not affect tests)
  • commenting with rebuild jenkins will retrigger Jenkins-based CI builds

⚠️ Note: Once you opened a PR try to minimize the number of pushes to it as every push will trigger CI (automated builds and test) and is rather heavy on our infrastructure (e.g., if several pushes per day are performed).

Summary by CodeRabbit

  • Documentation
    • Updated environment setup instructions to reflect new paths for the library and binaries.
    • Added clarification for users specifying a custom installation prefix to ensure proper configuration.

@coderabbitai

coderabbitai Bot commented Apr 6, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

The documentation for Linux installation has been updated. The OpenMS paths have been modified from /PATH/TO/OpenMS/lib/ and /PATH/TO/OpenMS/bin/ to /PATH/TO/OpenMS-build/lib/ and /PATH/TO/OpenMS-build/bin/. Additionally, instructions now clarify that if a custom install prefix was used, that specific path should be applied when exporting the LD_LIBRARY_PATH and PATH environment variables.

Changes

File Change Summary
doc/doxygen/install/install-linux.doxygen Updated OpenMS installation paths to use /PATH/TO/OpenMS-build/lib/ and /PATH/TO/OpenMS-build/bin/ and added clarification regarding custom prefixes.

Suggested labels

Review effort 1/5

Suggested reviewers

  • jpfeuffer

Poem

I'm a rabbit on a code adventure,
Hopping through docs both neat and tight,
Paths updated in a clever venture,
Each detail now shines bright in the night.
With whiskers twitching in pure delight,
I celebrate these changes with a joyful bite! 🐇

Tip

⚡️ Faster reviews with caching
  • CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.

Enjoy the performance boost—your workflow just got faster.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 900481d and b23565a.

📒 Files selected for processing (1)
  • doc/doxygen/install/install-linux.doxygen (2 hunks)
✅ Files skipped from review due to trivial changes (1)
  • doc/doxygen/install/install-linux.doxygen

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@jpfeuffer

jpfeuffer commented Apr 6, 2025 •

Copy link
Copy Markdown
Contributor

I don't think the default install folder name is called OpenMS-build.

Edit: ok this is for building? Then why is it mixed with install instructions?

@jpfeuffer

jpfeuffer commented Apr 6, 2025 •

Copy link
Copy Markdown
Contributor

Not your fault but I think this section mixes up building and installing and should be completely rewritten.

@jpfeuffer

Copy link
Copy Markdown
Contributor

I guess we could merge this but I don't think people should do this at all.
Either you are a developer and work directly out of the build folder (not recommended to use temporary build artifacts for anything but developing; certainly not adding them to global system paths like LD_LIBRARY_PATH or PATH)
Or you want to install OpenMS for using the tools or developing against it. Then use make install. If you want to install globally (default) it will be automatically in the paths. If not you should make sure that whatever you are developing, will find OpenMS. Even here I would not recommend changing your LD_LIBRARY_PATH!

@Son-0f-Anton

Copy link
Copy Markdown
Contributor Author

Thanks for the clarification! That makes sense, and I was also a bit confused by the build and usage steps on the Linux build page:
https://abibuilder.cs.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/install_linux.html
I think the confusion is because there's a jump between finishing the build and the usage section. Maybe it would help to add a section right after the build process that specifically covers installing the software (e.g., using make install)?
This could clarify the step between building and actually using it. If adding an installation section sounds good, I can take a shot at drafting it

@poshul
poshul enabled auto-merge (squash) May 8, 2025 08:33
@poshul
poshul merged commit 019a868 into OpenMS:develop May 8, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants