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

osr sr -d in a project directory directly creates submit requests #29

Closed
andreasstieger opened this issue May 2, 2013 · 3 comments
Closed

Comments

@andreasstieger
Copy link
Member

I created a branch project with two packages, based on packages in the same source project, using "osc bco" each.

I modified each package and committed. I went ahead and created a submit request on one package to the parent project.

I issues "osc sr -d" in the directory containing the branch project. I expected a) the project diff or b) the message that this was not yet supported. Instead, submit requests for both packages were issued. This violated the rule of least surprise.

In addition, a submit request was issued when the same one already existed.

marcus-h added a commit that referenced this issue May 2, 2013
@marcus-h
Copy link
Member

marcus-h commented May 2, 2013

On 2013-05-02 13:08:34 -0700, andreasstieger wrote:

I created a branch project with two packages, based on packages in the same source project, using "osc bco" each.

I modified each package and committed. I went ahead and created a submit request on one package to the parent project.

I issues "osc sr -d" in the directory containing the branch project. I expected a) the project diff or b) the message that this was not yet supported. Instead, submit requests for both packages were issued. This violated the rule of least surprise.

Fixed in commit 6915004.

In addition, a submit request was issued when the same one already existed.

Hmm what do you exactly mean? Should osc check for each package if there
are existing submitrequests and if so offer the possibility to supersede
them?

@andreasstieger
Copy link
Member Author

I think in the last case it should behave like it does when submitting packages. I believe there is no automatic superseding for package submit requests, and they are not cancelled, so this wouldn't be required. So with the commit I think this is closed for me.

@lethliel
Copy link
Member

Ok. So we can close this now.

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

No branches or pull requests

3 participants