Project.pm: support orphan project creation
commitf83c58d902c91c5e89f5cc1fa39b1d37f969f922
authorKyle J. McKay <mackyle@gmail.com>
Thu, 10 Nov 2016 01:53:34 +0000 (9 17:53 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 10 Nov 2016 01:53:34 +0000 (9 17:53 -0800)
treefbee962c8430d9a7853cc320c51ba5f01b4cd464
parent72c4147c6c379a570eee2a0468e915abfbe61583
Project.pm: support orphan project creation

An orphan project is a project that is at least two levels deep but for
which there exists no parent project that it's been forked from.

The code already supports this complete with creation of any missing
parent directories if not for some overzealous checking in valid_name.

Therefore add some additional optional options to valid_name and the
ghost functions to a) actually allow orphan project creation to proceed
and b) to allow it to proceed even if subdirectories need to be created.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Project.pm