-
Notifications
You must be signed in to change notification settings - Fork 496
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
ag grepper: New package #730
Conversation
@@ -0,0 +1,33 @@ | |||
# Maintainer: Mihail Konev <[email protected]> |
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.
IMO this folder should be named ag-git
.
There should be another folder ag
which installs stable release version.
The same applies to cgvg
.
|
||
pkgname=ag | ||
srcname=the_silver_searcher | ||
pkgver=git |
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.
A fixed pkgver
disables the ability to update this package (via pacman) in the future.
See https://aur.archlinux.org/packages/?O=0&K=-git for a better pkgver
scheme.
Also if you have time:
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/the_silver_searcher
https://wiki.archlinux.org/index.php/Arch_packaging_standards
https://wiki.archlinux.org/index.php/PKGBUILD
|
The gettext package must be supplying the /usr/bin/gettext, while libintl should be enough for gettext().
|
url="https://github.com/ggreer/the_silver_searcher" | ||
groups=('base' 'base-devel') | ||
provides=('ag') | ||
conflicts=('ag') |
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.
Remove provides=('ag')
, conflicts=('ag')
and groups=('base' 'base-devel')
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.
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.
It was package()
in cgvg
that was failing.
@@ -0,0 +1,35 @@ | |||
# Maintainer: Mihail Konev <[email protected]> | |||
|
|||
pkgname=ag |
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.
change pkgname=ag
to pkgname=ag-git
@@ -0,0 +1,29 @@ | |||
# Maintainer: Mihail Konev <[email protected]> | |||
|
|||
pkgname=cgvg |
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.
change pkgname=cgvg
to pkgname=cgvg-git
url="https://github.com/forgottenswitch/cgvg" | ||
groups=('base' 'base-devel') | ||
provides=('cgvg') | ||
conflicts=('cgvg') |
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.
remove groups=('base' 'base-devel')
, provides=('cgvg')
, conflicts=('cgvg')
The cgvg is also implemented here, having profiles concept (but no manpage): |
We already have ag in MINGW-packages so I'm against adding it here too. This came up already about a year ago. |
The named pipe issue can be fixed with some tests for the pipe names. Git for Windows does this. Slightly related, until the pipe handling is fixed, to prevent MINGW-packages ag from thinking it's in pipe mode pass |
Put this into header and patch ag, nodejs, ffmpeg, everything Also:
|
Yes, but we need to be careful of licenses. @kblees, would you consider relicensing this code under BSD so we can use it in GPL and BSD software in MSYS2? If not then we'll need to rewrite it. |
Sure. |
Minimal working example: This also pulls |
"A better grep" and an addon package.
Distributions name it the_silver_searcher.