ckan / ckan/ideas

Expose CLI commands through web-interface

Open
#110 0 comments 0 reactions 0 assignees View on GitHub
enhancement Status: Discussion and Research
Dominant language
No language data
Stars
39
Forks
1
PR merge metrics
No merged PRs in 30d

Description

As a sysadmin
I'd like to be able to run maintenance tasks via the web ui
So that I don't have to log on to the server and remember the correct incantation

As a trusted user
I'd like to be able to run limited maintenance tasks (non-destructive re-index, purge) via the web ui
So that I don't have to bother my sysadmin to do it

As a user who has permission to run maintenance tasks
I'd like to be able to see the status of potentially long running tasks I have initiated
So that I can tell when it is finished and don't accidentally start another

---

This would probably require tasks for be executed outside of the usual http flow (as many are long-running tasks) and some way of ensuring that tasks are not run more than once - we don't want to try and start more than one re-index or purge.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the existing CLI maintenance commands and the web interface, then investigate how long-running tasks and permissions are handled. Done means trusted users can run permitted non-destructive tasks, duplicate runs are prevented, and initiators can see task status.

Written by the indexing model from the issue text.

Assessment

Domain
backend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.