Revision 9d5cf81c snf-astakos-app/astakos/im/management/commands/project-sync.py
b/snf-astakos-app/astakos/im/management/commands/project-sync.py | ||
---|---|---|
41 | 41 |
logger = logging.getLogger(__name__) |
42 | 42 |
|
43 | 43 |
class Command(BaseCommand): |
44 |
help = "Check for pending project synchronization" |
|
44 |
help = """ |
|
45 |
Check for and perform pending project synchronization. |
|
45 | 46 |
|
47 |
Synchronization is automatic when Astakos is running. |
|
48 |
This command provides manual access to the synchronization. |
|
49 |
|
|
50 |
Details: |
|
51 |
|
|
52 |
Changes in project resources and memberships (such as approving |
|
53 |
a project or accepting a member into it) are changes in policy |
|
54 |
that are recorded in Astakos. These changes have to be synchronized |
|
55 |
with the quota system so that they come in effect. |
|
56 |
|
|
57 |
The quotaholder service must be running. |
|
58 |
Astakos is not required, but there should be no harm if it is |
|
59 |
running, even if under online traffic. |
|
60 |
|
|
61 |
""" |
|
46 | 62 |
option_list = BaseCommand.option_list + ( |
47 | 63 |
make_option('--check', |
48 | 64 |
action='store_true', |
Also available in: Unified diff