Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
47333890
Commit
47333890
authored
Feb 19, 2013
by
Stefano Rivera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit the import_project documentation to read more easily
parent
b52dd2d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
docs/management.rst
docs/management.rst
+12
-12
No files found.
docs/management.rst
View file @
47333890
...
...
@@ -61,26 +61,26 @@ import_project <project> <gitrepo> <branch> <filemask>
.. django-admin:: import_project
I
mports subprojects into project based on filemask.
Batch i
mports subprojects into project based on filemask.
The `<project>` defines into which project subprojects should be importe
d
(needs to exists)
.
`<project>` names an existing project, into which the subprojects shoul
d
be imported
.
The `<gitrepo>` defines URL of Git repository to use,
`<branch>` which
branch to use
.
An existing git repository can be used, with a
`weblate://<project>/<subproject>` URL
.
The `<gitrepo>` defines URL of Git repository to use,
and `<branch>` the
git branch
.
To import additional translation subprojects, from an existing weblate subproject,
use a `weblate://<project>/<subproject>` URL for the `<gitrepo>`
.
List of subprojects to create are automatically obtained from `<filemask>`
- it has to contains one double wildcard (`**`), which is replacement for
subproject.
The repository is searched for directories matching a double wildcard
(`**`) in the `<filemask>`.
Each of these is then added as a subproject, named after the matched
directory.
Existing subprojects will be skipped.
To customise the subproject's name, use the `--name-template` option.
Its parameter is a python formatting string, which will expect the
match from `<filemask>`.
Existing subprojects will be skipped.
For example:
.. code-block:: bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment