hermes.commands.process.cff

Module Contents

Functions

add_name(ctx, harvest_ctx)

Augment each author with a name attribute (if not present).

hermes.commands.process.cff.add_name(ctx: hermes.model.context.CodeMetaContext, harvest_ctx: hermes.model.context.HermesHarvestContext)

Augment each author with a name attribute (if not present).

This will allow better matching against the git authors and can be removed in a post-processing step.

Parameters
  • ctx – The resulting context that should contain the harmonized data.

  • harvest_ctx – The harvest context containing all raw harvested data.