Yes, git pull updates what you already have. There's a lot to git and
it can quickly become confusing, but to just build gnucash you don't
really need to know much about it. In simple terms, it is a database
that records changes to files/code. Making an analogy to gnucash, each
git commit is like a transaction. When you git clone you are getting a
copy of all of the transactions at that point in time; when you git
pull you download any new transactions; and git checkout takes you to
a certain point in the transactions (so you can see the "balance" of
the code at that point). This analogy will probably break very
quickly, so I won't go any further!

I'm glad you were able to build it OK.

David

On Mon, 27 Dec 2021 at 09:57, David H <[email protected]> wrote:
>
> David,
>
> Thanks for the heads up on the git pull, I guess that just updates what I've 
> already got?  Git is all new to me as well so I'll have to do some reading up 
> on it and I'll keep an eye out on the wiki for the details.
>
> Thanks again for doing this, it's actually nudged me enough to try building 
> something on linux which seems to have gone OK !!!
>
> Cheers David H.
>
>
> On Mon, 27 Dec 2021 at 18:18, david whiting <[email protected]> wrote:
>>
>> Apologies, yes, that was sloppiness on my part. I was so focussed on
>> making sure that the scripts would reliably build on different
>> releases of ubuntu, I didn't add the last line to actually install it.
>> I rectified that in the scripts on the wiki. Note that in future to
>> build and install newer versions, you won't need to run the whole
>> script because the dependencies will already be there, and rather than
>> git clone, you will want to git pull. I'll add another script for that
>> to the wiki.
>>
>> David
>>
>> On Mon, 27 Dec 2021 at 01:10, David H <[email protected]> wrote:
>> >
>> > Thanks for your scripts David,
>> >
>> > I thought I'd give building on Ubuntu a shot using your scripts from a 
>> > couple of days ago as I usually just use the Flatpak version on linux and 
>> > have never built anything on linux :-)  I just entered each command one 
>> > after another in a terminal window so I could see what was happening which 
>> > seemed to work ok but looking at the build dir it built gnucash ok but 
>> > never installed it.  I noticed the "sudo make install" in your published 
>> > versions on the wiki this morning and went back into the build dir and ran 
>> > the "sudo make install" and it installed ok in /opt/gnucash.  I'm assuming 
>> > from this I need to add the "sudo make install" to the script for it to 
>> > build and install in future?
>> >
>> > Cheers David H.
>> >
>> >
>> > On Mon, 27 Dec 2021 at 08:36, david whiting <[email protected]> 
>> > wrote:
>> >>
>> >> I've added scripts for building gnucash in Ubuntu 20.04 LTS and 21.10
>> >> to the wiki https://wiki.gnucash.org/wiki/Building_On_Linux in the
>> >> section at the end called Distribution Specific Issues, which seemed
>> >> to fit in with what was already there. Let me know if you think it
>> >> should go elsewhere.
>> >>
>> >> I have decided to put in the whole script for each version of ubuntu,
>> >> even though they are very similar to make it easier for people to just
>> >> copy the whole script.
>> >>
>> >> David
>> >> --
>> >> David Whiting
>> >> _______________________________________________
>> >> gnucash-user mailing list
>> >> [email protected]
>> >> To update your subscription preferences or to unsubscribe:
>> >> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> >> If you are using Nabble or Gmane, please see 
>> >> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> >> -----
>> >> Please remember to CC this list on all your replies.
>> >> You can do this by using Reply-To-List or Reply-All.
>>
>>
>>
>> --
>> David Whiting



-- 
David Whiting
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to