Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update repositories for .gentoo directories #10

Open
TheChymera opened this issue Feb 11, 2018 · 2 comments
Open

Update repositories for .gentoo directories #10

TheChymera opened this issue Feb 11, 2018 · 2 comments

Comments

@TheChymera
Copy link
Member

I notice that persistent testing is somewhat difficult given the current gebuilder features. Since the repo containing the .gentoo file remains static between updates, this means that new e.g. deps, even if correctly specified in the .gentoo ebuild, will be lacking in the image unless the repo is manually updated.

Most immediately this can be addressed by creating a cron script at a higher frequency than the gebuilder ... update script.

@Doeme, what do you think about - in stead - adding this as an optional feature in the gebuilder update subcommand?

I'm a bit unfamiliar with your subcommand management - how would one best add optional parameterization?

@Doeme
Copy link
Member

Doeme commented Feb 11, 2018

The thing is: a changed dependency yields a new .gentoo-ID, hence we need to instanciate a new root image.
But: We could make the stemgentoo configurable, and save some time installing all the dependencies by basing the new image on the old one.

The parametrization on the command-line level is an unsolved problem, But I would introduce it into the already standing config-chain, i.e.

  1. The global-config in '/gebuilder/root/config` is loaded
  2. The per-Image config roots/<ID>/config is loaded and overrides 1.
  3. The command-line config is evaluated, and overrides 1. and 2.

@TheChymera
Copy link
Member Author

TheChymera commented Feb 12, 2018

  1. You mean /usr/share/gebuilder/config/generic.conf, right?

About that, it might be a good idea to harmonize gebuilder with the filesystem hierarchy standard (which Gentoo is particularly fond of enforcing). As such, we should instead install the config files to /etc/gebuilder/. What would be a prefix-robust way to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants