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

Release #29

Closed
mostlyobvious opened this issue Jul 20, 2012 · 17 comments
Closed

Release #29

mostlyobvious opened this issue Jul 20, 2012 · 17 comments
Labels

Comments

@mostlyobvious
Copy link
Collaborator

What do you think about releasing some pre version to rubygems with current state?

@paneq
Copy link
Collaborator

paneq commented Jul 22, 2012

connection = M2R::Connection.new(options[:sender_id], options[:recv_addr], options[:send_addr])

This line from handler.rb no longer works as it was changed to Connection.for which means we have no idea that our rack handler is broken which means we do not have enough tests to even detect it currently. +1 for release from me when we catch up a little bit on testing.

@mostlyobvious
Copy link
Collaborator Author

I thought about doing release in 0.x version. As stated in semver:

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

Not sure why someone tagged it as 1.0.

+1 for more testing.

@paneq
Copy link
Collaborator

paneq commented Jul 24, 2012

Didn't know that 0.* can still break anything so I started tagging with 1.0 as we actually did break the api.

@mostlyobvious
Copy link
Collaborator Author

Problem is, we didn't advertise as semver before. I don't want to break existing ~>. Maybe this isn't a problem though.

@paneq
Copy link
Collaborator

paneq commented Jul 24, 2012

I don't see a problem. Why not release 1.0.0 ?

@mostlyobvious
Copy link
Collaborator Author

Because of breaking change version increments. I wanted some non-constraining release (in terms of public api) to check whether it's good enough for potential use cases.

@paneq
Copy link
Collaborator

paneq commented Jul 24, 2012

There is no easy solution I guess. I would start by releasing 0.1. If anyone had ~> 0.0.3 this new release will not be installed. For ~> 0.0 the update would be installed but I guess no one expected stability from such early version. And I can't imagine anyone putting such statement in Gemfile :). Besides it was installed less than 1.5K times only: https://rubygems.org/gems/m2r .

@paneq
Copy link
Collaborator

paneq commented Jul 25, 2012

What more do we need to have release ? One acceptance test ? What tooling should be used for such test in your opinion ?

@mostlyobvious
Copy link
Collaborator Author

Acceptance test for full-stack rack adapter scenario will be fine. Also another one for plain handler. I don't think that more than http client library is needed like net/http or HttpClient.

@paneq
Copy link
Collaborator

paneq commented Jul 26, 2012

But should we run rack adapter and mongrel2 as separate processes during such acceptance test ? I agree about just using client library for testing it.

@mostlyobvious
Copy link
Collaborator Author

Yes, there should be separate process. Let citrus test case guide you: https://github.com/pawelpacana/citrus/blob/master/test/support/acceptance_test_case.rb

@paneq
Copy link
Collaborator

paneq commented Jul 27, 2012

I will use bbq and capybara-mechanize.

@paneq
Copy link
Collaborator

paneq commented Jul 31, 2012

Take a look at #36 . Marking parts of the api as private or public is the last thing we should do before the release, right?

@paneq
Copy link
Collaborator

paneq commented Sep 1, 2012

@pawelpacana Documentation is improved. Do you think we can release a new version ?

@mostlyobvious
Copy link
Collaborator Author

Make acceptance tests pass on CI and push 0.1.0.

@paneq
Copy link
Collaborator

paneq commented Oct 1, 2012

We need to figure out why rbx fails and we can release new version: https://travis-ci.org/#!/perplexes/m2r/jobs/2402260

@paneq
Copy link
Collaborator

paneq commented Oct 29, 2012

Done! :)

@paneq paneq closed this as completed Oct 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants