Hi Sam,

On Di, 2016-09-20 at 15:40 -0400, Sam Hartman wrote:
(...)

> I've found that I need to restart the demon (I used systemctl,
> although
> perhaps starting/stopping the daemon in the web interface would have
> been sufficient).
> 
> 
> It looks like what's happening is that the cache mapping repository
> identities to uploader keyrings is stored on the demon object in the
> _uploaders field and this isn't being refreshed when a repository is
> reconfiged.
> 
> You could argue that cache is a demon thing, and so it is proper
> behavior, but it's very confusing.
> I think it would be worth having repository reactivation trigger
> refreshing that cache.

no, I actually explicitly agree here, it's confusing. There is actually
an item for that lingering on my TODO list for some time ;):

http://mini-buildd.installiert.net/articles/raw-development-todo-sep-2016.html

The way the code is designed prevents an easy fix currently, but I will
definitely try to improve that eventually.

Hth,

S

Reply via email to