phable-cli 0.1.4__tar.gz → 0.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {phable_cli-0.1.4 → phable_cli-0.1.5}/PKG-INFO +1 -1
- {phable_cli-0.1.4 → phable_cli-0.1.5}/phable_cli/cli.py +3 -2
- {phable_cli-0.1.4 → phable_cli-0.1.5}/pyproject.toml +1 -1
- {phable_cli-0.1.4 → phable_cli-0.1.5}/LICENSE +0 -0
- {phable_cli-0.1.4 → phable_cli-0.1.5}/README.md +0 -0
- {phable_cli-0.1.4 → phable_cli-0.1.5}/phable_cli/cache.py +0 -0
- {phable_cli-0.1.4 → phable_cli-0.1.5}/phable_cli/config.py +0 -0
- {phable_cli-0.1.4 → phable_cli-0.1.5}/phable_cli/phabricator.py +0 -0
- {phable_cli-0.1.4 → phable_cli-0.1.5}/phable_cli/utils.py +0 -0
|
@@ -192,7 +192,6 @@ def create_task(
|
|
|
192
192
|
task_params = {
|
|
193
193
|
"title": title,
|
|
194
194
|
"description": description,
|
|
195
|
-
"projects.add": [config.phabricator_default_project_phid],
|
|
196
195
|
"priority": priority,
|
|
197
196
|
}
|
|
198
197
|
|
|
@@ -222,6 +221,8 @@ def create_task(
|
|
|
222
221
|
ctx.fail(f"Project {tag} not found")
|
|
223
222
|
if tag_projects_phids:
|
|
224
223
|
task_params["projects.add"] = tag_projects_phids
|
|
224
|
+
else:
|
|
225
|
+
task_params["projects.add"] = [config.phabricator_default_project_phid]
|
|
225
226
|
|
|
226
227
|
if owner:
|
|
227
228
|
if owner_user := client.find_user_by_username(username=owner):
|
|
@@ -236,7 +237,7 @@ def create_task(
|
|
|
236
237
|
cc_phids = []
|
|
237
238
|
for username in cc:
|
|
238
239
|
if user := client.find_user_by_username(username=username):
|
|
239
|
-
cc_phids.
|
|
240
|
+
cc_phids.append(user["phid"])
|
|
240
241
|
else:
|
|
241
242
|
ctx.fail(f"User {owner} not found")
|
|
242
243
|
if cc_phids:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|