changeset 447:cc29a62fb64c

renaming following global Salut à Toi => Libervia renaming: /!\ application name and environment variables are renamed /!\ - Twisted application name is now `libervia-pubsub` - environment variable are now prefixed by `LIBERVIA_PUBSUB_`
author Goffi <goffi@goffi.org>
date Wed, 14 Apr 2021 12:05:40 +0200
parents 67da33212b2b
children c57b9ede1381
files CHANGELOG twisted/plugins/pubsub.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG	Sun Mar 21 14:39:13 2021 +0100
+++ b/CHANGELOG	Wed Apr 14 12:05:40 2021 +0200
@@ -1,4 +1,5 @@
 v 0.4.0 (NOT RELEASED YET):
+	- /!\ renamed to "Libervia Pubsub", application name is now "libervia-pubsub"
     - Python 3 port
     - publish-options implementation
     - max_items configuration option
--- a/twisted/plugins/pubsub.py	Sun Mar 21 14:39:13 2021 +0100
+++ b/twisted/plugins/pubsub.py	Wed Apr 14 12:05:40 2021 +0200
@@ -1,5 +1,4 @@
 #!/usr/bin/env python3
-#-*- coding: utf-8 -*-
 
 # Copyright (c) 2012-2021 Jérôme Poisson
 # Copyright (c) 2003-2011 Ralph Meijer
@@ -99,7 +98,7 @@
     ]
 
 # prefix used for environment variables
-ENV_PREFIX = "SAT_PUBSUB_"
+ENV_PREFIX = "LIBERVIA_PUBSUB_"
 # mapping from option name to environment variables to use
 # each parameter name links to a list of variable environment name
 # if an environment variable of one of the names exists it will be used
@@ -204,8 +203,8 @@
 
 @implementer(IServiceMaker, IPlugin)
 class SatPubsubMaker(object):
-    tapname = "sat-pubsub"
-    description = "Salut à Toi Publish-Subscribe Service Component"
+    tapname = "libervia-pubsub"
+    description = "Libervia's Publish-Subscribe Service Component"
     options = Options
 
     def makeService(self, config):