Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947628 - app-eselect/eselect-repository: doesn't handle "." correctly
Summary: app-eselect/eselect-repository: doesn't handle "." correctly
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-06 19:26 UTC by Amit Ugol
Modified: 2025-01-06 19:28 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 Amit Ugol 2025-01-06 19:26:06 UTC
Created repo 'pytorch-roc-6.3' results in this error:
!!! Section 'pytorch-roc-6.3' in repos.conf has name different from repository name 'pytorch-roc-6-3' set inside repository

Reproducible: Always

Steps to Reproduce:
1. eselect repository create pytorch-roc-6.3
2. sync
3.
Actual Results:  
!!! Section 'pytorch-roc-6.3' in repos.conf has name different from repository name 'pytorch-roc-6-3' set inside repository

Expected Results:  
pytorch-roc-6-3 should be pytorch-roc-6.3 (or limit certain chars?)

cat /etc/portage/repos.conf/eselect-repo.conf
.
.
.

[pytorch-roc-6.3]
location = /var/db/repos/pytorch-roc-6.3

;;;

cat /var/db/repos/pytorch-roc-6.3/profiles/repo_name
pytorch-roc-6.3
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-06 19:28:43 UTC
I think we should emit some nice message but it's clearly not a reasonable repository name. It should be 'pytorch', 'local', 'amit' or something.