[GNC-dev] automated tech for setup of builds + HELLO
dale at hidale.com
Wed May 15 12:01:02 EDT 2019
Thanks for everyone's feedback. I've released
https://github.com/diablodale/gnucash-dev-docker a set of Docker containers
and an example docker-compose to automate.
I appreciate everyone's feedback on these and my approach. These enable a
dev or hacker to start developing on gnucash in 5 minutes.
These will spin up all/any set of the below operating systems, configure a
gnucash dev build environment, and with various defaults/options git clone
gnucash at any branch/tag/commit, run unit tests, do install, etc.
- Ubuntu 14.04, 16.04, 18.04, 19.04
- Debian 8, 9
These all successfully compile, pass unit tests, have working OFX and
Want a single command? I've got it. "docker-compose up -d" will
automatically and simultaneously spin up containers for all the above OSs,
clone gnucash 3.5, build, and test it.
Yes, I run seven containers all building and running gnucash on my laptop.
Since X11 can easily be remoted, I run gnucash from within all these
containers and see the UI on my same laptop computer. See README or
docker-compose.yml for easy way to set DISPLAY
I designed these with the intention for CI. There are options to enable
exposing test results and exit codes for integration into systems like
Travis. The existing Travis CI docker images in the gnucash git repo have
some limitations and have not been updated for the GnuCash 3.x series (e.g.
- CentOs and Fedora containers soon
- *@Steve Butler*, the doc builds I'll gladly collaborate with you! :-)
I would like to have a similar easy-breezy doc build.
- Windows will take longer.
- FreeBSD, MacOS containers are seeking volunteers. I don't have
available metal for FreeBSD or Mac.
- Few more config options to make these richer/useful. Requests are
welcome. Already thinking about GNC_EXTRA_PACKAGES and GNC_POST_BUILD_CMD
- VSCode remote development works well into these containers. Easy
On Fri, May 10, 2019 at 6:40 PM Stephen M. Butler <kg7je at arrl.net> wrote:
> On 5/10/19 5:06 AM, Dale Phurrough via gnucash-devel wrote:
> > Hi. I'm Dale and introducing myself + an inquiry.
> > I migrated Quicken->Gnucash 3.5 in April. I chose GnuCash so that I can
> > contribute.
> > ===Inquiry
> > *Where is the standard automated setup and build process for gnucash app
> > and docs?*
> Welcome aboard Dale. I'm Steve. Former Oracle DBA and the last decade
> as an IT Software development manager. However, my programming
> languages are old school. I'm not retired.
> > One of the issues I encountered is a doc issue. To resolve, I need to
> > edit/build gnucash docs. I also read recently on this mailing list
> > trying to get a dev build environment setup. And what happens when all
> > devs currently compiling official releases on GnuCash die...what is the
> > project continuance? These are common problems likely with a shared
> > solution using technology like containers/Docker.
> I'm trying to build the gnucash-docs debian package for Ubuntu --
> Disco. But I really need someone who understands Java setup (especially
> on Disco) and the dpkg_buildpackage environment.
> > If there is no such automated setup and build process tech, *I offer to
> > create the first two of them*. One to build doc, and one to build an
> > for Ubuntu 14.04.
> I have been working on a script to take a local git clone of gnucash and
> gnucash-docs to create a debian package that is usable by most folks in
> the debian world but do so from a Ubuntu box. So far it has taken a lot
> of hand-holding. One of the other members here shared a script to setup
> the environment for a local compile. That can be shared around. Once
> that is done, a local compile and install consists of "cmake ....;
> make; sudo make install" The options to cmake depend on what you want
> to include and the relative location of the source from the directory in
> which you do the build.
> Building a debian package is only slightly more involved.
> Eventually I'd like a script that can take the source from github and
> generate a series of debian packages in a ppa on launchpad. Interested?
> > <<snip>>
> > I currently live in Berlin, Germany. Mein Deutsch ist...funktional.
> > English-US is my mother tongue.
> Mein Deutch ist nien! Some folks feel my native tongue is COBOL (I
> actually prefer PL/SQL and KSH now) but English comes in a close second.
> Stephen M Butler, PMP, PSM
> Stephen.M.Butler51 at gmail.com
> kg7je at arrl.net
> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
More information about the gnucash-devel