Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Matěj Cepl
On 2017-11-02, 11:16 GMT, Dominique Pellé wrote:
> For Fedora, I see this link:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=992971
> … but it only seems to have compilation logs, not test logs
> which it less useful than the debian page.

Testsuite is not run while building Fedora/RHEL packages 
apparently.

I have run vim8-1245 locally on RHEL_7/x86_64 and the logs are 
https://mcepl.fedorapeople.org/tmp/vim-1245-check-logs.zip

Also, I run the same src.rpm package here 
https://copr.fedorainfracloud.org/coprs/build/657132/

Best,

Matěj
-- 
http://matej.ceplovi.cz/blog/, Jabber: mceplceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
It is the mark of an educated mind to be able to entertain
a thought without accepting it.
  -- Aristotle

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Matěj Cepl
On 2017-11-02, 11:16 GMT, Dominique Pellé wrote:
> For Fedora, I see this link:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=992971
> ... but it only seems to have compilation logs, not test logs
> which it less useful than the debian page.

I can also do build on the internal systems (I have easily ppc, 
x86_64, s390, aarch64, ppc64le, ppc64, i686, and s390x 
available), unfortunately they are not available from outside.  
I can put logs somewhere.

Best,

Matěj
-- 
http://matej.ceplovi.cz/blog/, Jabber: mceplceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
He loves nature in spite of what it did to him.
  -- Forrest Tucker

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Bram Moolenaar

Dominique wrote:

> I see that the neovim github page has a
> debian CI badge. See:
> https://github.com/neovim/neovim
> 
> How about adding a similar badge in the vim
> github page?  I attach a patch to do that (not tested)
> which links to:
> https://buildd.debian.org/status/package.php?p=vim
> 
> Debian builds on many platforms which is useful
> to have a look at. It's currently using vim-8.0.1226.
> Glancing at those builds logs, I see:
> 
> - failures in Test_popup_and_window_resize() on at least mips
>   hppa, and sparc64 platforms, which are presumably fixed
>   in vim-8.0.1241
> 
> - failures in Test_terminal_composing_unicode() and
>   Test_terminal_special_chars() on hppa platform, See:
>   
> https://buildd.debian.org/status/fetch.php?pkg=vim=hppa=2%3A8.0.1226-1=1509125272=0
> 
> - segfault in Test_finish_open_close() on hurd-386 platform.
>   See: 
> https://buildd.debian.org/status/fetch.php?pkg=vim=hurd-i386=2%3A8.0.1226-1=1509286549=0
> 
> - segfault on alpha platform. See:
>   
> https://buildd.debian.org/status/fetch.php?pkg=vim=alpha=2%3A8.0.1226-1=1509205720=0
> 
> Unfortunately, I see no stack trace when there is a
> segfault so I don't know how we can investigate crashes
> on hurd-386 and alphan platforms.

Thanks.  Makes it easy to find this info.  It's up to the reader what to
do with it, it's quite overwhelming.

-- 
There is no right or wrong, there is only your personal opinion.
 (Bram Moolenaar)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Matěj Cepl
On 2017-11-02, 11:16 GMT, Dominique Pellé wrote:
> I don't think it's silly. It helps to find bugs in Vim on 
> platforms that are rarely used. I was not aware of vim crashes 
> on alpha or hurd x86 until I saw those debian test logs of 
> vim-8.0.1241.  If someone has the time they could be 
> investigated. We should be able to run hurd with QEMU for 
> example. 

For that you should have maintainers on these platforms, 
centralization in one place doesn’t scale. Karsten Hopp just 
have been doing too fine job of maintaining vim on Fedora/RHEL 
to be ignored.

> For Fedora, I see this link:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=992971
> ... but it only seems to have compilation logs, not test logs
> which it less useful than the debian page.

Yeah, we don’t seem to run make check during the build, all 
testing would be in that one log if we did.

How to run a testsuite? Do you need to do something with 
./configure or it just running ``make check``? I can switch that 
on in my COPR on 
https://copr.fedorainfracloud.org/coprs/mcepl/vim8/

Best,

Matěj
-- 
http://matej.ceplovi.cz/blog/, Jabber: mceplceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
If you have a problem and you think awk(1) is the solution, then
you have two problems.
   -- David Tilbrook (at least 1989, source of the later famous
  jwz rant on regular expressions).

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Tony Mechelynck
Well, if you decide to add more links for other distros, openSUSE does
distribute a Vim package (at the moment at version 7.4.326 without,
for some reason, patch 7.4.208). Bugs are reported via
https://bugzilla.opensuse.org in Product "openSUSE Distribution" and,
AFAICT, component "Other". But I doubt how useful it would be to link
to every single OS and distro where Vim happens to be able to run.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie James McCoy
On Thu, Nov 02, 2017 at 06:40:35AM +0100, Dominique Pellé wrote:
> Debian builds on many platforms which is useful
> to have a look at. It's currently using vim-8.0.1226.
> Glancing at those builds logs, I see:
> 
> - failures in Test_popup_and_window_resize() on at least mips
>   hppa, and sparc64 platforms, which are presumably fixed
>   in vim-8.0.1241

