Package io.github.jbastgen.stemma.app.label


package io.github.jbastgen.stemma.app.label
Commit labels: the label definitions and assignments, suggestions from branch names and files, and estimating labels for many commits at once.
  • Class
    Description
    Guesses the labels of commits with the AI, one commit at a time: for each commit the prompt names the configured labels and shows the commit's message and changes, the answer is read strictly (only configured labels count), and the labels found are applied.
    Sends a prompt.
    One run over some commits.
    Reads message and changes of one commit; blocking.
    What a run did.
    A request that is under way: its answer, and a way to stop it.
    Called before each commit: how many are done, how many there are.
    Applies the labels (by id) to a commit.
    Suggests labels for the commit that is being made (features 25 and 28), without an AI: the type of the branch name (hotfix/ gives a label named Hotfix) and the kind of the files (only documentation gives Documentation, only tests gives Test).
    The label index: a text file that records which labels exist and which commits have which labels.
    A label that can be given to commits.
    The commit labels for the views: knows whether the feature is on, where the index file is (it follows the settings), and gives the labels of commits.