# HG changeset patch
# User Goffi <goffi@goffi.org>
# Date 1618394740 -7200
# Node ID cc29a62fb64cb92034e8248198640216ce7aee48
# Parent  67da33212b2bdb57d7f7442c0e20b60a3649872b
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_`

diff -r 67da33212b2b -r cc29a62fb64c CHANGELOG
--- 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
diff -r 67da33212b2b -r cc29a62fb64c twisted/plugins/pubsub.py
--- 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):