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

Better exception #44053

Closed
wants to merge 1 commit into from
Closed

Better exception #44053

wants to merge 1 commit into from

Conversation

ari
Copy link
Contributor

@ari ari commented Oct 12, 2017

After spending an hour trying to figure out why I had a key error in an orchestration state I realised that saltstack requires a runner id with a dot. A clearer error message will save the next person wasting the same time.

What does this PR do?

Improve error message.

After spending an hour trying to figure out why I had a key error in an orchestration state I realised that saltstack requires a runner id with a dot. A clearer error message will save the next person wasting the same time.
@rallytime
Copy link
Contributor

Thank you for submitting this change @ari. That will be helpful for other users.

Can you submit this against the 2017.7 branch? The 2017.7.2 branch is closed for contributions at this time.

@cachedout
Copy link
Contributor

I would actually vote for the develop branch on this.

@ari
Copy link
Contributor Author

ari commented Oct 12, 2017

I'm happy if you want to copy this commit anywhere that makes sense to you, or adjust it to suit the project styling better.

@rallytime
Copy link
Contributor

@ari If you could move it to develop, that would be great. Thanks!

@cachedout
Copy link
Contributor

I will close this for now. When it is moved to the new branch we will look at it there. Thanks.

@cachedout cachedout closed this Oct 16, 2017
@ari
Copy link
Contributor Author

ari commented Oct 21, 2017

I refer to your own documentation here: https://docs.saltstack.com/en/latest/topics/development/contributing.html

If you're working on a bug or documentation fix, create your branch from the oldest release branch that contains the bug or requires the documentation update.

Clearly I've misunderstood your merge-forward policy or what constitutes documentation or feature, so rather than me navigating it or duplicating the entire pull request and commit (even though it is trivial) perhaps you'd like to just make a similar change to the code base wherever you choose. If not, no problem, I'm personally not likely to make this mistake again anyhow. This was just me trying to help out the next person.

@rallytime
Copy link
Contributor

Hi @ari - Yes, we do typically like bug fixes in the oldest release branch. However, we also occasionally request that bug fixes to sensitive areas of the code be submitted to develop. That way we can reduce regression potential as the change can bake in develop before releasing.

In addition, we've recently added a new process with the year.month branches to also include a year.month.release-num branch which we're handling a bit differently to help with release stability. I've added some documentation here, specifically in the Main Release Branches and Dot Release Branches to help distinguish this, but any suggestions of how to make that more clear are welcome!

rallytime pushed a commit that referenced this pull request Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants