Hi, On Mon, 12 Oct 2015 16:16:29 +0200 meik michalke <[email protected]> wrote: > Am Montag, 12. Oktober 2015, 14:54:05 schrieb meik michalke: > > > Not sure, if it helps any, but you might also be interested in > > > scripts/import_external_plugin.sh inside the RKWard repo. > > > > nice, looks like this will do the trick :-) > > trickier than i thought. "--subdirectory-filter" will keep all > history, i.e., allthough you only "see" one plugin they're still all > hidden in the cloned history. if you fetch all plugins individually, > you'd end up with multiple full histories. > > removing them with "--tree-filter" also seems to grow the local > repository, which is a bit counter-intuitive. any ideas?
frankly, I don't recall the details (or where I copied them from ;-)), but have you tried following the procedure exactly as in import_external_plugin.sh? It uses first --tree-filter (with --prune-empty), then --subdirectory-filter after that. Notes: - Make sure you start from a clean repo (best a fresh clone / init). - You must specify both the source path and the target path, or the script will mess up. E.g. git init anova_only cp -a xy/rkward/scripts/import_external_plugins.sh anova_only/scripts cd anova_only scripts/import_external_plugins.sh rk.ANOVA rk.ANOVA Regards Thomas
pgpKhgXsdD_MG.pgp
Description: OpenPGP digital signature
_______________________________________________ rkward-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/rkward-devel
