-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
pgroonga: init at 1.1.9 #22165
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
pgroonga: init at 1.1.9 #22165
Conversation
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be broken out in to a shorter description and longer longDescription:https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your advice. I've fixed this and have done a rebase.
longDescription = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL."; | ||
homepage = https://pgroonga.github.io/; | ||
license = licenses.postgresql; | ||
maintainers = [ ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make yourself a maintainer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if I using this package in production, so I think I'm not a capable maintainer.
description = "Is a PostgreSQL extension to use Groonga as the index"; | ||
longDescription = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL."; | ||
homepage = https://pgroonga.github.io/; | ||
license = licenses.postgresql; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually licensed under the GNU Lesser General Public License version 2.1. Not sure what to do, since https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix doesn't have that one...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure? See licence section: https://pgroonga.github.io/
PGroonga is released under PostgreSQL license that is similar to BSD license and MIT license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but would like someone to take a look. @joachifm maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know anything abou this software, but added a few superficial nits ...
@@ -0,0 +1,29 @@ | |||
{ stdenv, pkgs, fetchurl, pkgconfig, postgresql, libmsgpack, groonga }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove pkgs
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Is a PostgreSQL extension to use Groonga as the index"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Is a" -> "A"
|
||
meta = with stdenv.lib; { | ||
description = "Is a PostgreSQL extension to use Groonga as the index"; | ||
longDescription = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By "alphabet and digit" do you mean ascii or alphanumeric perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the official description from PGroonga...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. I guess it's referring to alphabetic vs logographic (or whatever its called) writing systems. Anyway, it's not all that important.
Thanks for comments, I've rebased again. |
longDescription = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL."; | ||
homepage = https://pgroonga.github.io/; | ||
license = licenses.postgresql; | ||
maintainers = [ ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DerTim1, would you like to maintain the package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, persuaded...
Motivation for this change
Add Postgresql Plugin pgroonga.
Can e.g. be used with:
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)