Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a6db06630c | |||
| 245a571c60 |
10
README.md
10
README.md
@@ -1,7 +1,13 @@
|
|||||||
# GovOPlaN Issue Reporting
|
# GovOPlaN Issue Reporting
|
||||||
|
|
||||||
|
<!-- govoplan-repository-type:start -->
|
||||||
|
**Repository type:** module (domain).
|
||||||
|
<!-- govoplan-repository-type:end -->
|
||||||
|
|
||||||
`govoplan-issue-reporting` is the GovOPlaN platform module seed for public or internal problem reporting for broken infrastructure, damaged rooms, IT outages, safety issues, accessibility issues, triage, and routing.
|
`govoplan-issue-reporting` is the GovOPlaN platform module seed for public or internal problem reporting for broken infrastructure, damaged rooms, IT outages, safety issues, accessibility issues, triage, and routing.
|
||||||
|
|
||||||
|
Its runtime module ID is `issue_reporting`; the repository and Python distribution retain the hyphenated `govoplan-issue-reporting` name.
|
||||||
|
|
||||||
This repository is initialized as a discoverable module seed. It exposes a module manifest, initial permissions, role templates, documentation metadata, Gitea workflow templates, and a focused manifest test. It intentionally does not yet add HTTP routes, database models, migrations, or WebUI navigation.
|
This repository is initialized as a discoverable module seed. It exposes a module manifest, initial permissions, role templates, documentation metadata, Gitea workflow templates, and a focused manifest test. It intentionally does not yet add HTTP routes, database models, migrations, or WebUI navigation.
|
||||||
|
|
||||||
## Initial Ownership
|
## Initial Ownership
|
||||||
@@ -30,7 +36,7 @@ Expected optional integrations:
|
|||||||
- cases
|
- cases
|
||||||
- assets
|
- assets
|
||||||
- facilities
|
- facilities
|
||||||
- forms-runtime
|
- forms_runtime
|
||||||
- portal
|
- portal
|
||||||
- files
|
- files
|
||||||
- workflow
|
- workflow
|
||||||
@@ -59,5 +65,5 @@ From the core checkout, labels can be synced once a local `GITEA_TOKEN` is avail
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /mnt/DATA/git/govoplan-core
|
cd /mnt/DATA/git/govoplan-core
|
||||||
./scripts/gitea-sync-labels.py --root /mnt/DATA/git/govoplan-issue-reporting --apply
|
/mnt/DATA/git/govoplan/tools/gitea/gitea-sync-labels.py --root /mnt/DATA/git/govoplan-issue-reporting --apply
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Public or internal problem reporting for broken infrastructure, damaged rooms, I
|
|||||||
- cases
|
- cases
|
||||||
- assets
|
- assets
|
||||||
- facilities
|
- facilities
|
||||||
- forms-runtime
|
- forms_runtime
|
||||||
- portal
|
- portal
|
||||||
- files
|
- files
|
||||||
- workflow
|
- workflow
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/issue-reporting",
|
"name": "@govoplan/issue-reporting",
|
||||||
"version": "0.1.7",
|
"version": "0.1.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "GovOPlaN Issue Reporting platform module seed.",
|
"description": "GovOPlaN Issue Reporting platform module seed.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -4,15 +4,15 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-issue-reporting"
|
name = "govoplan-issue-reporting"
|
||||||
version = "0.1.7"
|
version = "0.1.8"
|
||||||
description = "GovOPlaN Issue Reporting platform module seed."
|
description = "GovOPlaN Issue Reporting platform module seed."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
authors = [{ name = "GovOPlaN" }]
|
authors = [{ name = "GovOPlaN" }]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"govoplan-core>=0.1.7",
|
"govoplan-core>=0.1.8",
|
||||||
"govoplan-access>=0.1.7",
|
"govoplan-access>=0.1.8",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
@@ -22,4 +22,4 @@ where = ["src"]
|
|||||||
govoplan_issue_reporting = ["py.typed"]
|
govoplan_issue_reporting = ["py.typed"]
|
||||||
|
|
||||||
[project.entry-points."govoplan.modules"]
|
[project.entry-points."govoplan.modules"]
|
||||||
"issue-reporting" = "govoplan_issue_reporting.backend.manifest:get_manifest"
|
issue_reporting = "govoplan_issue_reporting.backend.manifest:get_manifest"
|
||||||
|
|||||||
@@ -3,18 +3,18 @@ from __future__ import annotations
|
|||||||
from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PRINCIPAL_RESOLVER
|
from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PRINCIPAL_RESOLVER
|
||||||
from govoplan_core.core.modules import DocumentationLink, DocumentationTopic, ModuleManifest, PermissionDefinition, RoleTemplate
|
from govoplan_core.core.modules import DocumentationLink, DocumentationTopic, ModuleManifest, PermissionDefinition, RoleTemplate
|
||||||
|
|
||||||
MODULE_ID = "issue-reporting"
|
MODULE_ID = "issue_reporting"
|
||||||
MODULE_NAME = "Issue Reporting"
|
MODULE_NAME = "Issue Reporting"
|
||||||
MODULE_VERSION = "0.1.7"
|
MODULE_VERSION = "0.1.8"
|
||||||
READ_SCOPE = "issue-reporting:workspace:read"
|
READ_SCOPE = "issue_reporting:workspace:read"
|
||||||
WRITE_SCOPE = "issue-reporting:workspace:write"
|
WRITE_SCOPE = "issue_reporting:workspace:write"
|
||||||
ADMIN_SCOPE = "issue-reporting:workspace:admin"
|
ADMIN_SCOPE = "issue_reporting:workspace:admin"
|
||||||
OPTIONAL_DEPENDENCIES = (
|
OPTIONAL_DEPENDENCIES = (
|
||||||
"helpdesk",
|
"helpdesk",
|
||||||
"cases",
|
"cases",
|
||||||
"assets",
|
"assets",
|
||||||
"facilities",
|
"facilities",
|
||||||
"forms-runtime",
|
"forms_runtime",
|
||||||
"portal",
|
"portal",
|
||||||
"files",
|
"files",
|
||||||
"workflow",
|
"workflow",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class ManifestSeedTests(unittest.TestCase):
|
|||||||
def test_manifest_registers_seed_contract(self) -> None:
|
def test_manifest_registers_seed_contract(self) -> None:
|
||||||
manifest = get_manifest()
|
manifest = get_manifest()
|
||||||
|
|
||||||
self.assertEqual(manifest.id, "issue-reporting")
|
self.assertEqual(manifest.id, "issue_reporting")
|
||||||
self.assertEqual(manifest.name, "Issue Reporting")
|
self.assertEqual(manifest.name, "Issue Reporting")
|
||||||
self.assertEqual(manifest.dependencies, ("access",))
|
self.assertEqual(manifest.dependencies, ("access",))
|
||||||
self.assertEqual({permission.scope for permission in manifest.permissions}, {READ_SCOPE, WRITE_SCOPE, ADMIN_SCOPE})
|
self.assertEqual({permission.scope for permission in manifest.permissions}, {READ_SCOPE, WRITE_SCOPE, ADMIN_SCOPE})
|
||||||
|
|||||||
Reference in New Issue
Block a user