Skip to content

Conversation

@fanquake
Copy link
Member

@fanquake fanquake commented Mar 23, 2022

Removes redundant notes for setting CC &CXX now that Clang is well and truly the base compiler. See: https://www.openbsd.org/70.html

Disabled base-gcc on amd64.

Cleans up the wallet docs, i.e #23446.

Make the notes more similar to the FreeBSD notes.

@fanquake fanquake added the Docs label Mar 23, 2022
Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

Copy link
Contributor

@jessebarton jessebarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK 33f946b

I like the idea of keeping consistency in the markdown across build docs.

@fanquake
Copy link
Member Author

@shaavan you might be interested in reviewing?

Copy link
Contributor

@shaavan shaavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

I like this rewriting of the OpenBSD documentation for the following reasons:

  1. It effectively uses the # tags to properly segregate subsections into logical units.
  2. Updates the example package versions to the latest one.
  3. Removes redundant information from wherever possible.
  4. Properly structure the documentation into a logical flow, from preparations to building specific wallet support.

I want to suggest some minor changes that might help improve this documentation.

  1. I think we should not be giving version numbers in examples as this might incur a maintenance burden on the documentation as time passes.

Removes redundant notes for setting CC & CXX now that Clang is well and
truly the base compiler.
Cleans up the wallet docs, i.e bitcoin#23446.
Make the notes more similar to FreeBSD.
@fanquake fanquake force-pushed the openbsd_wallet_doc_cleanupp branch from d7fd6cc to a2b56dc Compare March 28, 2022 12:50
@laanwj
Copy link
Member

laanwj commented Mar 30, 2022

Concept ACK.

Removes redundant notes for setting CC &CXX now that Clang is well and truly the base compiler.

Nice. I had in mind to do this as well for a while.

I think we should not be giving version numbers in examples as this might incur a maintenance burden on the documentation as time passes.

I agree in general. However not sure which version you're referring to exactly;

  • mentioning the OpenBSD version is pretty important; maybe not so much going forward, but there had to be significant changes for each release. So mentioning it gives some assurance that it's up to date, and the maintenance burden is there anyway.
  • automake/autoconf rarely have releases. It's some extra burden to track them, but on the other hand it's a lot easier to be able to copy/paste instead of having to check. Also, mentioning versions that work could be useful, there have been breaking changes to them for the BSDs in the past.

`sqlite3` is required to support [descriptor wallets](descriptors.md).

``` bash
pkg_add install sqlite3
Copy link
Member

@laanwj laanwj Mar 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having all the pkg_add under one section (split up into subsections for different needs) might be slightly more handy. Dunno. I usually like to do it at once (as root) when following the instructions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that having everything in a single line to copy-paste and install might be more convenient. I'm just following the existing docs, which seem to have everything split out into separate sections.

@fanquake
Copy link
Member Author

fanquake commented Apr 5, 2022

@shaavan want to take another look?

Copy link
Contributor

@shaavan shaavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a2b56dc

Changes since my last review:

  1. Removed the example version number from the pkg_add command and made subsequent minor changes.
  2. Reworded commands and comments under the Building Bitcoin core subheading.

Removing the example version made the code snippet relatively clean and concise while still making the user aware of installing the latest version.

I agree with the new rewording of the Building Bitcoin core code snippet section for the following reasons:

  1. It made the code snippet relatively brief, making it clear to understand.
  2. Though “major.minor only” seemed quite cryptic at first, the following code lines clarified what it meant, removing the need for redundant example comments.

@fanquake fanquake requested a review from theStack April 5, 2022 14:10
Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ACK a2b56dc

@fanquake fanquake merged commit f3e3563 into bitcoin:master Apr 6, 2022
@fanquake fanquake deleted the openbsd_wallet_doc_cleanupp branch April 6, 2022 09:27
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 6, 2022
@bitcoin bitcoin locked and limited conversation to collaborators Apr 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants