HomeSoftware Heritage

Improve validation of --author and --name.

Authored by vlorentz on Dec 18 2019, 6:56 PM.

Description

Improve validation of --author and --name.

Mostly, the code used to allow having either --author or --name,
while it should use either both (when generating metadata) or
neither (when using a metadata file).

This code fixes this, and also catches some more invalid cases.

Details

Committed
vlorentzDec 19 2019, 3:01 PM
Pushed
vlorentzDec 19 2019, 3:11 PM
Differential Revision
D2470: Improve validation of --author and --name.
Parents
rDDEP05be3e60fa59: Clean temporary file handling for metadata generation, and add test.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9899
Build 14617: test-and-buildJenkins