Mercurial > libervia-backend
annotate .hgignore @ 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 | f2cb99b196b1 |
children | 9f599ccbea4e |
rev | line source |
---|---|
3 | 1 syntax: glob |
2 *.pyc | |
140 | 3 *.pyv |
3 | 4 *.swp |
5 *.swo | |
6 tags | |
4 | 7 twistd.log |
140 | 8 twistd.pid |
269 | 9 bridge_constructor/generated |
335 | 10 _trial_temp/ |
269 | 11 sat.egg-info |
12 *.un~ | |
13 dist | |
14 MANIFEST | |
474
e519f8f33cba
misc: Add the build directory to the ignore file.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
335
diff
changeset
|
15 build |
598 | 16 ctags_links/ |
1127
f2cb99b196b1
misc: added Session.vim to .hgignore
Goffi <goffi@goffi.org>
parents:
598
diff
changeset
|
17 Session.vim |