You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2019/12/13 15:11:28 UTC

[GitHub] [incubator-daffodil] stevedlawrence commented on a change in pull request #302: Remove GitHub Actions linux dependency step

stevedlawrence commented on a change in pull request #302: Remove GitHub Actions linux dependency step
URL: https://github.com/apache/incubator-daffodil/pull/302#discussion_r357690373
 
 

 ##########
 File path: .github/workflows/main.yml
 ##########
 @@ -36,15 +36,6 @@ jobs:
       - name: Checkout Repository
         uses: actions/checkout@v1.0.0
 
-      - name: Install Dependencies (Linux)
-        run: |
-          echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
-          sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
-          sudo apt-get -y update
 
 Review comment:
   Good question. I could see an argument both for and against this. Argument for is we probably do always want to test with the latest version of dependencies. Argument against is that random repo updates could break things (like what led to this PR).
   
   In practice, I'm not sure package updates really matters. Thisis because the only dependnecies Daffodil really has to the system are SBT, RPM, and Java. All other dependiecies come from maven with explicit versions.
   
   For SBT, our build.properties specifies the version to use and SBT autodownloads it. So it doesn't really matter what's on the system as long as it's newer than some really old version.
   
   For RPM, RPM is really good about not breaking backwards compatbility, so we should be fine even if we're using a slightly older version. Newer versions would still work if someone used them.
   
   And for Java, our GitHub actions workflow explicitly states to use the latest version of Java. That's not effected by an apt update.
   
   So I don't think an apt-update would ever really effect our builds, except for breaking them when microsoft breaks their repo. If we ever do start depending on anything on the system, then we probably do want to think about adding this back, but as it is right now, I don't think it's neccessary, and potentially leads to errors.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services