From 9fce5322437e55a6af3185d5c29454b7c70dd64a Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 24 Oct 2011 05:10:08 -0700 Subject: issue: invalid repository names: new --- docs/issues/invalid_repository_names.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/issues/invalid_repository_names.mdwn diff --git a/docs/issues/invalid_repository_names.mdwn b/docs/issues/invalid_repository_names.mdwn new file mode 100644 index 0000000..8228807 --- /dev/null +++ b/docs/issues/invalid_repository_names.mdwn @@ -0,0 +1,22 @@ +* Status: [[!taglink open]] +* Assigned to: [[!taglink jblake]] +* Priority: [[!taglink now]] +* Opened by: jrayhawk + +### Discussion + + testuser@wiki:/srv/rbin$ newrepo 640test + Provide a one-line description to be used in repo listings, the shorter the better: + testing closed repo + Okay! Working, please wait... + Adding user testuser to group git-640test + Adding user iki-640test to group git-640test + Attribute (name) does not pass the type constraint because: That username is not in the correct format for an ikiwiki user. at constructor Piny::User::IkiWiki::new (defined at /usr/share/perl5/Piny/User/IkiWiki.pm line 35) line 17 + Piny::User::IkiWiki::new('Piny::User::IkiWiki', 'name', 'iki-640test') called at /usr/share/perl5/Piny/Repo.pm line 318 + Piny::Repo::rebuild_ikiwiki('Piny::Repo=HASH(0x3ab1e40)') called at /usr/sbin/newrepo line 96 + testuser@wiki:/srv/rbin$ + +Two issues with this: + +* The repo is created even if the Ikiwiki portion doesn't work +* The error message is non-intuitive -- cgit v1.2.3