Mercurial > libervia-backend
annotate MANIFEST.in @ 2532:772447ec070f
jp: pubsub options refactoring:
There is now only "use_pubsub", and specification are set using "pubsub_flags" argument when instantiating CommandBase.
Options are more Python Zen compliant by using explicit arguments for item, draft, url instead of trying to guess with magic keyword and type detection.
Pubsub node and item are now always using respecively "-n" and "-i" even when required, this way shell history can be used to change command more easily, and it's globally less confusing for user.
if --pubsub-url is used, elements can be overwritten with individual option (e.g. change item id with --item).
New "use_draft" argument in CommandBase, to re-use current draft or open a file path as draft.
Item can now be specified when using a draft. If it already exists, its content will be added to current draft (with a separator), to avoid loosing data.
common.BaseEdit.getItemPath could be simplified thanks to those changes.
Pubsub URI handling has been moved to base.py.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 21 Mar 2018 19:13:22 +0100 |
parents | b47492e8af0c |
children | 26edcf3a30eb |
rev | line source |
---|---|
1196
268278d9aef2
misc: forgotten to change distribute_setup.py to ez_setup.py in MANIFEST.in
Goffi <goffi@goffi.org>
parents:
373
diff
changeset
|
1 include MANIFEST.in ez_setup.py |
268
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
2 global-include *.py |
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
3 global-include *.ini |
229 | 4 global-include *.po *.mo |
5 global-include CHANGELOG COPYING* INSTALL README* | |
6 global-include *.sh | |
7 include src/sat.* | |
2001
b47492e8af0c
installation (MANIFEST): added misc directory
Goffi <goffi@goffi.org>
parents:
1999
diff
changeset
|
8 include misc |
1291
0db0013c59dd
remove remaining references to Wix
souliane <souliane@mailoo.org>
parents:
1196
diff
changeset
|
9 include frontends/src/jp/jp frontends/src/primitivus/primitivus |
273
3b5e856b3a32
Bridge: added mediawiki constructor in bridge constructor, usefull for documentation purpose
Goffi <goffi@goffi.org>
parents:
270
diff
changeset
|
10 include src/bridge/bridge_constructor/mediawiki_template.tpl |
1999
30e83614af48
fixed exclusion of vim's undo file in MANIFEST.in
Goffi <goffi@goffi.org>
parents:
1291
diff
changeset
|
11 global-exclude *.un~ |
270
4005bf3ce35d
updated MANIFEST.in to exclude bridge_constructor's generated dir
Goffi <goffi@goffi.org>
parents:
268
diff
changeset
|
12 prune src/bridge/bridge_constructor/generated |