[rkward-devel] splitting repos?
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon Oct 12 16:40:00 UTC 2015
Hi,
On Mon, 12 Oct 2015 16:16:29 +0200
meik michalke <Meik.Michalke at uni-duesseldorf.de> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20151012/2f200420/attachment.sig>
More information about the rkward-devel
mailing list