Calebotomy

SYNC_METHOD

I’m going to be pushing out an new feature to portage today, since testing has gone well.

SYNC_METHOD is a new portage variable, I’ve also gone to the trouble of defining it in make.globals. The default for Regen2. is git, however, rsync and cvs have also been defined although not tested.

the main benefit of SYNC_METHOD is to use one way of detecting the program you should use to detect the tree. previous variations were problematic, as rsync does not have a directory like .git and .git supports the rsync:// protocol.

I’ve added these defaults to make.globals

# Default sync method
SYNC_METHOD=“git”

# Default sync mirror
SYNC=“git://github.com/regen2/portage.git”

# default git method specific settings
PORTAGE_GIT_METHOD=“checkout”
PORTAGE_GIT_REMOTE=“origin/regen2.org”

you may of course override them with make.conf.

changes will officially be in portage-2.2_rc23-r3.


Share

comments powered by Disqus