[Mesa-dev] [PATCH] bugzilla_mesa.sh: sort the bugs list by number
Ilia Mirkin
imirkin at alum.mit.edu
Fri Jun 19 12:42:24 PDT 2015
I don't suppose you tested this... you probably just want 'sort -n -u'
instead of 'sort-n (which doesn't exist) | uniq'. Double-check that it
works though, not sure if it'll work with the number at the end. But
it might.
On Fri, Jun 19, 2015 at 3:41 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
> Suggested-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> bin/bugzilla_mesa.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bin/bugzilla_mesa.sh b/bin/bugzilla_mesa.sh
> index 491ca0e..9b0cbbc 100755
> --- a/bin/bugzilla_mesa.sh
> +++ b/bin/bugzilla_mesa.sh
> @@ -25,7 +25,7 @@ trim_after='s/\(show_bug.cgi?id=[0-9]*\).*/\1/'
> use_https='s/http:/https:/'
>
> # extract fdo urls from commit log
> -urls=$(git log $* | grep 'bugs.freedesktop.org/show_bug' | sed -e $trim_before -e $trim_after -e $use_https | sort | uniq)
> +urls=$(git log $* | grep 'bugs.freedesktop.org/show_bug' | sed -e $trim_before -e $trim_after -e $use_https | sort-n | uniq)
>
> # if DRYRUN is set to "yes", simply print the URLs and don't fetch the
> # details from fdo bugzilla.
> --
> 2.4.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list