Commit fd8131b0 authored by Julien Muchembled's avatar Julien Muchembled

Rename ERP5Vcs product to ERP5VCS, to follow naming conventions (2/3)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44010 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a618b921
...@@ -64,7 +64,7 @@ def findMessageListFromPythonInProduct(function_name_list): ...@@ -64,7 +64,7 @@ def findMessageListFromPythonInProduct(function_name_list):
product_dir = os.path.dirname(Products.ERP5.__path__[0]) product_dir = os.path.dirname(Products.ERP5.__path__[0])
erp5_product_list = ('CMFActivity', 'CMFCategory', erp5_product_list = ('CMFActivity', 'CMFCategory',
'ERP5', 'ERP5Banking', 'ERP5Catalog', 'ERP5Configurator', 'ERP5', 'ERP5Banking', 'ERP5Catalog', 'ERP5Configurator',
'ERP5Form', 'ERP5OOo', 'ERP5Security', 'ERP5Vcs', 'ERP5Form', 'ERP5OOo', 'ERP5Security', 'ERP5VCS',
'ERP5SyncML', 'ERP5Type', 'ERP5Wizard', 'ERP5Workflow', 'ERP5SyncML', 'ERP5Type', 'ERP5Wizard', 'ERP5Workflow',
'HBTreeFolder2', 'MailTemplates', 'TimerService', 'HBTreeFolder2', 'MailTemplates', 'TimerService',
'ZMySQLDA', 'ZMySQLDDA', 'ZSQLCatalog', 'ZMySQLDA', 'ZMySQLDDA', 'ZSQLCatalog',
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
from Products.ERP5Vcs.SubversionClient import SubversionSSLTrustError\n from Products.ERP5VCS.SubversionClient import SubversionSSLTrustError\n
from Products.ERP5Type.Document import newTempBase\n from Products.ERP5Type.Document import newTempBase\n
\n \n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Vcs.SubversionClient import SubversionSSLTrustError, SubversionLoginError\n <value> <string>from Products.ERP5VCS.SubversionClient import SubversionSSLTrustError, SubversionLoginError\n
\n \n
vcs_tool = context.getVcsTool()\n vcs_tool = context.getVcsTool()\n
try:\n try:\n
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Vcs.SubversionClient import SubversionSSLTrustError, SubversionLoginError\n <value> <string>from Products.ERP5VCS.SubversionClient import SubversionSSLTrustError, SubversionLoginError\n
from Products.ERP5Type.Document import newTempBase\n from Products.ERP5Type.Document import newTempBase\n
\n \n
# get selected business templates\n # get selected business templates\n
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># try to get the repository URL, else redirect to the dialog for creating a working copy in one of the configured repositories\n <value> <string># try to get the repository URL, else redirect to the dialog for creating a working copy in one of the configured repositories\n
from Products.ERP5Vcs.WorkingCopy import NotAWorkingCopyError\n from Products.ERP5VCS.WorkingCopy import NotAWorkingCopyError\n
try:\n try:\n
return context.getVcsTool().getRemoteUrl()\n return context.getVcsTool().getRemoteUrl()\n
except NotAWorkingCopyError:\n except NotAWorkingCopyError:\n
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Vcs.SubversionClient import SubversionSSLTrustError, SubversionLoginError\n <value> <string>from Products.ERP5VCS.SubversionClient import SubversionSSLTrustError, SubversionLoginError\n
\n \n
try:\n try:\n
raise exception\n raise exception\n
......
...@@ -173,7 +173,7 @@ Add external Method to see Security for arbitrary user ...@@ -173,7 +173,7 @@ Add external Method to see Security for arbitrary user
* Now possible to filter files to commit from diff view * Now possible to filter files to commit from diff view
2006-07-05 chris 2006-07-05 chris
* ERP5Vcs now detects outdated files so that user know if he needs to update his working copy or not. * ERP5Subversion now detects outdated files so that user know if he needs to update his working copy or not.
2006-06-26 chris 2006-06-26 chris
* Update according to last XHTML style update * Update according to last XHTML style update
......
642 643
\ No newline at end of file \ No newline at end of file
...@@ -24,6 +24,6 @@ svn_param =--trust-server-cert --non-interactive --quiet --revision ${versions:e ...@@ -24,6 +24,6 @@ svn_param =--trust-server-cert --non-interactive --quiet --revision ${versions:e
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true stop-on-error = true
update-command = ${:command} update-command = ${:command}
product_list = ERP5Vcs product_list = ERP5VCS
command = command =
for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product || exit 1 ; done for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product || exit 1 ; done
...@@ -5108,14 +5108,14 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -5108,14 +5108,14 @@ Business Template is a set of definitions, such as skins, portal types and categ
@transactional_cached(lambda self, vcs=None, path=None: (self, vcs, path)) @transactional_cached(lambda self, vcs=None, path=None: (self, vcs, path))
def getVcsTool(self, vcs=None, path=None): def getVcsTool(self, vcs=None, path=None):
from Products.ERP5Vcs.WorkingCopy import getVcsTool from Products.ERP5VCS.WorkingCopy import getVcsTool
if not (path or vcs): if not (path or vcs):
path = self.getExportPath() path = self.getExportPath()
return getVcsTool(vcs=vcs, path=path).__of__(self) return getVcsTool(vcs=vcs, path=path).__of__(self)
def isVcsType(self, *vcs): def isVcsType(self, *vcs):
# could be moved to Products.ERP5.Base.Base # could be moved to Products.ERP5.Base.Base
from Products.ERP5Vcs.WorkingCopy import NotAWorkingCopyError from Products.ERP5VCS.WorkingCopy import NotAWorkingCopyError
try: try:
return self.getVcsTool().reference in vcs return self.getVcsTool().reference in vcs
except NotAWorkingCopyError: except NotAWorkingCopyError:
...@@ -5243,7 +5243,7 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -5243,7 +5243,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
def diffObjectAsHTML(self, REQUEST, **kw): def diffObjectAsHTML(self, REQUEST, **kw):
""" """
Convert diff into a HTML format before reply Convert diff into a HTML format before reply
This is compatible with ERP5Vcs look and feel but This is compatible with ERP5VCS look and feel but
it is preferred in future we use more difflib python library. it is preferred in future we use more difflib python library.
""" """
return DiffFile(self.diffObject(REQUEST, **kw)).toHTML() return DiffFile(self.diffObject(REQUEST, **kw)).toHTML()
......
...@@ -674,7 +674,7 @@ class TemplateTool (BaseTool): ...@@ -674,7 +674,7 @@ class TemplateTool (BaseTool):
def diffObjectAsHTML(self, REQUEST, **kw): def diffObjectAsHTML(self, REQUEST, **kw):
""" """
Convert diff into a HTML format before reply Convert diff into a HTML format before reply
This is compatible with ERP5Vcs look and feel but This is compatible with ERP5VCS look and feel but
it is preferred in future we use more difflib python library. it is preferred in future we use more difflib python library.
""" """
return DiffFile(self.diffObject(REQUEST, **kw)).toHTML() return DiffFile(self.diffObject(REQUEST, **kw)).toHTML()
......
...@@ -4,7 +4,7 @@ echo -e "\033[0;31mThis is an unsupported script. You should use 'svn update' co ...@@ -4,7 +4,7 @@ echo -e "\033[0;31mThis is an unsupported script. You should use 'svn update' co
# Modules to get from the SVN # Modules to get from the SVN
PRODUCTS="CMFActivity CMFCategory ERP5 ERP5Banking ERP5Catalog \ PRODUCTS="CMFActivity CMFCategory ERP5 ERP5Banking ERP5Catalog \
ERP5Form ERP5OOo ERP5Security ERP5Vcs ERP5SyncML \ ERP5Form ERP5OOo ERP5Security ERP5VCS ERP5SyncML \
ERP5Type TimerService ZMySQLDDA ZSQLCatalog" ERP5Type TimerService ZMySQLDDA ZSQLCatalog"
# System user and group that own Zope product files # System user and group that own Zope product files
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
Provide a feature not present into difflib, which is generate a colored diff Provide a feature not present into difflib, which is generate a colored diff
from a diff file/string. from a diff file/string.
This code is original form ERP5Vcs and was moved to here for be used in This code is original form ERP5VCS and was moved to here for be used in
general ERP5. general ERP5.
XXX The organisation of DiffUtils should be reviewed and reorganised in a tool XXX The organisation of DiffUtils should be reviewed and reorganised in a tool
......
...@@ -32,7 +32,7 @@ from Acquisition import aq_base ...@@ -32,7 +32,7 @@ from Acquisition import aq_base
from DateTime import DateTime from DateTime import DateTime
from Products.ERP5Type.Message import translateString from Products.ERP5Type.Message import translateString
from ZTUtils import make_query from ZTUtils import make_query
from Products.ERP5Vcs.WorkingCopy import \ from Products.ERP5VCS.WorkingCopy import \
WorkingCopy, NotAWorkingCopyError, Dir, File, selfcached WorkingCopy, NotAWorkingCopyError, Dir, File, selfcached
class GitError(EnvironmentError): class GitError(EnvironmentError):
......
ERP5Vcs ERP5VCS
ERP5Vcs provides a Subversion interface. This product ERP5VCS provides a Subversion interface. This product
depends on "pysvn":http://pysvn.tigris.org/. depends on "pysvn":http://pysvn.tigris.org/.
To use this product, you must make a directory named 'svn' under To use this product, you must make a directory named 'svn' under
......
...@@ -35,10 +35,10 @@ from DateTime import DateTime ...@@ -35,10 +35,10 @@ from DateTime import DateTime
from ZTUtils import make_query from ZTUtils import make_query
from Products.ERP5Type.Message import translateString from Products.ERP5Type.Message import translateString
from Products.ERP5.Document.BusinessTemplate import BusinessTemplateFolder from Products.ERP5.Document.BusinessTemplate import BusinessTemplateFolder
from Products.ERP5Vcs.WorkingCopy import \ from Products.ERP5VCS.WorkingCopy import \
WorkingCopy, Dir, File, chdir_working_copy, selfcached, \ WorkingCopy, Dir, File, chdir_working_copy, selfcached, \
NotAWorkingCopyError, VcsConflictError NotAWorkingCopyError, VcsConflictError
from Products.ERP5Vcs.SubversionClient import \ from Products.ERP5VCS.SubversionClient import \
newSubversionClient, SubversionLoginError, SubversionSSLTrustError newSubversionClient, SubversionLoginError, SubversionSSLTrustError
......
...@@ -53,5 +53,5 @@ def initialize( context ): ...@@ -53,5 +53,5 @@ def initialize( context ):
content_classes = content_classes) content_classes = content_classes)
# Register Subversion before Git # Register Subversion before Git
from Products.ERP5Vcs.Subversion import Subversion from Products.ERP5VCS.Subversion import Subversion
from Products.ERP5Vcs.Git import Git from Products.ERP5VCS.Git import Git
...@@ -7,7 +7,7 @@ class _ERP5(ERP5TypeTestSuite): ...@@ -7,7 +7,7 @@ class _ERP5(ERP5TypeTestSuite):
enabled_product_list = ('CMFActivity', 'CMFCategory', 'ERP5', 'ERP5Catalog', enabled_product_list = ('CMFActivity', 'CMFCategory', 'ERP5', 'ERP5Catalog',
'ERP5eGovSecurity', 'ERP5Form', 'ERP5Legacy', 'ERP5eGovSecurity', 'ERP5Form', 'ERP5Legacy',
'ERP5OOo', 'ERP5Security', 'ERP5SyncML', 'ERP5Type', 'ERP5OOo', 'ERP5Security', 'ERP5SyncML', 'ERP5Type',
'ERP5Vcs', 'ERP5Wizard', 'Formulator', 'ERP5Workflow', 'ERP5VCS', 'ERP5Wizard', 'Formulator', 'ERP5Workflow',
'ERP5Configurator','HBTreeFolder2', 'MailTemplates', 'ERP5Configurator','HBTreeFolder2', 'MailTemplates',
'PortalTransforms', 'TimerService', 'ZLDAPConnection', 'PortalTransforms', 'TimerService', 'ZLDAPConnection',
'ZLDAPMethods', 'ZMySQLDA', 'ZMySQLDDA', 'ZSQLCatalog') 'ZLDAPMethods', 'ZMySQLDA', 'ZMySQLDDA', 'ZSQLCatalog')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment