You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "dragon512 (via GitHub)" <gi...@apache.org> on 2023/11/02 20:37:05 UTC

[PR] Update CMakeLists.txt [trafficserver]

dragon512 opened a new pull request, #10720:
URL: https://github.com/apache/trafficserver/pull/10720

   Allow plugin to build if required library exists


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "dragon512 (via GitHub)" <gi...@apache.org>.
dragon512 commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792595279

   @JosiahWI Please make sure when you make such change requests are you more exact in what you request. What is cmake-format?? I don't see this as a command on my system. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792789763

   [approve ci autest]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792712330

   [ci approve clang-format]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792710941

   We need to set up something similar to the clang-format hook for cmake-format. To document a workflow here:
   
   ```
   python3 -m pip install cmake-format
   cmake-format -i <path-to-CMakeLists.txt>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on code in PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#discussion_r1381948219


##########
plugins/experimental/maxmind_acl/CMakeLists.txt:
##########
@@ -14,11 +14,16 @@
 #  the License.
 #
 #######################
+find_package(maxminddb QUIET)

Review Comment:
   @traeak observed that `QUIET` silences the messages indicating the package was found. We probably don't want that. 
   ```cmake
   find_package(maxminddb)
   ```
   will keep the informational messages.
   
   We want to change this to an `auto_option` but we can change this and `stek_share` together in a separate PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "dragon512 (via GitHub)" <gi...@apache.org>.
dragon512 commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792900087

   [approve ci autest]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792714891

   [approve ci]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "dragon512 (via GitHub)" <gi...@apache.org>.
dragon512 commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792799413

   > We need to set up something similar to the clang-format hook for cmake-format. To document a workflow here:
   > 
   > ```
   > python3 -m pip install cmake-format
   > cmake-format -i <path-to-CMakeLists.txt>
   > ```
   
   I agree.. we have a pipenv file in test for testing.. we might want to consider having this file in the root as part of a better setup process.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1791541524

   [approve ci rocky]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "dragon512 (via GitHub)" <gi...@apache.org>.
dragon512 commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1796066147

   Closing PR.. will remake a new one with other tweaks as the better pattern is now known for us to use


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on code in PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#discussion_r1381948219


##########
plugins/experimental/maxmind_acl/CMakeLists.txt:
##########
@@ -14,11 +14,16 @@
 #  the License.
 #
 #######################
+find_package(maxminddb QUIET)

Review Comment:
   @traeak observed that `QUIET` silences the messages indicating the package was found. We probably don't want that. 
   ```cmake
   find_package(maxminddb)
   ```
   will keep the informational messages.
   
   We want to change this to an `auto_option` but we can change this and `stek_share` to use `auto_option` together in a separate PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on PR #10720:
URL: https://github.com/apache/trafficserver/pull/10720#issuecomment-1792713809

   [approve ci clang-format]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update CMakeLists.txt [trafficserver]

Posted by "dragon512 (via GitHub)" <gi...@apache.org>.
dragon512 closed pull request #10720: Update CMakeLists.txt
URL: https://github.com/apache/trafficserver/pull/10720


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org