Skip to main content

Issues and planning

How defects and features are reported, labelled, planned and closed across the Openflexo repositories. It applies to every repository of the openflexo-team organisation.

Where things live​

WhatWhereRole
An issuethe GitHub repository of the component concernedthe single record of a defect or a feature, with its discussion
The planning boardthe organisation Project OpenFlexoone view over the issues of all repositories: status, priority, size, target
Shared templates, labels and contribution guidethe repository .githubwhat every repository inherits
A rough idea not tied to a repositorya draft issue in the Projectconverted into a real issue once it matures

An issue belongs to exactly one repository: report it where the problem lives (openflexo-core for the FML language and the platform, pamela, gina, a technology adapter…). If you are unsure, choose the closest one; it can be transferred afterwards.

Reporting an issue​

Open New issue in the repository and pick a form:

  • Defect — what happens and what you expected, how to reproduce it (steps, an FML script or a test), the version or branch, and a workaround if you know one.
  • Feature or evolution — the problem to solve, the options you considered, and what would make it done.

Blank issues are disabled so that every report carries this minimum. A defect that a script or a test reproduces is far quicker to fix: attach it.

Identifiers​

Defects and features that the team tracks carry an identifier in their title, <PREFIX>-D-<n>: summary for a defect and <PREFIX>-F-<n>: summary for a feature, where the prefix is short and specific to the component (CORE for openflexo-core, PAMELA for pamela…). The identifier is stable and never reused; commits and other issues refer to it. A report from outside the team does not need one: the maintainers add it when they take the issue in.

Labels​

Every repository has the same set of labels. They describe the issue; the Project describes its planning.

FamilyLabelsMeaning
Typebug, enhancement, refactoring, question, breaking-change, dependencies, workaroundthe nature of the issue
Areaarea:fml, parser, persistence, resources, ui, gina, technology-adapter, build-ci, localization, docsthe part of the platform concerned
Reproductionrepro:confirmed, repro:not-reproduced, repro:scriptwhether the defect was reproduced, and whether a script or a test does it
Statestatus:in-progress, status:blocked, status:deferred, status:needs-infowork has started, waits for something, is postponed, or lacks information
Resolutionresolved:fixed-in-3.0, resolved:obsolete, duplicate, wontfix, invalidwhy a closed issue was closed
Meetingsto-be-discussedto be taken up at the next development planning meeting
Welcomegood first issue, help wantedsmall, well delimited, reproducible — a good way to start

An issue with no status:* label is simply waiting to be taken in (To do).

The planning Project​

The Project OpenFlexo gathers the open issues of all the repositories, and the closed ones that were fixed in 3.0. Its fields:

FieldValuesSet by
StatusTo do, In Progress, Blocked, Deferred, Needs info, Donederived from the status:* label; Done when the issue is closed
PriorityHigh, Medium, Lowthe maintainers
SizeS, M, L, XLthe maintainers
Target3.0, 3.1, Laterthe maintainers
Label of the issueStatus in the Project
none of the status:* labelsTo do
status:in-progressIn Progress
status:blockedBlocked
status:deferredDeferred
status:needs-infoNeeds info
the issue is closedDone

The Project has a board plus saved views that filter on labels: issues still to reproduce (repro:not-reproduced), the others, and good first issue for newcomers. A view for to-be-discussed serves the planning meetings.

The Project is brought in line with the repositories on demand, not continuously: a new issue appears in it the next time the maintainers synchronise it, or when someone adds it by hand. The label stays the reference for the state of an issue, the Project the reference for its priority, size and target.

From the issue to the fix​

  1. Triage. A maintainer checks that the issue is clear, reproduces it when it is a defect (repro:*), and adds the area and, if needed, status:needs-info.
  2. Planning. The issue is given a priority, a size and a target in the Project. Something that needs a decision is labelled to-be-discussed and settled at the planning meeting.
  3. Work. Fork the repository, create a branch (bugfix/<short-name> or feature/<short-name>), write or update a test that fails without the change, then fix. Mark the issue status:in-progress.
  4. Commit. The subject is LEVEL / <ID>: summary, where LEVEL is LOW, MEDIUM or IMPORTANT according to the weight of the change, e.g. MEDIUM / CORE-D-45: validating a VirtualModel does not mark it modified. Lines are wrapped at 70 columns.
  5. Pull request. Describe the change, mention Fixes #<number> so that the issue closes with the merge, and say how it was tested.
  6. Closing. Closing the issue moves it to Done. A fix released in 3.0 carries resolved:fixed-in-3.0; an issue closed without a fix carries the label that says why (duplicate, wontfix, invalid, resolved:obsolete).

Adding to the shared set​

A label, a template or a section of this guide that every repository should have is added in the repository .github: issue forms are inherited by every repository without forms of its own. Labels are not inherited by GitHub: after a label is added to the reference list, the maintainers create it in each repository (a script reads the list and creates what is missing, without deleting anything).