Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552556 - >=sys-apps/portage-2.2.16 emaint sync ignores sync-uri from repos.d/gentoo.conf for websync/webrsync type
Summary: >=sys-apps/portage-2.2.16 emaint sync ignores sync-uri from repos.d/gentoo.co...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Portage team
URL: https://gitweb.gentoo.org/proj/gentoo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-19 13:13 UTC by Maros Zubko
Modified: 2018-02-25 09:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maros Zubko 2015-06-19 13:13:33 UTC
When using new portage configuration layout related to repositories:

/etc/portage/repos.d/*.conf instead of /etc/portage/make.conf

when one set the sync-type to websync the following sync-uri attribute is ignored.

Both "emerge-webrsync" and "emaint sync -a" still using old GENTOO_MIRRORS variable from make.conf instead of "sync-uri" from repos.d directory.

I dont know if it works as designed or if it's a bug, but I think/hope the newly announced way of configuring the repositories sync is meant to keep all relevant configuration on one place and I don't see why websync should be an exception.
Comment 1 Zac Medico gentoo-dev 2015-06-21 02:35:42 UTC
(In reply to Maros Zubko from comment #0)
> When using new portage configuration layout related to repositories:
> 
> /etc/portage/repos.d/*.conf instead of /etc/portage/make.conf

The news item refers to /etc/portage/repos.conf/* (not /etc/portage/repos.d/*.conf).

> when one set the sync-type to websync the following sync-uri attribute is
> ignored.

Maybe the problem is simply that you have your files in the wrong directory?
Comment 2 Maros Zubko 2015-06-21 07:23:35 UTC
I put mistakenly wrong directory name in the Bug description, but in reality I'm using for sure /etc/portage/repos.conf/gentoo.conf file.

"sync-type" directive is taked into consideration correctly when I use "emaint sync", but "sync-uri" placed in the same file is ignored when "sync-type = websync".

On the other hand when using "sync-type = rsync", then "sync-uri" is used correctly.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-06-21 08:21:25 UTC
with sync-type = websync or webrsync, it is still using the original emerge-webrsync command.  It uses the mirror system which is configured in make.conf, so, yes, it does ignore the sync-uri so far.

If you recall or look at the instructions for the emerge-webrsync setup.  It states to leave the sync-type and sync-uri fields empty.  To use it with teh webrsync module, you of course must fill in sync-type.

The future plan is to re-write the emerge-webrsync command into a native python sync module.  Currently it is just a wrapper which runs the emerge-webrsync command.