Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First steps to remove the Buck build system #6361

Merged
merged 3 commits into from
Apr 8, 2020

Conversation

Smjert
Copy link
Member

@Smjert Smjert commented Apr 2, 2020

As discussed here: #6305

This will:

  • Permit us to reduce some overhead when having to add new tables/features and have them to work with both build systems, especially since we don't have maintainers for Buck.

  • Permit us to simplify the CMake code, where we had to try to be as most similar to Buck as possible, but it wasn't how standard CMake would have been written.

  • In general avoid having to maintain too many different methods of dealing with third-party libraries

  • Free some Azure Pipelines jobs to be possibly used to test other Linux distro which have older kernels than Ubuntu (CentOS?).

@Smjert Smjert added build do not merge Do not merge PR as it's pending on some discussion or external factor. Reviewer should have context. labels Apr 2, 2020
@Smjert
Copy link
Member Author

Smjert commented Apr 2, 2020

This currently depends on #6359, otherwise the build will fail.

@Smjert Smjert force-pushed the stefano/build/remove-buck branch from 8beae79 to a2c9ce5 Compare April 2, 2020 22:27
groob
groob previously approved these changes Apr 3, 2020
Copy link
Member

@groob groob left a comment

Choose a reason for hiding this comment

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

Approving the Buck removal.

I skimmed the diff, but it's large and an expert on either build system. :)

zwass
zwass previously approved these changes Apr 3, 2020
Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

lgtm. Very exciting change!

muffins
muffins previously approved these changes Apr 3, 2020
Copy link
Contributor

@muffins muffins left a comment

Choose a reason for hiding this comment

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

Farewell, sweet prince

directionless
directionless previously approved these changes Apr 3, 2020
Copy link
Member

@directionless directionless left a comment

Choose a reason for hiding this comment

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

I'm generally in favor of fewer moving parts. And, as I said in #6305, I'm generally going to defer to @theopolis and @muffins on this. But it sounds like they're in favor.

alessandrogario
alessandrogario previously approved these changes Apr 3, 2020
@Smjert Smjert force-pushed the stefano/build/remove-buck branch from a2c9ce5 to c7262d4 Compare April 8, 2020 14:22
@Smjert Smjert removed the do not merge Do not merge PR as it's pending on some discussion or external factor. Reviewer should have context. label Apr 8, 2020
@Smjert
Copy link
Member Author

Smjert commented Apr 8, 2020

Thanks everyone!
I've rebased on latest master and made another small change to simplify and make the jobs names more consistent.

@Smjert Smjert merged commit 52f310a into osquery:master Apr 8, 2020
@Smjert Smjert deleted the stefano/build/remove-buck branch June 26, 2020 12:12
aikuchin pushed a commit to aikuchin/osquery that referenced this pull request Jul 11, 2023
… to master

* commit '8c13dd6bd206f2909a4baea5bcfbc91d5e3f502b': (159 commits)
  release: updating changelog for 4.3.0 release (osquery#6387)
  Build hvci_status table with CMake (osquery#6378)
  Change calls to debug log to verbose (osquery#6369)
  iokit: Fix race when accessing port_ (osquery#6380)
  Check extensions are registered with osquery core (osquery#6374)
  First steps to remove the Buck build system (osquery#6361)
  Return error detaching table, only use primary database (osquery#6373)
  Copy the parent environment when launching worker
  Change process table log errors to info and fix typo (osquery#6370)
  Ensure the extension uuid is never 0 (osquery#6377)
  Remove errors when converting empty numeric rows (osquery#6371)
  Do not force a specific path to install osquery on Windows (osquery#6379)
  Fix readFile API doing blocking I/O with a non-blocking handle (osquery#6368)
  magic: Check return from magic_file (osquery#6363)
  macos: Use -1 for missing ppid in process_events (osquery#6339)
  Update OpenSSL to version 1.1.1f and fix build (osquery#6359)
  Simplify how third party libraries formula work (osquery#6303)
  Add socket_events table for socket auditing in MacOS (osquery#6028)
  Extend the fields of curl_certificate table (osquery#6176)
  add status column to deb_packages table (osquery#6341)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants