apache / apache/lucene

nighly build should regen all gen'd sources [LUCENE-2291]

Open
#3,367 1 comment 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major tool:build type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Just opening an issue to track this (idea was spun out of LUCENE-2285)... I don't have time to work on it now...

We have a number of sources that are generated (eg using tools like JFlex, JavaCC.

I think we should strive to have the nightly build recreate these files, if possible. This would help us catch mistakes more quickly, eg where we accidentally make a fix to the generated file.

We'd have to get jflex/javacc/etc. installed onto lucene.zones to do this (not sure if they are already).

---
Migrated from [LUCENE-2291](https://issues.apache.org/jira/browse/LUCENE-2291) by Michael McCandless (@mikemccand), updated May 04 2010

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the nightly build configuration and checking whether JFlex and JavaCC are installed on lucene.zones. Determine which generated sources must be recreated and how the build should detect differences; done means the nightly build regenerates all applicable sources and catches unintended edits to generated files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.