Re: [GNC-dev] openSUSE added to Docker; easy builds for dev and CI

2019-05-27 Thread John Ralls
OK.

Emoji are a bit problematic: Gtk's support for them is still a bit spotty even 
on X11 and is completely broken on MacOS and Win32. Then there's Guile; there 
were a lot of problems with their Unicode handling design in Guile 2.0--it was 
utterly broken on Win32--so if it's really in SRFI64 and works on Ubuntu 18 
then just disabling those tests for Guile 2.0 is probably the right thing to 
do. Debugging Guile internals isn't much fun and they're not going to take 
patches for 2.0 so it would be a waste of time to try and isolate the bug.

Regards,
John Ralls


> On May 27, 2019, at 9:40 AM, Dale Phurrough via gnucash-devel 
>  wrote:
> 
> Yes, I found those two dockers in the gnucash repo, saw what they were
> doing (e.g. param compatibility), and then made new ones with more
> flexibility.
> This is a work-in-progress for me; my first contribution for the community.
> I often gravitate towards things that are multipliers -- helping others to
> help. These dockers help me (so I can compile docs, code) and can help
> other people through individual compiles/setups and through automated
> testing/reporting/build CI systems.
> 
> One of my goals this month is to setup CI with all the Linux containers and
> make a page demonstrating themthe little colored badges showing which
> pass/fail/etc. This will take my testing of these to the next stage.
> Travis is only an example. Yes, there are other service options that can do
> Windows containers (though Travis has early alpha support, and their HQ is
> in Berlin where I live) through not all the services are free for FOSS. I
> found this site w/ an Appveyor docker example
> https://stefanscherer.github.io/setup-windows-docker-ci-appveyor/
> 
> I get the bounding timespan (14.04  -->  Arch) approach. I believe having a
> wider set of OS is also useful. For example, I've found a failure with the
> handling of emoji  on the maintenance branch with more recent Ubuntu's
> and SRFI64. It doesn't appear in 14.04 (because it doesn't have SRFI64),
> Arch, Debian, openSUSE, or CentOS. The current CI isn't catching it. It is
> only Ubuntu 16.04+. I suspect a code bug, change in dependencies,
> additional undocumented setup needs, etc -- all helpful to resolve to
> improve the setup docs, code, test cases, build config, etc. [I have not
> yet logged a  bug as I'm not yet confident I've isolated the issue]
> 
> All feedback is appreciated. And thanks for inquiring
> --Dale
> 
> On Mon, May 27, 2019 at 4:41 PM John Ralls  wrote:
> 
>> 
>> 
>>> On May 27, 2019, at 4:40 AM, Dale Phurrough via gnucash-devel <
>> gnucash-devel@gnucash.org> wrote:
>>> 
>>> Hi all. I've updated the Dockers to build Gnucash for openSUSE 5.0 and
>> 5.1.
>>> https://github.com/diablodale/gnucash-dev-docker
>>> With these, you can build GnuCash 3.5+ on major releases of Ubuntu,
>> Debian,
>>> Arch, CentOS, and openSUSE Linux.
>>> 
>>> These are great for continuous integration (CI) by everyone by unit
>> testing
>>> your code and integrating them into systems like Travis. Also good for
>> new
>>> dev/testers and seeing how to setup your computers with all the needed
>>> dependencies to compile.
>>> 
>>>  - Windows: Blocked due to bugs in the Gnucash-on-Windows project.
>>>  - FreeBSD: The Docker project on FreeBSD died. I won't be delivering
>>>  these.
>>>  - Fedora: coming soon...
>> 
>> Very nice.
>> 
>> You know that we already have Dockers for Arch and Ubuntu-14.04 (Arch
>> because it's always bleeding-edge, Ubuntu originally because that's what
>> Travis-CI supported before Docker came along and latterly because it's a
>> good representative of the oldest dependencies supported for the 3.x
>> series). They're in utils/ci. Travis-CI builds are at
>> https://travis-ci.org/Gnucash/gnucash/builds/
>> 
>> IIUC Travis-CI doesn't do Windows and we need to set up an Appveyor
>> instance for that. Does Appveyor use Docker?
>> 
>> Regards,
>> John Ralls
>> 
>> 
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] openSUSE added to Docker; easy builds for dev and CI

2019-05-27 Thread Dale Phurrough via gnucash-devel
Yes, I found those two dockers in the gnucash repo, saw what they were
doing (e.g. param compatibility), and then made new ones with more
flexibility.
This is a work-in-progress for me; my first contribution for the community.
I often gravitate towards things that are multipliers -- helping others to
help. These dockers help me (so I can compile docs, code) and can help
other people through individual compiles/setups and through automated
testing/reporting/build CI systems.

