summaryrefslogtreecommitdiff
path: root/docs/issues/invalid_repository_names.mdwn
blob: 82288075286cb745b70608dfe2e3ab17c61b5b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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