Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 568830

Summary: sys-apps/portage-2.2.26: "emaint sync" complains: module 'sync' does not have option '--check'
Product: Portage Development Reporter: Sebastian Pipping <sping>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: gentoo_bugs.nu_q5v, prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Pipping gentoo-dev 2015-12-19 20:31:20 UTC
The output

  # sudo emaint sync 

  ERROR: module 'sync' does not have option '--check'

  [..]

is surprising to me since the command line does not contain "--check".  Looks like a UI bug to me.

Best, Sebastian
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2015-12-29 20:37:28 UTC
The --check auto-option was historical, before my plugin re-write and subsequent addition of modules that do not have the --check option.  Historically all the modules did have a --check option, so if one wasn't passed on the cli, --check was added unconditionally.

I'm not sure what to do about this to be honest.

Do we nuke the auto-option or enforce all modules have at least a --check option.

In the case of sync, do we make it return the last sync time maybe?  if so what about the vcs types without a timestamp.chk file?