Difference between kirby folders main repo vs plainkit

So I am in the process of testing a pipeline, but I don’t want to upload unnecessary files to the server.

I have kirby included via a submodule, but my process will obviously upload everything from the kirby repository. I can define files within my pipeline that I don’t want uploading, so I am trying to compile that list.

If I look here


I can already see that unnecessary files are already taken into account when moving the kirby folder into plainkit.

So I am currently doing a diff between these two URLs


and

But I was wondering if there is a definitive list that you already have?

Currently I have

kirby/.github/*
kirby/.tx/*
kirby/scripts/*
kirby/tests/*
kirby/.coveralls.yml
kirby/.editorconfig
kirby/.gitattributes
kirby/.gitignore
kirby/travis.yml
kirby/composer.json
kirby/composer.lock
kirby/phpunit.xml.dist
kirby/SECURITY.md

kirby/panel/scripts/*
kirby/panel/src/*
kirby/panel/tests/*
kirby/panel/.env.example
kirby/panel/.gitignore
kirby/panel/.travis.yml
kirby/panel/cypress.json
kirby/panel/package-lock.json
kirby/panel/package.json
kirby/panel/README.md

But as an example I don’t know if inside the panel folder the public folder is needed, as it’s not included within plainkit’s kirby panel folder (only the dist folder is included).

So any help here would be greatly appreciated.

I didn’t even notice there were less files in the plainkit’s kirby folder than there are in the kirby git repo…

FWIW: I have also kirby as a git submodule in my projects, but I don’t “strip” out files as it would have me figuring out if everything which needs to be in will be in upon each submodule update… Too much hassle then gain imho.

Yeah I understand that I may or may not be fighting a loosing battle with trying to slim the kirby folder down, but I can at least do a high level exclusion of the tests folder for example as that’s not needed to run kirby. You can see from my list of excluded files/folder it’s mainly code environment settings, gitignores etc… and tests.

I am just wondering if anyone who works on the kirby repo / plainkit has any insight as to what is needed or not.

Edit: I guess one of the folder I currently have in my list, panel/src, could be needed. So need some clarification I guess.

Everything that’s not in the Plainkit is not needed. /panel/src is definitely not needed. It contains the Vue source code.