summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-10-24 05:10:08 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-10-24 05:10:08 -0700
commit9fce5322437e55a6af3185d5c29454b7c70dd64a (patch)
tree898c1e0949966a7e821f79cecedba30b0311672c
parente7cc89379599c1e89d367426b55d57efb1bf3bbe (diff)
downloadpiny-code-9fce5322437e55a6af3185d5c29454b7c70dd64a.tar.gz
piny-code-9fce5322437e55a6af3185d5c29454b7c70dd64a.zip
issue: invalid repository names: new
-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