AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

DeploymentRuleset: add matching logic for rules

Abierto
#830 0 comentarios 0 reacciones 0 asignados Ver en GitHub
deployment ruleset
Lenguaje dominante
Java
Estrellas
268
Forks
96
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Implement matching of rules according to https://docs.oracle.com/javase/10/deploy/deployment-rule-set.htm#GUID-413F29CF-81B5-4154-9C52-22D993819C2B

In the class `net.adoptopenjdk.icedteaweb.deploymentrules.Rule` there is a TODO in the method `matches`.

Please add the missing implementation and also include tests.

Inspiration can be drawn from the class `ParsedWhitelistEntry`

Decide how to react if a rule has any of the following elements or attributes set:
* title
* certificate
* checksum
* jnlp-checksum

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Read the TODO in net.adoptopenjdk.icedteaweb.deploymentrules.Rule.matches and compare its expected behavior with the Java deployment rule set specification. Use ParsedWhitelistEntry as the stated inspiration, then add tests covering matching and rules containing title, certificate, checksum, or jnlp-checksum; done means the missing logic is implemented and the tests pass.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
desktop
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.