One of my goals this month is to setup CI with all the Linux containers and
make a page demonstrating themthe little colored badges showing which
pass/fail/etc. This will take my testing of these to the next stage.
Travis is only an example. Yes, there are other service options that can do
Windows containers (though Travis has early alpha support, and their HQ is
in Berlin where I live) through not all the services are free for FOSS. I
found this site w/ an Appveyor docker example
https://stefanscherer.github.io/setup-windows-docker-ci-appveyor/

I get the bounding timespan (14.04  -->  Arch) approach. I believe having a
wider set of OS is also useful. For example, I've found a failure with the
handling of emoji  on the maintenance branch with more recent Ubuntu's
and SRFI64. It doesn't appear in 14.04 (because it doesn't have SRFI64),
Arch, Debian, openSUSE, or CentOS. The current CI isn't catching it. It is
only Ubuntu 16.04+. I suspect a code bug, change in dependencies,
additional undocumented setup needs, etc -- all helpful to resolve to
improve the setup docs, code, test cases, build config, etc. [I have not
yet logged a  bug as I'm not yet confident I've isolated the issue]

All feedback is appreciated. And thanks for inquiring
--Dale

On Mon, May 27, 2019 at 4:41 PM John Ralls  wrote:

>
>
> > On May 27, 2019, at 4:40 AM, Dale Phurrough via gnucash-devel <
> gnucash-devel@gnucash.org> wrote:
> >
> > Hi all. I've updated the Dockers to build Gnucash for openSUSE 5.0 and
> 5.1.
> > https://github.com/diablodale/gnucash-dev-docker
> > With these, you can build GnuCash 3.5+ on major releases of Ubuntu,
> Debian,
> > Arch, CentOS, and openSUSE Linux.
> >
> > These are great for continuous integration (CI) by everyone by unit
> testing
> > your code and integrating them into systems like Travis. Also good for
> new
> > dev/testers and seeing how to setup your computers with all the needed
> > dependencies to compile.
> >
> >   - Windows: Blocked due to bugs in the Gnucash-on-Windows project.
> >   - FreeBSD: The Docker project on FreeBSD died. I won't be delivering
> >   these.
> >   - Fedora: coming soon...
>
> Very nice.
>
> You know that we already have Dockers for Arch and Ubuntu-14.04 (Arch
> because it's always bleeding-edge, Ubuntu originally because that's what
> Travis-CI supported before Docker came along and latterly because it's a
> good representative of the oldest dependencies supported for the 3.x
> series). They're in utils/ci. Travis-CI builds are at
> https://travis-ci.org/Gnucash/gnucash/builds/
>
> IIUC Travis-CI doesn't do Windows and we need to set up an Appveyor
> instance for that. Does Appveyor use Docker?
>
> Regards,
> John Ralls
>
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] openSUSE added to Docker; easy builds for dev and CI

2019-05-27 Thread John Ralls



> On May 27, 2019, at 4:40 AM, Dale Phurrough via gnucash-devel 
>  wrote:
> 
> Hi all. I've updated the Dockers to build Gnucash for openSUSE 5.0 and 5.1.
> https://github.com/diablodale/gnucash-dev-docker
> With these, you can build GnuCash 3.5+ on major releases of Ubuntu, Debian,
> Arch, CentOS, and openSUSE Linux.
> 
> These are great for continuous integration (CI) by everyone by unit testing
> your code and integrating them into systems like Travis. Also good for new
> dev/testers and seeing how to setup your computers with all the needed
> dependencies to compile.
> 
>   - Windows: Blocked due to bugs in the Gnucash-on-Windows project.
>   - FreeBSD: The Docker project on FreeBSD died. I won't be delivering
>   these.
>   - Fedora: coming soon...

Very nice.

You know that we already have Dockers for Arch and Ubuntu-14.04 (Arch because 
it's always bleeding-edge, Ubuntu originally because that's what Travis-CI 
supported before Docker came along and latterly because it's a good 
representative of the oldest dependencies supported for the 3.x series). 
They're in utils/ci. Travis-CI builds are at 
https://travis-ci.org/Gnucash/gnucash/builds/

IIUC Travis-CI doesn't do Windows and we need to set up an Appveyor instance 
for that. Does Appveyor use Docker?

Regards,
John Ralls

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel