Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disallow updating to point at empty repo, with an informative message #7160

Closed
LeeMeyer opened this issue Nov 11, 2021 · 2 comments
Closed
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving

Comments

@LeeMeyer
Copy link

LeeMeyer commented Nov 11, 2021

Currently if we have already converted a project to version control we get the error A document must have an identifier before it can be tracked. (Parameter 'Id')

It's quite unclear to anyone outside of the config is code team what this actually means, but it boils down to that if a repository is empty and we try to point a config as code project at it, we will expect valid OCL and error out if we do not find it. It's legitimate to point at a repository that contains OCL, but if it's empty the likely fix is that we display a human-readable error message that explains we couldn't find valid OCL in the provided repository, and to either update the repository with valid OCL or point at a repository that contains valid OCL.

@cstrzadala cstrzadala added the kind/bug This issue represents a verified problem we are committed to solving label Nov 15, 2021
@StephenHeise StephenHeise self-assigned this Nov 23, 2021
@StephenHeise
Copy link

Release Note: Improve the error message when the deployment settings file can not be found in the Git repo.

@Octobob
Copy link
Member

Octobob commented Apr 11, 2022

🎉 The fix for this issue has been released in:

Release stream Release
2021.3 2021.3.9150
2022.1+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

4 participants