← Back to team overview

kicad-developers team mailing list archive

Re: Git ignore status of fp-info-cache files

 

Hi Jeff,

Looks like you've gotten the test executables (e.g. qa_common) inside
your source tree.

All those files there are built binary products, and I'd expect them
to be in your build directory, not the source directory.

Cheers,

John
On Tue, Nov 13, 2018 at 5:28 PM Jeff Young <jeff@xxxxxxxxx> wrote:
>
> Thanks, John.  I pushed your patch.
>
> The trouble I’m seeing with the QA dirs is that they show up as untracked files.  I didn’t check them in because no one else was complaining, so I figured it was something specific to my machine (or to OSX).
>
> Jeffs-MBP:kicad jeff$ git status
> On branch master
> Your branch is up to date with 'origin/master'.
>
> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
>
> eeschema/qa/qa_eagle_plugin
> qa/common/qa_common
> qa/geometry/
> qa/pcb_parse_input/qa_pcb_parse_input
> qa/pcb_test_window/test_window
> qa/polygon_generator/test_polygon_generator
> qa/polygon_triangulation/test_polygon_triangulation
> qa/shape_poly_set_refactor/qa_shape_poly_set_refactor
>
> nothing added to commit but untracked files present (use "git add" to track)
> Jeffs-MBP:kicad jeff$
>
>
> On 12 Nov 2018, at 23:32, John Beard <john.j.beard@xxxxxxxxx> wrote:
>
> Hi Jeff,
>
> Then here is a (micro-)patch to ignore them in the demo directory.
>
> What trouble do you see with the QA dirs?
>
> Cheers,
>
> John
> On Mon, Nov 12, 2018 at 5:45 PM Jeff Young <jeff@xxxxxxxxx> wrote:
>
>
> Either would probably work, but as they’re caches there’s not much benefit in putting them in git and adding them to .gitignore is certainly easier.
>
> I also have trouble with a bunch of the new QA directories.  Anyone else seeing that, or is it OSX-specific?
>
>
> On 12 Nov 2018, at 13:38, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
>
> I'm pretty sure the fp-info-cache files should be added to the
> .gitignore file but Jeff would know for sure.  I ignore them for my
> projects without any issues.
>
>
> On 11/12/2018 7:09 AM, John Beard wrote:
>
> Hi,
>
> Any time I open a demo project in the source tree, I get fp-info-cache
> files in the source tree, which are not .gitignore'd. These clutter
> the git working copy up a bit.
>
> Should these files either be created and committed (and kept up to
> date when the demos change), or added to the .gitignore file?
>
> Cheers,
>
> John
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
> <0001-.gitignore-demo-fp-info-cache-files.patch>
>
>


References