You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/12/07 16:56:27 UTC

[GitHub] [trafficcontrol] villajo opened a new pull request, #7239: Update traffic_router.logrotate

villajo opened a new pull request, #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239

   Related: #6533
   
   This PR Is related to 6533, logrotate file for traffic router did not have an Apache license attached. 
   
   ## Which Traffic Control components are affected by this PR?
   
   - Traffic Router
   
   ## What is the best way to verify this PR?
   License added to /etc/logrotate.d/traffic_router
   
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->
   


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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


[GitHub] [trafficcontrol] srijeet0406 commented on a diff in pull request #7239: Update traffic_router.logrotate as well as Ansible block to copy file.

Posted by GitBox <gi...@apache.org>.
srijeet0406 commented on code in PR #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239#discussion_r1042561557


##########
.github/workflows/codeql.java.yml:
##########
@@ -37,6 +37,8 @@ jobs:
       RHEL_VERSION: rhel_version
       STARTUP_SCRIPT_DIR: /startup-dir
       STARTUP_SCRIPT_LOC: ../core/src/main/lib/systemd/system
+      LOGROTATE_SCRIPT_DIR: /etc/logrotate.d
+      LOGROTATE_SCRIPT_LOC: ./core/src/main/lib/logrotate

Review Comment:
   typo, needs to be `../core`, instead of `./core`



##########
.github/workflows/tr.tests.yaml:
##########
@@ -24,6 +24,8 @@ env:
   RHEL_VERSION: rhel_version
   STARTUP_SCRIPT_DIR: /startup-dir
   STARTUP_SCRIPT_LOC: ../core/src/main/lib/systemd/system
+  LOGROTATE_SCRIPT_DIR: /etc/logrotate.d
+  LOGROTATE_SCRIPT_LOC: ./core/src/main/lib/logrotate

Review Comment:
   Same



-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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


[GitHub] [trafficcontrol] villajo commented on pull request #7239: Update traffic_router.logrotate as well as Ansible block to copy file.

Posted by GitBox <gi...@apache.org>.
villajo commented on PR #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239#issuecomment-1341284114

   Added suggested change from Ash to copy file instead of creating file. 


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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


[GitHub] [trafficcontrol] villajo commented on a diff in pull request #7239: Update traffic_router.logrotate as well as Ansible block to copy file.

Posted by GitBox <gi...@apache.org>.
villajo commented on code in PR #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239#discussion_r1042561992


##########
.github/workflows/codeql.java.yml:
##########
@@ -37,6 +37,8 @@ jobs:
       RHEL_VERSION: rhel_version
       STARTUP_SCRIPT_DIR: /startup-dir
       STARTUP_SCRIPT_LOC: ../core/src/main/lib/systemd/system
+      LOGROTATE_SCRIPT_DIR: /etc/logrotate.d
+      LOGROTATE_SCRIPT_LOC: ./core/src/main/lib/logrotate

Review Comment:
   Ahh.. I see.. 



-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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


[GitHub] [trafficcontrol] ragen14 commented on pull request #7239: Update traffic_router.logrotate as well as Ansible block to copy file.

Posted by GitBox <gi...@apache.org>.
ragen14 commented on PR #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239#issuecomment-1341464936

   > Added suggested change from Ash to copy file instead of creating file.
   
   looks good


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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


[GitHub] [trafficcontrol] srijeet0406 merged pull request #7239: Update traffic_router.logrotate as well as Ansible block to copy file.

Posted by GitBox <gi...@apache.org>.
srijeet0406 merged PR #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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


[GitHub] [trafficcontrol] codecov[bot] commented on pull request #7239: Update traffic_router.logrotate as well as Ansible block to copy file.

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #7239:
URL: https://github.com/apache/trafficcontrol/pull/7239#issuecomment-1341428385

   # [Codecov](https://codecov.io/gh/apache/trafficcontrol/pull/7239?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#7239](https://codecov.io/gh/apache/trafficcontrol/pull/7239?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (8ba7051) into [master](https://codecov.io/gh/apache/trafficcontrol/commit/9bb5ad527b9c3e3dfcce86cd9bab478431d3e1d2?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (9bb5ad5) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   ```diff
   @@            Coverage Diff            @@
   ##             master    #7239   +/-   ##
   =========================================
     Coverage     28.36%   28.36%           
     Complexity       98       98           
   =========================================
     Files           617      617           
     Lines         69195    69195           
     Branches         90       90           
   =========================================
     Hits          19624    19624           
     Misses        47760    47760           
     Partials       1811     1811           
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | traffic_router_unit | `29.03% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

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