dco¶

                                                                                
 Usage: lftools-uv dco [OPTIONS] COMMAND [ARGS]...                              
                                                                                
 Check repository for commits missing DCO.                                      
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ check   Check repository for commits missing DCO.                            │
│ match   Check for commits whose DCO does not match the commit author's       │
│         email.                                                               │
╰──────────────────────────────────────────────────────────────────────────────╯

Commands¶

check¶

                                                                                
 Usage: lftools-uv dco check [OPTIONS] [repo_path]                              
                                                                                
 Check repository for commits missing DCO.                                      
                                                                                
 This check will exclude merge commits and empty commits. It operates in your   
 current working directory which has to be a git repository.  Alternatively,    
 you can opt to pass in the path to a git repo.                                 
                                                                                
 By default, this will also check for DCO signoff files in a directory named    
 "dco_signoffs".  To check in a different directory, use the --signoffs option. 
 To ignore signoff files, an empty string can be passed.                        
                                                                                
 Refer to https://developercertificate.org/                                     
                                                                                
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│   repo_path      <str>  Path to git repository (defaults to current          │
│                         directory)                                           │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --signoffs        <str>  Specify a directory to check for DCO signoff text   │
│                          files                                               │
│                          [default: dco_signoffs]                             │
│ --help                   Show this message and exit.                         │
╰──────────────────────────────────────────────────────────────────────────────╯

Note

Check for exit status to determine if the DCO check passed.