RFR: 755: Anything starting with a "/" is treated as a command [v2]
Erik Joelsson
erikj at openjdk.org
Tue Feb 28 21:35:37 UTC 2023
On Tue, 28 Feb 2023 17:06:35 GMT, Vijay Kulkarni <duke at openjdk.org> wrote:
>> 755: Anything starting with a "/" is treated as a command
>
> Vijay Kulkarni has updated the pull request incrementally with one additional commit since the last revision:
>
> 755:unified the regex for archive and execution command. Bot should react to invalid sakra commands
bots/mlbridge/build.gradle line 50:
> 48: implementation project(':metrics')
> 49: implementation project(':bots:common')
> 50: implementation project(path: ':jbs')
What does the `path:` prefix mean here? If it's not significant, better stay with the same pattern as the other dependencies.
bots/mlbridge/src/main/java/module-info.java line 35:
> 33: requires org.openjdk.skara.network;
> 34: requires org.openjdk.skara.version;
> 35: requires org.openjdk.skara.jbs;
Do we really require jbs now?
bots/pr/src/main/java/org/openjdk/skara/bots/pr/CommitCommandWorkItem.java line 118:
> 116: `/{0}` is not a recognized Skara PR command, so it was ignored and treated like an ordinary comment.
> 117: If you intended to issue a Skara command, use `/help` in a comment to see a complete list of Skara commands.
> 118: """, command.name()));
Since we are keeping the mail filtering rules the same as command execution, I don't think we should change this message.
bots/pr/src/main/java/org/openjdk/skara/bots/pr/PullRequestCommandWorkItem.java line 172:
> 170: `/{0}` is not a recognized Skara PR command, so it was ignored and treated like an ordinary comment
> 171: If you intended to issue a Skara command, use `/help` in a comment to see a complete list of Skara commands.
> 172: """, command.name()));
Same here, keep the message as is.
-------------
PR: https://git.openjdk.org/skara/pull/1479
More information about the skara-dev
mailing list