* [gentoo-portage-dev] Support for per-repository per-attribute environmental variables
@ 2014-12-09 0:33 Arfrever Frehtes Taifersar Arahesis
2014-12-09 8:51 ` Alexander Berntsen
0 siblings, 1 reply; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2014-12-09 0:33 UTC (permalink / raw
To: Gentoo Portage Development
[-- Attachment #1: Type: Text/Plain, Size: 946 bytes --]
I suggest to add support for per-repository per-attribute environmental variables in Portage.
These variables would be used when PORTAGE_REPOSITORIES is not set.
Example of setting of them by user and detection of them by Portage:
$ env \
> PORTAGE_REPOSITORY:gentoo:location=/var/db/repositories/gentoo-cvs \
> PORTAGE_REPOSITORY:gentoo:sync-type=cvs \
> PORTAGE_REPOSITORY:gentoo:sync-uri=:pserver:anonymous@anoncvs.gentoo.org:/var/cvsroot \
> python -c 'import os, pprint; pprint.pprint([x for x in os.environ.items() if x[0].startswith("PORTAGE_REPOSITORY:")])'
[('PORTAGE_REPOSITORY:gentoo:sync-type', 'cvs'),
('PORTAGE_REPOSITORY:gentoo:location', '/var/db/repositories/gentoo-cvs'),
('PORTAGE_REPOSITORY:gentoo:sync-uri',
':pserver:anonymous@anoncvs.gentoo.org:/var/cvsroot')]
A separator between components of names of these variables cannot be any character valid in names of repositories.
--
Arfrever Frehtes Taifersar Arahesis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-portage-dev] Support for per-repository per-attribute environmental variables
2014-12-09 0:33 [gentoo-portage-dev] Support for per-repository per-attribute environmental variables Arfrever Frehtes Taifersar Arahesis
@ 2014-12-09 8:51 ` Alexander Berntsen
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Berntsen @ 2014-12-09 8:51 UTC (permalink / raw
To: gentoo-portage-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 09/12/14 01:33, Arfrever Frehtes Taifersar Arahesis wrote:
> I suggest to add support for per-repository per-attribute
> environmental variables in Portage. These variables would be used
> when PORTAGE_REPOSITORIES is not set.
Please file a bug report.
- --
Alexander
bernalex@gentoo.org
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlSGuBQACgkQRtClrXBQc7VRXwD9GvR4uIUGetdl21xVBO6i1AnW
A4iHqFDikIj+HYdCsf0A/2VGftRhK+PFNS6jq4Jg6zpbxky1SG+cjmweLTw71C/3
=Fb7p
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-09 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 0:33 [gentoo-portage-dev] Support for per-repository per-attribute environmental variables Arfrever Frehtes Taifersar Arahesis
2014-12-09 8:51 ` Alexander Berntsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox