summaryrefslogtreecommitdiff
path: root/docs/issues/invalid_repository_names.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'docs/issues/invalid_repository_names.mdwn')
-rw-r--r--docs/issues/invalid_repository_names.mdwn22
1 files changed, 22 insertions, 0 deletions
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]] <!-- Choose one: open, closed -->
+* Assigned to: [[!taglink jblake]] <!-- Choose one or more: jrayhawk, jblake -->
+* Priority: [[!taglink now]] <!-- Choose one: now, soon, later -->
+* 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