Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612572 - plus sign in repo_name is ignored with no error or explanation
Summary: plus sign in repo_name is ignored with no error or explanation
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 04:22 UTC by Semen Panevin
Modified: 2017-03-14 05:24 UTC (History)
0 users

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 Semen Panevin 2017-03-14 04:22:04 UTC
server profiles # emerge -upvDN --with-bdeps=y @world
!!! Section 'golded+' in repos.conf has name different from repository name 'golded' set inside repository

but profiles/repo_name is exactly "golded+"

https://wiki.gentoo.org/wiki/Repository_format/profiles/repo_name here is no limitation on supported characters or any escaping.

server profiles # emerge -pv portage
!!! Section 'golded+' in repos.conf has name different from repository name 'golded' set inside repository

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/portage-2.3.3::gentoo  USE="(ipc) native-extensions (xattr) -build -doc -epydoc (-selinux)" LINGUAS="ru" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-python3_5) (-python3_6)" 0 KiB

BTW, there is no 2.3 version in bugreport form, so it's specified as "unspecified"...
Comment 1 Semen Panevin 2017-03-14 04:26:53 UTC
Actually, anything starting from + is ignored. golded+, golded+plus - both are treat as golded...
Comment 2 Zac Medico gentoo-dev 2017-03-14 04:51:13 UTC
According to PMS, [A-Za-z0-9_-] is the set of allowed characters:

https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-260003.1.5
Comment 3 Semen Panevin 2017-03-14 05:07:45 UTC
(In reply to Zac Medico from comment #2)
> According to PMS, [A-Za-z0-9_-] is the set of allowed characters:
> 
> https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-260003.1.5

Have you tried to find/google this information if you don't know where exactly it is? It's almost impossible. So I still think that there is a bug, error message should be completely different and it should say about unsupported characters in repo_name instead of eating a half of a string with no explanation.
Same thing for wiki page mentioned in a bug description, it should refer to a corresponding documentation or contain better description since it's the first page which google returns when you try to search for this issue.