@webship.co/workspace-redmine 1.0.0 → 1.0.2
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.
|
@@ -66,7 +66,7 @@ project's forge menu (GITHUB, GITLAB) when its remote is on a forge. Its descrip
|
|
|
66
66
|
|
|
67
67
|
## Rules
|
|
68
68
|
|
|
69
|
-
- Never push, never post, never comment on, move, close or edit
|
|
69
|
+
- Never push, never post, never comment on, move, close or edit an issue, and never open a pull request: the
|
|
70
70
|
person does that after reading your work.
|
|
71
71
|
- Run the project's tools in its containers (DDEV by default, or the runtime its own files and AGENTS.md name), never
|
|
72
72
|
raw on the host.
|
|
@@ -25,5 +25,5 @@ network_domains: []
|
|
|
25
25
|
allow_web: false
|
|
26
26
|
# The comments a snapshot keeps: members (Managers and Developers), all, none.
|
|
27
27
|
comments_from: members
|
|
28
|
-
#
|
|
28
|
+
# An issue from outside the project (a Reporter, another role, no membership): analyze (work it only after a confirmation that names its author) or refuse.
|
|
29
29
|
outsider_items: analyze
|
|
@@ -38,7 +38,7 @@ network_domains:
|
|
|
38
38
|
info: 'The package registries the project needs (registry.npmjs.org, repo.packagist.org…). None by default. Edit it in the Raw YAML tab.'
|
|
39
39
|
allow_web:
|
|
40
40
|
label: Web tools in the author session
|
|
41
|
-
info: 'WebFetch and WebSearch. Off by default: a link in
|
|
41
|
+
info: 'WebFetch and WebSearch. Off by default: a link in an issue is not opened.'
|
|
42
42
|
options:
|
|
43
43
|
"false": "Off (default)"
|
|
44
44
|
"true": "On"
|
|
@@ -50,7 +50,7 @@ comments_from:
|
|
|
50
50
|
all: "All comments"
|
|
51
51
|
none: "No comments"
|
|
52
52
|
outsider_items:
|
|
53
|
-
label:
|
|
53
|
+
label: Issues from outside the project
|
|
54
54
|
info: 'Opened, or last edited, by a Reporter or someone with no membership. Analyze: analyze only, unless you tick a confirmation that names them. Refuse: analyze only.'
|
|
55
55
|
options:
|
|
56
56
|
analyze: "Analyze only, unless confirmed by name (default)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship.co/workspace-redmine",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Redmine for Webship Workspace: the builder (`cmd-redmine-project.sh`, a site of the open-source project management and issue tracking software from the official image on the project's own PostgreSQL, in containers: DDEV by default, Docker Compose too, with the default accounts as members of a sample project and its issues and version) and its tool in every sites folder, the Redmine step pack wired into the testing setup, the issues of a Redmine as work items of the tracker family (list, read, analyze, and do the work with the workspace's AI CLI on a branch; notes, time, moves and assignees after a person's click, writes off by default), and its AI items in their folders.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -567,10 +567,16 @@ PYEOF
|
|
|
567
567
|
fi
|
|
568
568
|
|
|
569
569
|
# The scenarios log in as the default accounts and read the sample project: make sure the site has them, once it
|
|
570
|
-
# answers again (installing the testing stack may restart the project, and Redmine with it).
|
|
571
|
-
|
|
572
|
-
|
|
570
|
+
# answers again (installing the testing stack may restart the project, and Redmine with it). Each part runs in the
|
|
571
|
+
# project and says when it did not work: add_redmine_users ends in the sites folder, so the sample content is asked for
|
|
572
|
+
# in the project again (webship/workspace-redmine#7).
|
|
573
|
+
if ! ( cd "${project_path}" && redmine_wait > /dev/null 2>&1 ) ; then
|
|
574
|
+
echo " Redmine does not answer: is the site running (ddev start in ${project_path})? The default accounts and the sample content were not checked." ;
|
|
575
|
+
elif ! ( cd "${project_path}" && add_redmine_users > /dev/null 2>&1 ) ; then
|
|
576
|
+
echo " The default accounts could not be written (bash cmd-tools-redmine-cli.sh <site> --add-users says why)." ;
|
|
577
|
+
elif ! ( cd "${project_path}" && redmine_site content < /dev/null > /dev/null 2>&1 ) ; then
|
|
578
|
+
echo " The sample content could not be written (bash cmd-tools-redmine-cli.sh <site> --sample-content says why)." ;
|
|
573
579
|
else
|
|
574
|
-
echo "
|
|
580
|
+
echo " the default accounts and the sample content are on the site (${users[*]})" ;
|
|
575
581
|
fi
|
|
576
582
|
}
|