Skip to content

Conversation

@Fuzzbawls
Copy link
Collaborator

@Fuzzbawls Fuzzbawls commented Feb 7, 2022

This brings in the lint-includes.sh shell script from upstream (first introduced in bitcoin#11878) to automatically check for duplicate includes and expanded in bitcoin#13301 and bitcoin#13385 to check for the inclusion of .cpp files and the introduction of new boost includes, respectively.

The check for enforcing bracket include syntax (bitcoin#13230) is also included, but currently disabled, as we have yet to systematically switch to that syntax preference.

Three other upstream PRs are backported here as they are directly related to the removal of some boost dependencies and are very straight forward:

NOTE: #2711 removes the dependency on boost/tuple/tuple.hpp, so it makes sense to merge that first. submitting this now so the general concept/functionality can be reviewed prior to that PR being merged

random-zebra
random-zebra previously approved these changes Feb 7, 2022
Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

ACK 5df485e45027b8a7e69ca34579c099e3c9143681

Fuzzbawls and others added 6 commits February 7, 2022 09:43
Rather than including the implementation file into the test,
which is bad practice.
Instead of throwing boost::lexical_cast<double>()
instead of boost::random::{mt19937,uniform_int_distribution}
linter to test for duplicate includes, including of `.cpp` files, and
introductions/removals of Boost modules.
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

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

good ACK ad5717d

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

utACK ad5717d and merging...

@random-zebra random-zebra merged commit 0e757ad into PIVX-Project:master Feb 9, 2022
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.5.0 Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants