Add some addition defaults to begin coding the fetching and scanning for seed files...
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 15 Nov 2013 09:11:09 +0000 (01:11 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Fri, 15 Nov 2013 09:14:34 +0000 (01:14 -0800)
gkeys/config.py

index 20a00b7844b253464cacf331604eafac8f9de2c7..5fe38710ea5a1c35fbb2b43a65aa3ed8e48c4cfe 100644 (file)
@@ -65,11 +65,18 @@ class GKeysConfig(GPGConfig):
         self.defaults['dev-keydir'] = '%(keysdir)s/devs'
         self.defaults['release-keydir'] = '%(keysdir)s/release'
         self.defaults['overlays-keydir'] = '%(keysdir)s/overlays'
+        # known-keysfile is a repositories.xml like file of gpg seeds
+        # distributed through api.g.o for convenience
         self.defaults['known-keysfile'] = '%(keysdir)s/knownkeys'
         self.defaults['release-seedfile'] = '%(configdir)s/release.seeds'
         self.defaults['dev-seedfile'] = '%(configdir)s/developer.seeds'
+        # local directory to scan for seed files installed via ebuild, layman
+        # or manual install.
+        self.defaults['installable-seeddir'] = '%(configdir)s/installable.seeds'
         self.defaults['keyserver'] = 'pool.sks-keyservers.net'
-
+        self.defaults['dev-seedurl'] = 'http://dev.gentoo.org/~dolsen/gkey-seeds/developer.seeds'
+        self.defaults['release-seedurl'] = 'http://dev.gentoo.org/~dolsen/gkey-seeds/release.seeds'
+        self.defaults['known-seedurl'] = 'http://dev.gentoo.org/~dolsen/gkey-seeds/known.seeds'
 
 
     def read_config(self):