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 6.0.0 #117

Closed
14 tasks done
myokoym opened this issue Mar 2, 2016 · 7 comments
Closed
14 tasks done

Release 6.0.0 #117

myokoym opened this issue Mar 2, 2016 · 7 comments

Comments

@myokoym
Copy link
Member

myokoym commented Mar 2, 2016

I'll release on March 6.

See doc/text/release.md.

@myokoym myokoym mentioned this issue Mar 6, 2016
@myokoym
Copy link
Member Author

myokoym commented Mar 6, 2016

rake build:windows is failing on my Debian GNU/Linux (sid)...

% rake build:windows
WARNING: rake-compiler found compiled files in 'ext/groonga' directory. Please remove them.
rm -rf tmp/windows
mkdir -p tmp/windows
rake-compiler-dock bash -c "git clone file:///home/myokoym/work/groonga/rroonga/.git tmp/windows && cd tmp/windows && gem install json && bundle && rake cross native gem RUBY_CC_VERSION\\=2.1.6:2.2.2:2.3.0"
rake aborted!
RakeCompilerDock::DockerIsNotAvailable: Docker is not available
/home/myokoym/work/groonga/rroonga/Rakefile:185:in `block (4 levels) in <top (required)>'
Tasks: TOP => build:windows => build:windows:x86
(See full trace by running task with --trace)
Docker client tools work, but connection to the local docker server failed.
Please make sure the docker daemon is running.

On Ubuntu/Debian:
   sudo service docker start
or
   sudo service docker.io start

On Fedora/Centos/RHEL
   sudo systemctl start docker

On SuSE
   sudo systemctl start docker

Then re-check with 'docker version'
or have a look at our FAQs: http://git.io/vm8AL

docker version:

% docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.5.1
 Git commit:   f4bf5c7
 Built:        
 OS/Arch:      linux/amd64
Get http://%2Fvar%2Frun%2Fdocker.sock/v1.20/version: dial unix /var/run/docker.sock: connect: permission denied.
* Are you trying to connect to a TLS-enabled daemon without TLS?
* Is your docker daemon up and running?
% sudo docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.5.1
 Git commit:   f4bf5c7
 Built:        
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.5.1
 Git commit:   f4bf5c7
 Built:        
 OS/Arch:      linux/amd64

docker.service status:

● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
   Active: active (running) since 日 2016-03-06 18:50:54 JST; 3h 53min ago
     Docs: https://docs.docker.com
 Main PID: 14922 (docker)
   CGroup: /system.slice/docker.service
           └─14922 /usr/bin/docker daemon -H fd://

 3月 06 18:50:54 myokobian docker[14922]: time="2016-03-06T18:50:54.711186943+09:00" level=info msg="Docker daemon" commit=f4bf5c7 execdriver=native-0.2 graphdriver=aufs version=1.8.3
 3月 06 18:50:54 myokobian docker[14922]: time="2016-03-06T18:50:54.711299639+09:00" level=info msg="Listening for HTTP on fd ()"
 3月 06 18:51:52 myokobian systemd[1]: Started Docker Application Container Engine.
 3月 06 19:13:30 myokobian docker[14922]: time="2016-03-06T19:13:30.478008206+09:00" level=info msg="GET /v1.20/version"
 3月 06 19:14:20 myokobian systemd[1]: Started Docker Application Container Engine.
 3月 06 20:03:28 myokobian systemd[1]: Started Docker Application Container Engine.
 3月 06 22:37:03 myokobian systemd[1]: Started Docker Application Container Engine.
 3月 06 22:38:06 myokobian systemd[1]: Started Docker Application Container Engine.
 3月 06 22:40:36 myokobian docker[14922]: time="2016-03-06T22:40:36.705513609+09:00" level=info msg="GET /v1.20/version"
 3月 06 22:40:43 myokobian docker[14922]: time="2016-03-06T22:40:43.715450631+09:00" level=info msg="GET /v1.20/version"

gem list:

% gem list | grep rake
airbrake (5.1.0, 5.0.5)
airbrake-ruby (1.1.0, 1.0.4)
rake (10.5.0, 10.4.2)
rake-compiler (0.9.6, 0.9.5)
rake-compiler-dock (0.5.1, 0.5.0)

@kou
Copy link
Member

kou commented Mar 6, 2016

Run the following command and re-login:

% sudo adduser $USER docker

@myokoym
Copy link
Member Author

myokoym commented Mar 6, 2016

Thanks! This problem has been solved by your advice.

@myokoym
Copy link
Member Author

myokoym commented Mar 13, 2016

I'm translating the release announce to English.
@cosmo0920 Could you review the following draft?

Hi,

Rroonga 6.0.0 has been released on March 6.
It's a major upgrade for the first time in the year!

Web: http://ranguba.org/#about-rroonga
GitHub: https://github.com/ranguba/rroonga

Here are changes since Rroonga 5.1.1:
  http://ranguba.org/rroonga/en/file.news.html#version-6-0-0

About Rroonga
-------------

Rroonga is the Ruby bindings for Groonga.
Here are two important things in Rroonga.

  1. Providing *Ruby-ish* API to use Groonga.
  2. Providing *fast* operations like Groonga.

They mean that Rroonga provides easy to use API without
decreasing Groonga's speed.

Install
-------

  % gem install rroonga

Tutorial
--------

There are a tutorial that uses irb:
  http://ranguba.org/rroonga/en/file.tutorial.html

If you are a beginner, please try it.

Topics
------

This release has a backward incompatible change for Groonga::Table#select with :

Disabled auto conversion to record ID from number object in condition block.
The number object is treated as key not ID from this release. Because we
couldn't specify Int/UInt family type key as number object. The number object
was always treated as ID not key.

For example:

     Groonga::Schema.define do |schema|
       schema.create_table("Users", key_type: :integer) do |table|
         table.short_text("name")
       end
       schema.create_table("Records", type: :array) do |table|
         table.reference("user", "Users")
       end
     end

     users = Groonga["Users"]
     alice = users.add(2, name: "Alice")
     p alice.id # => 1
     bob = users.add(1, name: "Bob")
     p bob.id # => 2

     records = Groonga["Records"]
     records.add(user: alice)
     records.add(user: bob)

     selected_records = records.select do |record|
       record.user == 1
     end
     p selected_records.collect {|record| record.user.name}
     # Returns ["Alice"] in Rroonga 5.1.1
     # Returns ["Bob"] in Rroonga 6.0.0

If you want to specify record ID as right hand side value in 6.0.0, you need
to pass Groonga::Record:

     selected_records = records.select do |record|
       record.user == alice
     end

@cosmo0920
Copy link
Member

How about following modification?

--- rroonga-6.0.0-announce.txt.orig 2016-03-13 16:16:13.000000000 +0900
+++ rroonga-6.0.0-announce.txt  2016-03-13 16:22:37.000000000 +0900
@@ -1,7 +1,7 @@
 Hi,

 Rroonga 6.0.0 has been released on March 6.
-It's a major upgrade for the first time in the year!
+It's a major upgrade for the first time in this year!

 Web: http://ranguba.org/#about-rroonga
 GitHub: https://github.com/ranguba/rroonga
@@ -13,12 +13,12 @@ About Rroonga
 -------------

 Rroonga is the Ruby bindings for Groonga.
-Here are two important things in Rroonga.
+Here are two important concepts in Rroonga.

   1. Providing *Ruby-ish* API to use Groonga.
   2. Providing *fast* operations like Groonga.

-They mean that Rroonga provides easy to use API without
+They mean that Rroonga provides easy to use API from Ruby without
 decreasing Groonga's speed.

 Install
@@ -32,16 +32,16 @@ Tutorial
 There are a tutorial that uses irb:
   http://ranguba.org/rroonga/en/file.tutorial.html

-If you are a beginner, please try it.
+If you are a newbie for Rroonga, please try it.

 Topics
 ------

 This release has a backward incompatible change for Groonga::Table#select with :

-Disabled auto conversion to record ID from number object in condition block.
+Disabled auto conversion against record ID from number object in condition block.
 The number object is treated as key not ID from this release. Because we
-couldn't specify Int/UInt family type key as number object. The number object
+couldn't specify Int/UInt related type key as a number object. A number object
 was always treated as ID not key.

 For example:
  • the year -> this year
  • things -> concepts
  • added from Ruby
  • a beginner -> a newbie for Rroonga
  • to record ID -> against record ID (Sorry, I don't have confidence for this change.)
  • family type -> related type
    • Because type family is entirely different concept and this words confusable.

@myokoym
Copy link
Member Author

myokoym commented Mar 13, 2016

Thanks for your quick response! I've modified it and sent it to the ML.
https://sourceforge.net/p/groonga/mailman/message/34931231/

@myokoym
Copy link
Member Author

myokoym commented Mar 13, 2016

Completed. Thanks for your help.

@myokoym myokoym closed this as completed Mar 13, 2016
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