opendevstack / opendevstack/ods-provisioning-app

Input to component ID should be checked before provisioning

Open
#697 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14
Forks
20
Avg merge
3h 35m
Merged PRs (30d)
1

Description

If a user inputs a component ID (e.g., 'docs') that collides with a name of a file/directory in https://github.com/opendevstack/ods-quickstarters, then during the Jenkins build it will return this error:

"Error: Target directory 'docs' must not exist yet"

I suggest a feature in the provisioning app that sanitizes the input so this error never happens.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing where the provisioning app accepts and passes the component ID before triggering Jenkins, then compare the quickstarter failure for IDs such as “docs”; done means a colliding ID is handled before provisioning so the build does not fail with the target-directory error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.