I've manually tested the fix on mips, but I'll be doing another upload
soon to see how broadly that works.

> - failures in Test_terminal_composing_unicode() and
>   Test_terminal_special_chars() on hppa platform, See:
>   
> https://buildd.debian.org/status/fetch.php?pkg=vim=hppa=2%3A8.0.1226-1=1509125272=0
> 
> - segfault in Test_finish_open_close() on hurd-386 platform.
>   See: 
> https://buildd.debian.org/status/fetch.php?pkg=vim=hurd-i386=2%3A8.0.1226-1=1509286549=0
> 
> - segfault on alpha platform. See:
>   
> https://buildd.debian.org/status/fetch.php?pkg=vim=alpha=2%3A8.0.1226-1=1509205720=0
> 
> Unfortunately, I see no stack trace when there is a
> segfault

I'll look into detecting crashes and logging backtraces into the build
log.  That would be useful for a first look at issues, especially since
not all of those architectures have accessible porterboxes.

> so I don't know how we can investigate crashes
> on hurd-386 and alphan platforms.

I'd be glad to sponsor[0] access to the porterboxes[1] if you want to
investigate more.  I could also use more help with the Debian packaging
if you're interested in that. ;-)

[0]: https://dsa.debian.org/doc/guest-account/
[1]: https://db.debian.org/machines.cgi?purpose=porterbox

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Dominique Pellé
Matěj Cepl  wrote:

> On 2017-11-02, 05:40 GMT, Dominique Pellé wrote:
>> I see that the neovim github page has a
>> debian CI badge. See:
>> https://github.com/neovim/neovim
>
> That seems like pretty silly thing to do (speaking me as user of
> Fedora/RHEL). Should vim carry some kind of badges for all (how
> many it is?) distros and operating systems it works on?

I don't think it's silly. It helps to find bugs in Vim on platforms
that are rarely used. I was not aware of vim crashes on alpha or
hurd x86 until I saw those debian test logs of vim-8.0.1241.
If someone has the time they could be investigated. We should
be able to run hurd with QEMU for example.

I don't think other distros build Vim on as many platforms as
debian, but if they they have useful pages with build status,
then having a badge that links to them would be fine with me.

For Fedora, I see this link:
https://koji.fedoraproject.org/koji/buildinfo?buildID=992971
... but it only seems to have compilation logs, not test logs
which it less useful than the debian page.

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [patch] added debian build badge

2017-11-02 Fir de Conversatie Matěj Cepl
On 2017-11-02, 05:40 GMT, Dominique Pellé wrote:
> I see that the neovim github page has a
> debian CI badge. See:
> https://github.com/neovim/neovim

That seems like pretty silly thing to do (speaking me as user of 
Fedora/RHEL). Should vim carry some kind of badges for all (how 
many it is?) distros and operating systems it works on?

Best,

Matěj
-- 
http://matej.ceplovi.cz/blog/, Jabber: mceplceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
According to the Franciscan priest Richard Rohr, spirituality is
not for people who are trying to avoid hell; it is for people
who have been through hell. In many ways, spirituality is about
what we do with our pain. And the truth is, if we don't
transform it, we will transmit it.
-- Al Gustafson


-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[patch] added debian build badge

2017-11-01 Fir de Conversatie Dominique Pellé
Hi

I see that the neovim github page has a
debian CI badge. See:
https://github.com/neovim/neovim

How about adding a similar badge in the vim
github page?  I attach a patch to do that (not tested)
which links to:
https://buildd.debian.org/status/package.php?p=vim

Debian builds on many platforms which is useful
to have a look at. It's currently using vim-8.0.1226.
Glancing at those builds logs, I see:

- failures in Test_popup_and_window_resize() on at least mips
  hppa, and sparc64 platforms, which are presumably fixed
  in vim-8.0.1241

- failures in Test_terminal_composing_unicode() and
  Test_terminal_special_chars() on hppa platform, See:
  
https://buildd.debian.org/status/fetch.php?pkg=vim=hppa=2%3A8.0.1226-1=1509125272=0

- segfault in Test_finish_open_close() on hurd-386 platform.
  See: 
https://buildd.debian.org/status/fetch.php?pkg=vim=hurd-i386=2%3A8.0.1226-1=1509286549=0

- segfault on alpha platform. See:
  
https://buildd.debian.org/status/fetch.php?pkg=vim=alpha=2%3A8.0.1226-1=1509205720=0

Unfortunately, I see no stack trace when there is a
segfault so I don't know how we can investigate crashes
on hurd-386 and alphan platforms.

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/README.md b/README.md
index 53795a7..b60b6b6 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@
 [![Coverage Status](https://coveralls.io/repos/vim/vim/badge.svg?branch=master=github)](https://coveralls.io/github/vim/vim?branch=master)
 [![Appveyor Build status](https://ci.appveyor.com/api/projects/status/o2qht2kjm02sgghk?svg=true)](https://ci.appveyor.com/project/chrisbra/vim)
 [![Coverity Scan](https://scan.coverity.com/projects/241/badge.svg)](https://scan.coverity.com/projects/vim)
+[![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim)[![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim)
 
 
 ## What is Vim? ##