projg2 / eselect-repository

An eselect module to manage repos.conf (i.e. layman replacement)
20 stars 8 forks source link

Feature request - create/initialize local repo from scratch #14

Closed benkohler closed 3 years ago

benkohler commented 3 years ago

Hello,

I think it would be great if eselect-repository could aid the user in setting up a local repo, now that so many files have to (or should be) added to make that happen. Here's the doc they're following now: https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/CustomTree#Defining_a_custom_ebuild_repository

For example, "eselect repository create iamben-overlay" would create /var/db/repos/iamben/overlay/ and a corresponding repos.conf entry for it, and also populate metadata/layout.conf, profiles/repo_name, and maybe some other files I'm missing.

Thanks for your consideration!