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

Bug 489544

Summary: Add sync-type 'none' to disable sync
Product: Portage Development Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: alonbl
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484436    

Description Alon Bar-Lev (RETIRED) gentoo-dev 2013-10-27 08:48:17 UTC
Currently only git, cvs, rsync are accepted while disable is impossible.

Adding 'none' as value works, but issues warning...

Please consider accepting the 'none' atom.

Thanks!
Comment 1 Arfrever Frehtes Taifersar Arahesis 2013-10-27 22:06:43 UTC
Use:
sync-type =
sync-uri =
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2013-10-27 22:21:18 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> Use:
> sync-type =
> sync-uri =

Thanks!
That's working, I did not set sync-uri to empty.
So either document this, or accept 'none' type or similar?
Comment 3 Arfrever Frehtes Taifersar Arahesis 2013-12-03 15:29:19 UTC
Usage of empty value is consistent with other variables.

I have updated documentation:
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=cea8f3ebe590663b01437d7906af7f5cc05085f9
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2013-12-03 15:31:42 UTC
Thanks!
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2014-01-06 00:40:14 UTC
Released in sys-apps/portage-2.2.8.