Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-23 Thread Brian Piccioni
Eeli and Carsten Thanks for the additional info.  The reason I was working of the git information was in response to Simon earlier in this thread who suggested it. If git was the way to go I wanted to include it because people like me find that there is typically plenty of instructions regarding the use of developmentTools on things like Linux but very little on Windows/msys. Moreover, accomplished developers know this stuff implicitly whereas the rest of us do not. Same goes for things like cmake, etc.. Brian From: Eeli KaikkonenSent: November 23, 2019 4:35 AMTo: Carsten SchoenertCc: KiCad DevelopersSubject: Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2   la 23. marrask. 2019 klo 11.11 Carsten Schoenert ([email protected]) kirjoitti:Hello Eli,Am 23.11.19 um 10:03 schrieb Eeli Kaikkonen:> BTW, it's unnecessarily verbose to say "git pull origin master". Just> "git pull" is enough when you are in the local master branch.no it's not.Your statement is only true if the user hasn't added one ore moreremotes. If you have only one remote configured git tries to be smartand is substitute the rest for the command by the obviously logical value.So, if you want to be safe than the full command line is correct. Oh yeah. I took a shortcut and thought about my normal situation when I have checked out a branch (master), although I added " when you are in the local master branch". Anyways it's best to give as simple instructions for getting the source code as possible and leave everything else for homework for the user. Eeli (with 2 e's) 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-23 Thread Eeli Kaikkonen
la 23. marrask. 2019 klo 11.11 Carsten Schoenert ([email protected])
kirjoitti:

> Hello Eli,
>
> Am 23.11.19 um 10:03 schrieb Eeli Kaikkonen:
> > BTW, it's unnecessarily verbose to say "git pull origin master". Just
> > "git pull" is enough when you are in the local master branch.
>
> no it's not.
> Your statement is only true if the user hasn't added one ore more
> remotes. If you have only one remote configured git tries to be smart
> and is substitute the rest for the command by the obviously logical value.
>
> So, if you want to be safe than the full command line is correct.
>
>
>
Oh yeah. I took a shortcut and thought about my normal situation when I
have checked out a branch (master), although I added " when you are in the
local master branch". Anyways it's best to give as simple instructions for
getting the source code as possible and leave everything else for homework
for the user.

Eeli (with 2 e's)
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-23 Thread Carsten Schoenert
Hello Eli,

Am 23.11.19 um 10:03 schrieb Eeli Kaikkonen:
> BTW, it's unnecessarily verbose to say "git pull origin master". Just
> "git pull" is enough when you are in the local master branch.

no it's not.
Your statement is only true if the user hasn't added one ore more
remotes. If you have only one remote configured git tries to be smart
and is substitute the rest for the command by the obviously logical value.

So, if you want to be safe than the full command line is correct.

-- 
Regards
Carsten Schoenert

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-23 Thread Eeli Kaikkonen
la 23. marrask. 2019 klo 4.05 Brian Piccioni ([email protected])
kirjoitti:

> Can Simon or somebody who understands such things verify that the
> following is correct so I can update my recipe?
>
>
>
> Thanks
>
>
>
> ==
>
>
>
> In Mingw64
>
>
>
> git clone https://github.com/KiCad/kicad-source-mirror.git
>
>
>
> This will create a local repository directory called kicad-source-mirror
>
>
>
> At any time you can update the repository by
>
>
>
> cd kicad-source-mirror
>
> git pull origin master
>
>
>
> Note that this will leave files which are in kicad-source-mirror but not
> in the kicad source repository unaffected.
>
> *** However *** they will over write your versions of those files! So if
> you edit cmakelists.txt or any other Kicad source file those edits will be
> lost.
>
>
>
Git pull tries to merge the upstream changes to your files. If there are no
conflicts the upstream changes and your own changes will both be in your
local files.

I don't think it's necessary to teach people how to use git in these
instructions. Just simple "download the source zip package and unzip it or
use git clone so that the sources are in such and such directory, for
example:..." and the simple unzip command line and the simple git clone
command line. You don't give further instructions about using unzip, either.

BTW, it's unnecessarily verbose to say "git pull origin master". Just "git
pull" is enough when you are in the local master branch. It's a shortcut
for "git fetch" + "git merge"; for details see e.g.
https://stackoverflow.com/questions/292357/what-is-the-difference-between-git-pull-and-git-fetch
or a git tutorial. (Now you can see why you shouldn't try to give extra
information about git in these instructions. Those who want to use git can
read a git tutorial.)

Eeli Kaikkonen
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-22 Thread Brian Piccioni
Can Simon or somebody who understands such things verify that the following is correct so I can update my recipe? Thanks == In Mingw64 git clone https://github.com/KiCad/kicad-source-mirror.git This will create a local repository directory called kicad-source-mirror At any time you can update the repository by cd kicad-source-mirrorgit pull origin master  Note that this will leave files which are in kicad-source-mirror but not in the kicad source repository unaffected.*** However *** they will over write your versions of those files! So if you edit cmakelists.txt or any other Kicad source file those edits will be lost.   From: Simon RichterSent: November 22, 2019 6:46 AMTo: [email protected]: Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2 Hi, On Thu, Nov 21, 2019 at 09:30:48PM -0500, Brian Piccioni wrote: > Download the Kicad source files from https://github.com/KiCad/kicad-source-mirror > Untar or unzip into /home/kicad-source-mirror-master This probably should be "use git to get the source tree", otherwise I thinkthis might be a valuable addition to the website.    Simon ___Mailing list: https://launchpad.net/~kicad-developersPost to : [email protected] : https://launchpad.net/~kicad-developersMore help   : https://help.launchpad.net/ListHelp 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-22 Thread Brian Piccioni
Simon  I have never figured out how to use git to fetch sources. If you can direct me to something like a Linux command line example I would appreciate it otherwise I’ll set it as a background task. Brian From: Simon RichterSent: November 22, 2019 6:46 AMTo: [email protected]: Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2 Hi, On Thu, Nov 21, 2019 at 09:30:48PM -0500, Brian Piccioni wrote: > Download the Kicad source files from https://github.com/KiCad/kicad-source-mirror > Untar or unzip into /home/kicad-source-mirror-master This probably should be "use git to get the source tree", otherwise I thinkthis might be a valuable addition to the website.    Simon ___Mailing list: https://launchpad.net/~kicad-developersPost to : [email protected] : https://launchpad.net/~kicad-developersMore help   : https://help.launchpad.net/ListHelp 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Building Kicad on Windows 10/Eclipse/Msys2

2019-11-22 Thread Simon Richter
Hi,

On Thu, Nov 21, 2019 at 09:30:48PM -0500, Brian Piccioni wrote:

> Download the Kicad source files from 
> https://github.com/KiCad/kicad-source-mirror ;
> Untar or unzip into /home/kicad-source-mirror-master

This probably should be "use git to get the source tree", otherwise I think
this might be a valuable addition to the website.

   Simon

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp