Skip to content

Commit

Permalink
Correct mentions of "collective.blueprint.jsonmigrator" in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcio Mazza committed Mar 6, 2015
1 parent 56ec240 commit 8be98fc
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
8 changes: 4 additions & 4 deletions docs/ac_local_roles.rst
@@ -1,4 +1,4 @@
``collective.blueprint.jsonmigrator.ac_local_roles``
``collective.jsonmigrator.ac_local_roles``
====================================================

Update local roles of an object.
Expand All @@ -24,17 +24,17 @@ Configuration::
...

[ac_local_roles]
blueprint = collective.blueprint.jsonmigrator.ac_local_roles
blueprint = collective.jsonmigrator.ac_local_roles

Data in pipeline::

{
"_path": "/Plone/index_html",
"_path": "/Plone/index_html",
"_ac_local_roles": {
"admin": [
"Owner"
]
},
}


26 changes: 13 additions & 13 deletions docs/permission_mapping.rst
@@ -1,4 +1,4 @@
``collective.blueprint.jsonmigrator.permission_mapping``
``collective.jsonmigrator.permission_mapping``
========================================================

.. XXX: Moved to ``collective.jsonmigrator.permissions``?
Expand Down Expand Up @@ -28,33 +28,33 @@ Configuration::
...

[mimetype]
blueprint = collective.blueprint.jsonmigrator.permission_mapping
blueprint = collective.jsonmigrator.permission_mapping

Data in pipeline::

{
"_path": "/Plone/index_html",
"_path": "/Plone/index_html",
"_permission_mapping": {
"Modify portal content": {
"acquire": false,
"acquire": false,
"roles": [
"Manager",
"Manager",
"Owner"
]
},
},
"Access contents information": {
"acquire": true,
"acquire": true,
"roles": [
"Anonymous",
"Manager",
"Anonymous",
"Manager",
"Reviewer"
]
},
},
"View": {
"acquire": true,
"acquire": true,
"roles": [
"Anonymous",
"Manager",
"Anonymous",
"Manager",
"Reviewer"
]
}
Expand Down
34 changes: 17 additions & 17 deletions docs/plone2.0_export.rst
Expand Up @@ -7,17 +7,17 @@ Installation
------------

* Create an external method in your plone site.
- Copy collective.blueprint.jsonmigrator/export_scripts/plone2.0_export.pt in *INSTANCE/Extensions* directory

- Copy collective.jsonmigrator/export_scripts/plone2.0_export.pt in *INSTANCE/Extensions* directory
- Connect to ZMI
- Add an External Method, and fill out the form with ::
id = your_id
module name = plone_2.0export

id = your_id
module name = plone_2.0export
method = export_plone20

* Create an jsonmigrator.ini in order to configure export process.


Syntax of configuration
-----------------------
Expand All @@ -29,29 +29,29 @@ Options
* In DEFAULT section

- HOMEDIR => where we create json file. This directory must exists !! Each time that export process is invoked, an new folder is created . In each folder created , every 1000 objects created, script create an new folder. The directory struture look like that::

HOMEDIR
|_ <id_object>_<date_export>
|_ 0
|_ 1.json
|_ 2.json
|_ 2.json
|_ ...
|_ 999.json
|_ 1
|_ 1000.json
|_ 1001.json
|_ 1001.json
|_ ...
|_ 1999.json
....

You can have also file name loke xxx.json-file-x . This is binary file of exported content.

- CLASSNAME_TO_SKIP_LAUD => This is a list of classname. Object of this classname where are skip by the export process

- CLASSNAME_TO_SKIP => This is a list of classname. Object of this classname where are skip by the export process

- ID_TO_SKIP => This is a list of id object . Object wich id is equal to an member of this list is skipping of the process.

- NON_FOLDERISH_CLASSNAME => This is a list of classname. Object of this classname are considered as non folderish content.

- JUST_TREAT_WAPPER => If true CLASSNAME_TO_SKIP_LAUD and CLASSNAME_TO_SKIP have no effect. Just object that are mapping in CLASSNAME_TO_WAPPER_MAP are treated
Expand All @@ -73,11 +73,11 @@ Example
JUST_TREAT_WAPPER=True
NON_FOLDERISH_CLASSNAME=DPLDTArticle
DPLDTIssue
DPLDTPerformance
DPLDTPerformance
DPLDTTraining
MAX_CACHE_DB=250

[CLASSNAME_TO_WAPPER_MAP]
[CLASSNAME_TO_WAPPER_MAP]
LargePloneFolder=BaseWrapper
Folder=BaseWrapper
PloneSite=BaseWrapper
Expand Down Expand Up @@ -175,7 +175,7 @@ Existing Wrapper
:pyobject: ZopeObjectWrapper
:end-before: def








4 changes: 2 additions & 2 deletions docs/skipitems.rst
@@ -1,4 +1,4 @@
``collective.blueprint.jsonmigrator.skipitems``
``collective.jsonmigrator.skipitems``
===============================================

Skip first N item in pipeline.
Expand All @@ -25,5 +25,5 @@ Configuration::
...

[skipitems]
blueprint = collective.blueprint.jsonmigrator.skipitems
blueprint = collective.jsonmigrator.skipitems
first = 10000
2 changes: 1 addition & 1 deletion docs/statistics.rst
@@ -1,4 +1,4 @@
``collective.blueprint.jsonmigrator.statistics``
``collective.jsonmigrator.statistics``
================================================

:TODO:
Expand Down

0 comments on commit 8be98fc

Please sign in to comment.