www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-3872) Fix Git error messsage for invalid URLs
Date Mon, 22 Aug 2011 18:31:29 GMT

    [ https://issues.apache.org/jira/browse/INFRA-3872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088899#comment-13088899
] 

Paul Joseph Davis commented on INFRA-3872:
------------------------------------------

I was more interested in seeing them while I develop things. They'll eventually get logged
to a file and have better error messages for clients.

> Fix Git error messsage for invalid URLs
> ---------------------------------------
>
>                 Key: INFRA-3872
>                 URL: https://issues.apache.org/jira/browse/INFRA-3872
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Paul Joseph Davis
>
> This is what happens if someone does:
> $ git clone https://git-wip-us.apache.org/repos/asf/couchdb
> $ git push
> Username: 
> Password: 
> Counting objects: 4, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (2/2), done.
> Writing objects: 100% (3/3), 274 bytes, done.
> Total 3 (delta 1), reused 1 (delta 0)
> remote: Traceback (most recent call last):
> remote:   File "hooks/pre-receive", line 13, in <module>
> remote:     import asfgit.hooks.pre_receive as hook
> remote:   File "/usr/local/etc/asfgit-admin/asfgit/hooks/pre_receive.py", line 6, in
<module>
> remote:     import asfgit.auth as auth
> remote:   File "/usr/local/etc/asfgit-admin/asfgit/auth.py", line 4, in <module>
> remote:     import asfgit.cfg as cfg
> remote:   File "/usr/local/etc/asfgit-admin/asfgit/cfg.py", line 24, in <module>
> remote:     repo_name = _repo_name()
> remote:   File "/usr/local/etc/asfgit-admin/asfgit/cfg.py", line 15, in _repo_name
> remote:     raise ValueError("Invalid repository name: %s" % path)
> remote: ValueError: Invalid repository name: couchdb

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message