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 2023/01/11 16:07:31 UTC
[GitHub] [daffodil-vscode] Shanedell opened a new pull request, #414: Node and Scala Package updates
Shanedell opened a new pull request, #414:
URL: https://github.com/apache/daffodil-vscode/pull/414
Node and Scala Package updates:
- Scala:
- sbt-native-packager 1.9.9 to 1.9.11.
- fs2-io 3.2.10 to 3.2.14.
- log4cats-slf4j 2.4.0 to 2.5.0.
- decline-effect 2.3.0 to 2.3.1.
- scalafmt-core 2.7.5 to 3.6.1.
- Updated .scalafmt.conf to use scala212 as the dialect.
- logback-classic 1.2.11 to 1.4.5.
- sbt-scalafmt 2.4.6 to 2.5.0.
- sbt-tpolecat 0.1.22 to 0.4.2.
- sbt 1.7.3 to 1.8.2.
- Removed sbt-json package as caused dependecy issues and was not completely necessary.
- Update build.sbt to get daffodilVersion using regex instead of json.
- Update formatting of scala and sbt files based on new scalafmt version.
- Node:
- uuid 8.3.2 to 9.0.0
- xdg-app-paths 7.3.0 to 8.2.0
- @types/glob 7.1.3 to 8.0.0
- @vscode/test-electron ^2.1.5 to 2.1.5, going to a higher version required node 16.
- vsce 2.9.2 to 2.15.0
- webpack 5.73.0 to 5.75.0
- Updated dependabot and scala-steward bots to only run once a month.
Closes #372
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] scholarsmate commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
scholarsmate commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067414289
##########
src/tests/runTest.ts:
##########
@@ -31,17 +30,10 @@ const DEFAULT_DAFFODIL_TEST_VSCODE_VERSION =
require('../../package.json').engines.vscode.replace('^', '')
async function main() {
- const {
- values: { disable_cert_verification },
- } = parseArgs({
- options: {
- disable_cert_verification: {
- type: 'boolean',
- short: 'k',
- default: false,
- },
- },
- })
+ var disable_cert_verification =
Review Comment:
I'm okay with this, but the value should be const, not var.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] scholarsmate commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
scholarsmate commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067415252
##########
src/tests/runTest.ts:
##########
@@ -18,7 +18,6 @@
// All tests ran here are ones that require the vscode API
import * as path from 'path'
import * as cp from 'child_process'
-import { parseArgs } from 'util'
Review Comment:
I like your change. We don't need a very powerful argument parser here (yet).
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] Shanedell commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
Shanedell commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067408877
##########
src/tests/runTest.ts:
##########
@@ -18,7 +18,6 @@
// All tests ran here are ones that require the vscode API
import * as path from 'path'
import * as cp from 'child_process'
-import { parseArgs } from 'util'
Review Comment:
This was added in node 19 thing (https://nodejs.org/api/util.html#utilparseargsconfig). The updated way should work for all nodejs versions. Not completely sure how the CI didn't fail because of this, wondering if yarn.lock didn't get fully updated correctly.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] Shanedell commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
Shanedell commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067418251
##########
src/tests/runTest.ts:
##########
@@ -18,7 +18,6 @@
// All tests ran here are ones that require the vscode API
import * as path from 'path'
import * as cp from 'child_process'
-import { parseArgs } from 'util'
Review Comment:
Yeah I mean if we need something more in depth later, it would possibly be best to do it ourselves.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] Shanedell commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
Shanedell commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067418251
##########
src/tests/runTest.ts:
##########
@@ -18,7 +18,6 @@
// All tests ran here are ones that require the vscode API
import * as path from 'path'
import * as cp from 'child_process'
-import { parseArgs } from 'util'
Review Comment:
Yeah I mean if we need something more in depth it would possibly be best to do it ourselves.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] scholarsmate commented on pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
scholarsmate commented on PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#issuecomment-1379470359
@stevedlawrence, can you review this PR when you get a chance? Thanks!
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] Shanedell commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
Shanedell commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067383663
##########
server/core/src/main/scala/org.apache.daffodil.debugger.dap/DAPodil.scala:
##########
@@ -173,7 +173,7 @@ class DAPodil(
case extract(Command.PAUSE, _) => pause(request)
case extract(Command.DISCONNECT, args: DisconnectArguments) => disconnect(request, args)
case extract(Command.EVALUATE, args: EvaluateArguments) => eval(request, args)
- case _ => Logger[IO].warn(show"unhandled request $request") *> session.sendResponse(request.respondFailure())
Review Comment:
The updated version of scalafmt says that is the proper formatting
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] scholarsmate commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
scholarsmate commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067377640
##########
server/core/src/main/scala/org.apache.daffodil.debugger.dap/DAPodil.scala:
##########
@@ -173,7 +173,7 @@ class DAPodil(
case extract(Command.PAUSE, _) => pause(request)
case extract(Command.DISCONNECT, args: DisconnectArguments) => disconnect(request, args)
case extract(Command.EVALUATE, args: EvaluateArguments) => eval(request, args)
- case _ => Logger[IO].warn(show"unhandled request $request") *> session.sendResponse(request.respondFailure())
Review Comment:
You probably want to keep the original formatting.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] scholarsmate commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
scholarsmate commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067417241
##########
server/core/src/main/scala/org.apache.daffodil.debugger.dap/DAPodil.scala:
##########
@@ -173,7 +173,7 @@ class DAPodil(
case extract(Command.PAUSE, _) => pause(request)
case extract(Command.DISCONNECT, args: DisconnectArguments) => disconnect(request, args)
case extract(Command.EVALUATE, args: EvaluateArguments) => eval(request, args)
- case _ => Logger[IO].warn(show"unhandled request $request") *> session.sendResponse(request.respondFailure())
Review Comment:
It also says to drive into a lake. Not a big deal. I'll allow it.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] arosien commented on pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
arosien commented on PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#issuecomment-1382459294
@Shanedell needs to be squashed to 1 commit, but otherwise 👍.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] scholarsmate commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
scholarsmate commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067376548
##########
project/Rat.scala:
##########
@@ -22,8 +22,8 @@ object Rat {
lazy val excludes = Seq(
// git files
file(".git"),
- /** Can't add license headers in JSON files.
- * Adding a license attribute breaks things in some of these fiels as well.
+ /** Can't add license headers in JSON files. Adding a license attribute breaks things in some of these fiels as
Review Comment:
fiels -> files
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] Shanedell commented on a diff in pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
Shanedell commented on code in PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414#discussion_r1067408877
##########
src/tests/runTest.ts:
##########
@@ -18,7 +18,6 @@
// All tests ran here are ones that require the vscode API
import * as path from 'path'
import * as cp from 'child_process'
-import { parseArgs } from 'util'
Review Comment:
This a node 19 thing only. The updated way should work for all nodejs version. Not completely sure how the CI didn't fail because of this, wondering if yarn.lock didn't get fully updated correctly.
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [daffodil-vscode] Shanedell merged pull request #414: Node and Scala Package updates
Posted by GitBox <gi...@apache.org>.
Shanedell merged PR #414:
URL: https://github.com/apache/daffodil-vscode/pull/414
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org